@font-face {
  font-family: 'Outfit';
  src: url('./lib/fonts/outfit-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('./lib/fonts/outfit-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./lib/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./lib/fonts/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./lib/fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-dark: #07060a;
  --bg-surface: rgba(15, 10, 15, 0.4);
  --bg-glass: rgba(22, 14, 26, 0.42);
  --bg-glass-hover: rgba(44, 24, 44, 0.55);
  --border-glass: rgba(255, 255, 255, 0.14);
  /* 万镜一刻式玻璃质感:磨砂 + 半透明内发光描边(inset 白光)+ 圆角 */
  --glass-blur: blur(18px) saturate(1.5);
  --glass-rim: inset 0 0 2px 1px rgba(255,255,255,0.18), inset 0 1px 0 0 rgba(255,255,255,0.16);
  --glass-shadow: inset 0 0 2px 1px rgba(255,255,255,0.18), inset 0 1px 0 0 rgba(255,255,255,0.16), 0 10px 40px rgba(0,0,0,0.30);
  --glass-radius: 14px;
  
  --brand-main: #ff2e7e;
  --brand-dim: rgba(255, 46, 126, 0.2);
  --brand-duotone-1: #ff2e7e;
  --brand-duotone-2: #c81d5e;
  
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dark: #000000;
  
  --font-heading: 'Space Grotesk', 'Outfit', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease-out;

  /* Spotlight vars */
  --mx: 50%;
  --my: 50%;
}

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

html {
  /* 实色底只放 html:它是视口最底层,位于负 z-index 的 #fluid-bg 之下。
     body 绝不能有实色背景——按 CSS 绘制顺序,普通块级元素的背景画在负 z-index 层之上,会把流体 canvas 整个盖住(=之前"WebGL 消失"的真因)。 */
  background-color: #07060a;
}
html, body {
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fluid BG & Fallback */
#fluid-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  /* 玫粉渐变底:上部玫粉、向下转黑(巨日禄式"上粉下暗"),透明流体在其上流动;固定渐变天然不会过曝 */
  background: radial-gradient(ellipse 100% 80% at 50% 18%, #5a1236 0%, #2a0a1c 42%, #0c060a 78%);
}
@keyframes meshAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.fluid-fallback {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(-45deg, #07060a, #1a0812, #2c0b1d, #07060a);
  background-size: 400% 400%;
  animation: meshAnimation 15s ease infinite;
}

/* Lenis */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Removed Custom Cursor & Spotlight */

/* Scroll Progress */
#scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background-color: var(--brand-main);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 10000;
}

/* Navigation */
nav {
  position: fixed;
  top: 0; width: 100%;
  padding: 2rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9500;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}
.logo-badge {
  width: 40px; height: 40px;
  filter: drop-shadow(0 3px 12px rgba(255, 46, 126, 0.4));
}
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word small {
  font-size: 0.5rem; letter-spacing: 0.24em; color: var(--text-muted);
  margin-top: 4px; text-transform: none; font-weight: 500;
}
.mask-logo { letter-spacing: 0.3em; }
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; width: 100%; height: 1px;
  background-color: var(--brand-main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
/* 移动端汉堡按钮(桌面隐藏,≤768 显示) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.3rem;
  line-height: 0;
  z-index: 9600;
}
.nav-toggle i { width: 30px; height: 30px; }

/* Hero Section */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 4vw;
}
/* 提升特异性,避免被同时挂的 .cinematic-wrapper(position:relative)覆盖,
   否则 hero-media 退化成半宽 flex 子项,媒体/兜底渐变铺不满整屏 */
.hero-section .hero-media {
  position: absolute;
  top: -5%; left: -5%;
  width: 110%; height: 110%; /* Buffer for Parallax and Ken Burns */
  border-radius: 0; /* 取消 .cinematic-wrapper 的圆角,保证全幅 */
  z-index: 1;
}
.hero-media img, .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* 不做任何局部压暗:局部压暗会随滚动产生断层 */
  background: none;
  pointer-events: none;
}
/* 固定均匀薄暗罩:整屏亮度一致,既保证文字可读,又不会在屏与屏之间出现断层 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(7, 6, 10, 0.30);
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 2rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 8vw, 9rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.text-duotone {
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(255, 46, 126, 0.3);
}
.hero-subtitle {
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  color: var(--text-muted);
  max-width: 600px;
}

/* 首页 Hero:左 蜜獾 logo 主视觉 + 右 品牌精神 */
.hero-home { align-items: center; }
.hero-home .hero-content { padding-bottom: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}
.hero-badge-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 6vh, 4.5rem);
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-badge-glow {
  position: absolute;
  top: 36%; left: 50%;
  width: 135%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,46,126,0.45) 0%, rgba(157,75,224,0.20) 38%, transparent 70%);
  filter: blur(22px);
  z-index: -1;
  animation: badge-breathe 4.8s ease-in-out infinite;
}
.hero-badge-stage {
  position: relative;
  width: clamp(170px, 22vw, 320px);
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 10px 34px rgba(255,46,126,0.42));
  animation: badge-float 4.8s ease-in-out infinite;
  will-change: transform;
}
.hero-badge-logo { display: block; width: 100%; height: 100%; }
.hero-badge-word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.18em;
  text-align: center;
  line-height: 1;
  background: linear-gradient(110deg, #3a6bff, #9d4be0, #ff2e7e, #5a8cff, #3a6bff);
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: word-flow 9s linear infinite;
}
@keyframes word-flow {
  from { background-position: 0% 50%; }
  to { background-position: 280% 50%; }
}
.hero-badge-word span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  background: none;
  margin-top: 0.55rem;
  font-weight: 400;
}
@keyframes badge-breathe {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.03); }
}
.hero-home .hero-title { font-size: clamp(3rem, 5.5vw, 5.5rem); margin-bottom: 1.5rem; animation: title-breathe 4.8s ease-in-out infinite; }
@keyframes title-breathe {
  0%, 100% { text-shadow: 0 0 28px rgba(255,46,126,0.22); }
  50% { text-shadow: 0 0 56px rgba(255,46,126,0.52); }
}
.hero-spirit {
  font-size: clamp(1.05rem, 1.35vw, 1.5rem);
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.4rem;
}

/* 首页 Hero 数据看板(口号下方,3×2 紧凑,左对齐,第一眼吸睛) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.7rem 2.6rem;
  margin-top: 2.6rem;
  justify-content: start;
}
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
  line-height: 1;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}
/* 左侧字标中文全称(继承字标渐变流动) */
.badge-cn {
  display: block;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.16;
  margin-bottom: 0.3rem;
}
/* 公司简介区精神引言(原 heroIntro 下移整合,做引言大字) */
.story-lead {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
@media (max-width: 820px) {
  .hero-stats { justify-content: center; gap: 1.4rem 1.8rem; }
  .stat-num { font-size: clamp(1.4rem, 5vw, 2rem); }
}
@media (max-width: 460px) {
  .hero-stats { grid-template-columns: repeat(2, auto); }
}

/* (Hero CTA 按钮 + 业务标签样式已随回退移除) */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: var(--glass-rim);
  transition: all var(--transition-base);
}
.hero-cta:hover {
  border-color: var(--brand-main);
  color: var(--brand-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,46,126,0.32);
}
.hero-cta i { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .hero-badge-glow, .hero-badge-stage, .hero-badge-word, .hero-home .hero-title { animation: none; }
}

/* 核心团队卡片(图标 + 玻璃,替代实心字母头像,字体重排) */
.team-card { text-align: center; padding: 2.6rem 1.8rem 2.4rem; }
.team-icon {
  width: 88px; height: 88px; margin: 0 auto 1.6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,46,126,0.30), transparent 60%),
    radial-gradient(circle at 70% 78%, rgba(90,140,255,0.22), transparent 62%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 0 30px rgba(255,46,126,0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.team-icon i {
  width: 36px; height: 36px;
  color: #fff; stroke-width: 1.5;
  filter: drop-shadow(0 0 10px rgba(255,46,126,0.55));
}
.team-name {
  font-family: var(--font-heading);
  font-size: 1.28rem; font-weight: 700;
  letter-spacing: 0.04em; line-height: 1.2;
  margin-bottom: 0.7rem;
}
.team-role {
  color: var(--brand-main);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}
.team-bio {
  color: var(--text-muted);
  font-size: 0.92rem; line-height: 1.75;
  max-width: 26ch; margin: 0 auto;
}
@media (max-width: 820px) {
  .hero-home { align-items: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; justify-items: center; }
  .hero-badge-logo { width: clamp(140px, 42vw, 220px); }
  .hero-spirit { margin-left: auto; margin-right: auto; }
}

/* Cinematic Image & Duotone System */
.cinematic-wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface);
  border-radius: 4px;
}
.cinematic-media {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition-base);
  filter: contrast(1.1) saturate(0.8);
}
.duotone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-duotone-2) 0%, var(--brand-duotone-1) 100%);
  mix-blend-mode: soft-light;
  opacity: 0.8;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 2;
}
/* Film grain and vignette */
.cinematic-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E');
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}
.cinematic-wrapper:hover .cinematic-media {
  transform: scale(1.05);
  filter: contrast(1) saturate(1);
}
.cinematic-wrapper:hover .duotone-overlay {
  opacity: 0.2;
}

/* Masonry Gallery (Works) */
.masonry-grid {
  column-count: 3;
  column-gap: 2rem;
  padding: 2vw 4vw 8vw 4vw; /* tightened top padding */
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.masonry-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  text-decoration: none;
  color: var(--text-main);
}
.masonry-card .cinematic-wrapper {
  width: 100%; height: 100%;
}
.masonry-card-info {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 2rem;
  z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}
.masonry-card:hover .masonry-card-info {
  opacity: 1;
  transform: translateY(0);
}
.masonry-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Works 分类分区(信息流/AI/影视剧):每类一条横向自动滚动轨道,适应大量作品 */
.works-cat { padding: 4vh 4vw 7vh 4vw; max-width: 1500px; margin: 0 auto; }
.works-cat-head {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 2rem; padding-left: 1rem;
  border-left: 4px solid var(--brand-main);
}
.works-cat-title { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.works-cat-count { color: var(--text-muted); font-size: 0.95rem; }

/* 横向自动滚动轨道:向右滑动、hover 整行暂停;两侧对称渐隐把可视区限定在中间 */
.works-row {
  position: relative;
  overflow: hidden;
  padding: 0.6rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.works-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation-name: works-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
@keyframes works-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.works-row:hover .works-track { animation-play-state: paused; }
.works-track .masonry-item {
  flex: 0 0 auto;
  width: clamp(210px, 18vw, 280px);
  margin-bottom: 0;
}

/* AI 子分类:国内 / 海外 / 广告 */
.works-subcat { margin-top: 2.4rem; }
.works-subcat-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.6rem; }
.works-subcat-head i { width: 18px; height: 18px; color: var(--brand-main); }
.works-subcat-title { font-size: 1.15rem; color: var(--text-main); font-weight: 600; letter-spacing: 0.02em; }

@media (prefers-reduced-motion: reduce) {
  .works-track { animation: none; }
  .works-row { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 600px) {
  .works-track .masonry-item { width: 150px; }
}

/* 信息流卡片:竖屏短视频封面用 9:16(其余作品保持全局 2:3) */
.works-track .masonry-item.is-portrait .masonry-card { aspect-ratio: 9 / 16; }
/* 视频角标:提示该作品点进去可播放 */
.masonry-card .play-badge {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  z-index: 11;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 8, 16, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}
.masonry-card .play-badge i { width: 16px; height: 16px; fill: currentColor; }
.masonry-card:hover .play-badge { transform: scale(1.12); background: var(--brand-main); border-color: transparent; }

/* 作品详情页:竖屏视频「模糊背景 + 居中播放」舞台(横向 hero 不裁切竖屏内容) */
.work-video-stage {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #05040a;
  display: flex; align-items: flex-start; justify-content: center;
}
.work-video-stage .work-video-bg {
  position: absolute; inset: -6%;
  width: 112%; height: 112%;
  object-fit: cover;
  filter: blur(34px) brightness(0.45) saturate(1.2);
  transform: scale(1.04);
}
.work-video-stage .work-video-fg {
  position: relative; z-index: 2;
  height: 88%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-top: 2vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  background: #000;
}
@media (max-width: 820px) {
  .work-video-stage .work-video-fg { height: 76%; }
}

/* 作品详情页(竖屏视频):左右分栏 = 左手机相框播放 + 右信息面板 */
.work-split {
  min-height: 100vh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 15vh 6vw 10vh;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  justify-content: center;
}
.work-phone {
  position: relative;
  height: min(76vh, 660px);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-glass);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04),
              0 34px 90px rgba(0, 0, 0, 0.6),
              0 0 70px rgba(255, 46, 126, 0.20);
}
.work-phone-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.work-split-info { max-width: 540px; }
.work-eyebrow {
  color: var(--brand-main);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.work-split-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 2.4rem;
}
.work-meta-rows {
  display: flex; flex-direction: column; gap: 1.3rem;
  margin-bottom: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-glass);
}
.work-meta-row { display: flex; flex-direction: column; gap: 0.35rem; }
.work-meta-label {
  color: var(--brand-main);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.work-meta-val { font-size: 1.2rem; color: var(--text-main); }
.work-split-nav { display: flex; gap: 2.4rem; }
.work-split-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--text-muted); text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition-base);
}
.work-split-link:hover { color: var(--brand-main); }
.work-split-link i { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .work-split {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2.6rem;
    padding: 13vh 6vw 8vh;
  }
  .work-phone { height: min(68vh, 540px); }
  .work-split-info { text-align: center; max-width: 100%; }
  .work-meta-rows { align-items: center; }
  .work-split-nav { justify-content: center; }
}

/* 主营业务:玻璃图标卡列表(替代满屏 split-screen) */
.service-list {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4vh 4vw 2vh;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.service-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.4rem 2.8rem;
}
.service-row-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}
.service-num {
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #ffffff 20%, var(--brand-main) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,46,126,0.30), transparent 65%),
    radial-gradient(circle at 75% 80%, rgba(90,140,255,0.20), transparent 65%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 0 24px rgba(255,46,126,0.20);
}
.service-icon i {
  width: 30px; height: 30px; color: #fff; stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(255,46,126,0.5));
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.55rem; font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}
.service-desc {
  color: var(--text-muted);
  font-size: 1rem; line-height: 1.85;
}
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 1.3rem; padding: 2rem; }
  .service-row-aside { flex-direction: row; align-items: center; gap: 1.4rem; }
  .service-num { font-size: 2.4rem; }
}

/* Split Screen (Services) */
.split-screen {
  display: flex;
  min-height: 100vh;
  padding: 8vw 4vw;
  align-items: center;
  gap: 4vw;
}
.split-screen:nth-child(even) {
  flex-direction: row-reverse;
}
.split-content {
  flex: 1;
}
.split-number {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-glass);
  line-height: 1;
  margin-bottom: 2rem;
}
.split-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.split-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.split-media {
  flex: 1;
  aspect-ratio: 4/3;
}

/* Contact Bento */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 12vw 4vw;
}
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: url(#glass-distortion) blur(3px) saturate(1.6);
  box-shadow: var(--glass-shadow);
  padding: 3rem;
  border-radius: var(--glass-radius);
  text-decoration: none;
  color: var(--text-main);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(255,255,255,0.28);
  box-shadow: inset 0 0 3px 1px rgba(255,255,255,0.26), inset 0 1px 0 0 rgba(255,255,255,0.20), 0 16px 52px rgba(0,0,0,0.36);
  transform: translateY(-5px);
}

/* 玻璃边框统一套用到媒体卡(作品/服务)与合作平台胶囊 —— 与卡片同质感 */
.masonry-card .cinematic-wrapper,
.split-media {
  border-radius: var(--glass-radius);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-rim);
}
#partners-container span {
  box-shadow: var(--glass-rim);
  -webkit-backdrop-filter: blur(12px) saturate(1.4) !important;
  backdrop-filter: url(#glass-distortion) blur(3px) saturate(1.4) !important;
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Entry Sequence Mask */
#entry-mask {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}
.mask-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--brand-main);
  opacity: 1;
  transition: opacity 0.5s;
}
body.is-loaded #entry-mask {
  transform: translateY(-100%);
}
body.is-loaded .mask-logo {
  opacity: 0;
}

/* Fallback Media Placeholder & Ken Burns Animation */
@keyframes kenBurnsSlow {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.media-fallback {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-dark), var(--brand-duotone-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dim);
  animation: kenBurnsSlow 30s ease-in-out infinite;
  z-index: 0;
}
.media-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E');
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.media-fallback i[data-lucide] {
  width: 64px; height: 64px;
  opacity: 0.5;
  z-index: 1;
}

/* Responsive & Accessibility */
@media (max-width: 768px) {
  .masonry-grid { column-count: 1; }
  .split-screen { flex-direction: column !important; padding-top: 120px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-home .hero-title { font-size: clamp(2rem, 7.5vw, 3rem); }
  nav { padding: 1.5rem 2rem; }
  /* 汉堡菜单:点击展开的下拉面板 */
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem); right: 1.2rem;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.3rem 1.7rem;
    background: rgba(10, 8, 16, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
    min-width: 190px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
}

@media (pointer: coarse) {
  /* Fluid handles touch degradation nicely now, CSS handles hover */
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal-up {
    opacity: 1; transform: none;
  }
}
