/* ═══════════════════════════════════════════
   MAIN SITE STYLES
   ═══════════════════════════════════════════ */

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: color 0.5s ease, background 0.5s ease;
}
/* ── Noise texture overlay (质感层) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.035;
  background-image: var(--noise-url);
  background-repeat: repeat;
  background-size: 256px;
  mix-blend-mode: overlay;
}
/* 开屏期间禁止滚动 */
body.entrance-active {
  overflow: hidden;
  height: 100vh;
}

::selection { background: var(--accent); color: var(--surface); }
a { color: inherit; text-decoration: none; }

/* ── 鼠标跟随光晕 ── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-20) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
  will-change: left, top;
}

/* ── 全局色彩覆盖层 (由 JS applyColor 切换 hue) ── */
.color-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9996;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background: radial-gradient(ellipse 60% 60% at 25% 50%, hsl(var(--accent-hue), 70%, 60%), transparent);
  transition: opacity 0.8s ease, background 0.8s ease;
}

/* ── 轨道边框自适应 ── */
.about-orbit, .about-orbit-dashed, .contact-orbit, .contact-orbit-2 {
  border-color: hsl(var(--accent-hue), 40%, 70%) !important;
}

/* ── 拉绳无障碍键盘聚焦视觉反馈 ── */
.lamp-cord-handle:focus-visible circle {
  stroke: var(--accent);
  stroke-width: 2px;
  filter: drop-shadow(0 0 8px var(--accent));
  outline: none;
}

/* ── 文字微光 shimmer ── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer {
  background: linear-gradient(90deg, var(--fg) 40%, var(--accent) 50%, var(--fg) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

/* ── 统计数字滚动容器 ── */
.stat-num[data-target] {
  font-variant-numeric: tabular-nums;
}

/* ── Grid pattern underlay ── */
.bg-blobs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,20,19,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,19,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  z-index: 0;
}

/* ── Animated background blobs ── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.14;
  will-change: transform;
}
.bg-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -10%;
  left: -5%;
  animation: blob-drift-1 25s ease-in-out infinite alternate;
}
.bg-blob-2 {
  width: 500px;
  height: 500px;
  background: #38bdf8;
  top: 40%;
  right: -10%;
  animation: blob-drift-2 30s ease-in-out infinite alternate;
}
.bg-blob-3 {
  width: 450px;
  height: 450px;
  background: #a78bfa;
  bottom: -5%;
  left: 30%;
  animation: blob-drift-3 20s ease-in-out infinite alternate;
}
.bg-blob-4 {
  width: 380px;
  height: 380px;
  background: #34d399;
  top: 60%;
  left: -8%;
  animation: blob-drift-4 22s ease-in-out infinite alternate;
}

@keyframes blob-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(80px, 60px) scale(1.1); }
  66%  { transform: translate(-40px, 120px) scale(0.95); }
  100% { transform: translate(60px, -30px) scale(1.05); }
}
@keyframes blob-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-70px, -50px) scale(1.08); }
  66%  { transform: translate(50px, -100px) scale(0.9); }
  100% { transform: translate(-30px, 70px) scale(1.1); }
}
@keyframes blob-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -80px) scale(1.12); }
  66%  { transform: translate(-90px, 30px) scale(0.92); }
  100% { transform: translate(40px, 60px) scale(1.05); }
}
@keyframes blob-drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(50px, -60px) scale(1.08); }
  66%  { transform: translate(-30px, 80px) scale(0.95); }
  100% { transform: translate(70px, 40px) scale(1.1); }
}

/* ── Floating particles ── */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particle-float linear infinite;
  box-shadow: 0 0 6px currentColor;
}
.bg-particle:nth-child(3n)   { background: #38bdf8; }
.bg-particle:nth-child(5n)   { background: #a78bfa; }
.bg-particle:nth-child(7n)   { background: #34d399; }
@keyframes particle-float {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.2; }
  50%  { opacity: 0.3; }
  90%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1.2); }
}

/* ── Grain overlay (breathing, merged into body::before for performance) ── */

/* 前庭障碍用户保护：禁用所有动画和过渡 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
  .entrance { display: none !important; }
  .entrance.done { transition: none !important; }
  .hero-orbit, .hero-arc, .hero-sat.show,
  .about-orbit, .about-orbit-dashed,
  .contact-orbit, .contact-orbit-2,
  .entrance-orbit, .entrance-arc, .entrance-arc-2,
  .bg-blob, .bg-particle, body::after {
    animation: none !important;
  }
  .bg-blobs, .bg-particles { display: none; }
  .about-stats .stat,
  .contact-links .contact-pill {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════
   CINEMATIC OPENING
═══════════════════════════════════════════ */
.entrance {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}
.entrance.done {
  opacity: 0;
  transform: scale(1.12);
  filter: blur(8px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  pointer-events: none;
}

/* Nav 隐藏状态：用 class 控制，避免内联 style 覆盖 CSS transition */
.nav.hidden {
  transform: translateX(-50%) translateY(-80px);
}

.entrance-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: var(--noise-url);
  background-size: 200px;
}

.entrance-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(243,240,238,0.05);
  opacity: 0;
  transition: opacity 2s var(--ease);
}
.entrance-orbit.show { opacity: 1; }
.orbit-1 { width: 900px; height: 900px; transition-delay: 0.1s; animation: orbit-cw 80s linear infinite; }
.orbit-2 { width: 620px; height: 620px; border-color: rgba(243,240,238,0.035); transition-delay: 0.3s; animation: orbit-ccw 55s linear infinite; }
.orbit-3 { width: 340px; height: 340px; border-color: rgba(243,240,238,0.025); transition-delay: 0.5s; animation: orbit-cw 40s linear infinite; }

.entrance-arc {
  position: absolute;
  width: 1100px;
  height: 500px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  opacity: 0;
  transition: opacity 2s var(--ease) 0.4s;
  animation: entrance-arc-rotate 45s linear infinite;
}
.entrance-arc.show { opacity: 0.08; }

.entrance-arc-2 {
  position: absolute;
  width: 700px;
  height: 350px;
  border: 1px solid var(--accent-light);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  opacity: 0;
  transition: opacity 2s var(--ease) 0.6s;
  animation: entrance-arc2-rotate 60s linear infinite;
}
.entrance-arc-2.show { opacity: 0.05; }

@keyframes entrance-arc-rotate {
  from { transform: rotate(-18deg); }
  to   { transform: rotate(342deg); }
}
@keyframes entrance-arc2-rotate {
  from { transform: rotate(30deg); }
  to   { transform: rotate(-330deg); }
}

.entrance-counter {
  position: absolute;
  top: 40px;
  right: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(243,240,238,0.12);
  opacity: 0;
  transition: opacity 1s ease 0.8s;
}
.entrance-counter.show { opacity: 1; }

.entrance-word {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg-light);
}
.entrance-word .ew {
  display: inline-block;
}
.entrance-word .ew > span {
  display: inline-block;
}
.entrance-word .dot { color: var(--accent); }
/* 开屏文字光晕 */
.entrance-word::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, var(--accent-glow-12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: entrance-glow 3s ease-in-out infinite alternate;
}
@keyframes entrance-glow {
  0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}
/* 故障闪烁 keyframes */
@keyframes glitch-1 {
  0%   { opacity: 1; transform: translate(0, 0); }
  20%  { opacity: 0.8; transform: translate(-2px, 1px); }
  40%  { opacity: 1; transform: translate(1px, -1px); }
  60%  { opacity: 0.9; transform: translate(0, 2px); }
  80%  { opacity: 1; transform: translate(-1px, 0); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes glitch-color {
  0%   { text-shadow: -2px 0 #f37338, 2px 0 #38bdf8; }
  50%  { text-shadow: 2px 0 #f37338, -2px 0 #38bdf8; }
  100% { text-shadow: 0 0 transparent; }
}

.entrance-sub {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(243,240,238,0.18);
  margin-top: 40px;
  opacity: 0;
  transition: opacity 1s ease 1.2s;
}
.entrance-sub.show { opacity: 1; }

.entrance-line {
  position: relative;
  z-index: 2;
  width: 0;
  height: 1px;
  background: var(--accent);
  margin-top: 28px;
  transition: width 1.2s var(--ease) 0.8s;
}
.entrance-line.show { width: 80px; }

.entrance-cta {
  position: absolute;
  bottom: 64px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(243,240,238,0.15);
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.8s ease 2s, color 0.3s;
  padding: 12px 24px;
}
.entrance-cta.show { opacity: 1; }
.entrance-cta:hover { color: rgba(243,240,238,0.45); }

.entrance-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  transition: width 4.5s linear;
}
.entrance-progress.running { width: 100%; }

/* ═══════════════════════════════════════════
   FLOATING NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  z-index: 100;
  background: rgba(252,251,250,0.65);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid hsl(var(--accent-hue), 40%, 80%, 0.4);
  border-radius: 999px;
  padding: 14px 44px;
  display: flex;
  align-items: center;
  gap: 52px;
  box-shadow: 0 4px 32px rgba(20,20,19,0.04), 0 0 0 1px rgba(255,255,255,0.1) inset;
  opacity: 0;
  transition: all 0.7s var(--ease);
}
.nav.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo .logo-expanded {
  max-width: 0;
  opacity: 0;
  transition: max-width 0.4s var(--ease), opacity 0.3s var(--ease);
  display: inline-block;
  white-space: nowrap;
}
.nav-logo:hover .logo-expanded {
  max-width: 50px;
  opacity: 1;
}
.nav-logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--bounce);
  position: relative;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.4s var(--bounce);
}
.nav-links a:hover::after { width: 100%; }

/* ── Nav progress bar ── */
.nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 0 0 999px 999px;
  width: 0;
  transition: width 0.15s linear;
  pointer-events: none;
}

/* ── Active nav link (current section) ── */
.nav-links a.active {
  color: var(--fg);
}
.nav-links a.active::after {
  width: 100%;
  background: var(--accent);
}

/* ═══════════════════════════════════════════
   HERO — FULL DRAMA
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 120px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, var(--accent-glow) 0%, transparent 60%);
  transition: background 0.8s ease;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1100px;
  width: 100%;
}

/* ── 台灯 ── */
.lamp-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lamp-svg {
  width: 180px;
  height: auto;
  transition: filter 0.5s ease;
}
.lamp-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 12px;
  opacity: 0.6;
  animation: hint-bounce 2s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
/* 吊灯始终亮着 */
.lamp-shade {
  fill: hsl(var(--accent-hue), 50%, 85%);
  transition: fill 0.5s ease;
}
.lamp-bulb {
  fill: hsl(var(--accent-hue), 80%, 70%);
  transition: fill 0.5s ease;
}
.lamp-bulb-glow {
  opacity: 0.5;
  transition: opacity 0.5s ease;
}
.lamp-glow {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.lamp-cone {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.lamp-svg {
  filter: drop-shadow(0 12px 24px hsl(var(--accent-hue), 80%, 50%, 0.12));
  transition: filter 0.5s ease;
}
/* 眼睛向上看 */
.lamp-eyes circle:nth-child(1) { transform: translateY(-1.5px); }
.lamp-eyes circle:nth-child(2) { transform: translateY(-1.5px); }
.lamp-eyes circle:nth-child(3) { transform: translateY(-1.5px); }
.lamp-eyes circle:nth-child(4) { transform: translateY(-1.5px); }
/* 眨眼 */
.lamp-blink .lamp-eyelid { animation: blink 0.15s ease-in-out; }
@keyframes blink { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
/* 拉绳 */
.lamp-cord-handle { cursor: grab; }
.lamp-cord-handle:active { cursor: grabbing; }

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  animation: orbit-spin 60s linear infinite;
}
.hero-orbit-1 { width: 960px; height: 960px; opacity: 0.2; animation-duration: 80s; }
.hero-orbit-2 { width: 660px; height: 660px; opacity: 0.35; animation-duration: 55s; animation-direction: reverse; }
.hero-orbit-3 { width: 360px; height: 360px; opacity: 0.15; border-style: dashed; animation-duration: 40s; }

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-arc {
  position: absolute;
  width: 1200px;
  height: 540px;
  border: 1.5px solid var(--accent-light);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))) rotate(-14deg);
  opacity: 0.08;
  animation: arc-drift 45s ease-in-out infinite alternate;
}

@keyframes arc-drift {
  from { transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))) rotate(-14deg); }
  to   { transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))) rotate(-6deg); }
}

.hero-sat {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(20,20,19,0.06);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-sat.show { opacity: 1; animation: sat-float 6s ease-in-out infinite; }
.hero-sat svg { width: 18px; height: 18px; color: var(--fg); }
.hero-sat-1 { top: 14%; right: 18%; animation-delay: 0s; }
.hero-sat-2 { bottom: 18%; left: 16%; animation-delay: -3s; }

@keyframes sat-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  flex: 1;
}
/* Hero 光晕 */
.hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow-08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: hero-glow 6s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 140px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--fg);
  margin-bottom: 36px;
  position: relative;
}
.hero-title .period {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .ghost {
  display: block;
  font-size: 0.35em;
  letter-spacing: -0.02em;
  font-weight: 400;
  background: linear-gradient(90deg, var(--border), var(--muted-light), var(--border));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 12px;
  line-height: 1.3;
  animation: ghost-shimmer 5s ease-in-out infinite;
}
@keyframes ghost-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--surface);
  background: var(--fg);
  border: 1.5px solid var(--fg);
  border-radius: 20px;
  padding: 14px 36px;
  cursor: pointer;
  transition: all 0.4s var(--bounce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px hsl(var(--accent-hue), 80%, 50%, 0.2);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  background-size: 250% 250%;
  transition: background-position 0.5s var(--bounce);
  background-position: 100% 100%;
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 24px var(--accent-glow-25);
  transform: translateY(-2px) scale(1.03);
}
.btn-primary:hover::after { background-position: 0% 0%; }
.btn-primary svg { width: 15px; height: 15px; }

.btn-secondary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 14px 36px;
  cursor: pointer;
  transition: all 0.4s var(--bounce);
}
.btn-secondary:hover { border-color: var(--fg); background: var(--surface); transform: scale(1.04); }

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.7; } }
.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--border);
}

/* ═══════════════════════════════════════════
   ABOUT — SPLIT WITH DEPTH
═══════════════════════════════════════════ */
.about {
  padding: 160px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: center;
  position: relative;
}
/* 区域顶部渐变分割线 */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
/* About 光晕 */
.about-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow-06) 0%, transparent 70%);
  pointer-events: none;
  animation: about-glow 5s ease-in-out infinite alternate;
}
@keyframes about-glow {
  0%   { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}
.about-circle {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--border) 0%, #c8c2ba 100%);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(20,20,19,0.1), 0 0 0 1px rgba(255,255,255,0.15) inset;
  transition: transform 0.5s var(--bounce), box-shadow 0.5s var(--bounce);
}
@media (hover: hover) {
  .about-circle:hover {
    transform: scale(1.06);
    box-shadow: 0 24px 72px rgba(20,20,19,0.15), 0 0 0 1px rgba(255,255,255,0.2) inset, 0 0 40px var(--accent-glow-08);
  }
  .about-circle:hover .about-circle-inner {
    transform: scale(1.06);
    box-shadow: 0 24px 64px rgba(20,20,19,0.12), 0 0 30px var(--accent-glow);
  }
}
/* 装饰环 */
.about-ring-svg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  animation: about-ring-spin 20s linear infinite;
  pointer-events: none;
}
@keyframes about-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* 脉冲点 */
.about-pulse {
  animation: about-pulse-glow 2.5s ease-in-out infinite;
}
@keyframes about-pulse-glow {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.8; }
}
.about-circle-letter {
  font-family: var(--font-display);
  font-size: 130px;
  font-weight: 300;
  color: var(--muted);
  opacity: 0.4;
  position: relative;
  z-index: 2;
}
.about-orbit {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid var(--border);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  opacity: 0.25;
  animation: orbit-spin 70s linear infinite;
}
.about-orbit-dashed {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px dashed var(--border);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  opacity: 0.12;
  animation: orbit-spin 90s linear infinite reverse;
}
.about-sat {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 6px 24px rgba(20,20,19,0.06);
  bottom: -10px;
  right: 16px;
  display: grid;
  place-items: center;
  z-index: 3;
}
.about-sat svg { width: 16px; height: 16px; color: var(--fg); }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px hsl(var(--accent-hue), 80%, 50%, 0.5);
  animation: dot-blink 3s ease-in-out infinite;
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px hsl(var(--accent-hue), 80%, 50%, 0.5); }
  50%      { opacity: 0.5; box-shadow: 0 0 6px hsl(var(--accent-hue), 80%, 50%, 0.25); }
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin-bottom: 32px;
}

.about-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-stats .stat {
  flex: 1;
  min-width: 0;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--fg) 0%, var(--fg-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-num .suffix {
  font-size: 0.45em;
  margin-left: 2px;
  font-weight: 400;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════
   CINEMA: 滚动驱动电影式叙事
═══════════════════════════════════════════ */
.cinema {
  position: relative;
}
.scene {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}
.scene-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 0;
}
/* 偶数场景微调底色（不深色，只是稍有区分） */
.scene:nth-child(even) .scene-bg {
  background: #ede9e3;
  background-image: radial-gradient(ellipse 50% 50% at 50% 50%, hsl(var(--accent-hue), 60%, 50%, 0.06) 0%, transparent 60%);
}
.scene-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  width: 100%;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.scene.active .scene-content {
  opacity: 1;
  transform: translateY(0);
}
.scene-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.scene-eyebrow .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.scene-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 16px;
}
.scene-title .period {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scene-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
}
.scene-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.scene-heading .period {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 轨道装饰 ── */
.scene-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  opacity: 0.25;
  top: 50%;
  left: 50%;
  z-index: 1;
  pointer-events: none;
}
.scene-orbit-1 { width: 500px; height: 500px; margin: -250px 0 0 -250px; animation: orbit-cw 60s linear infinite; }
.scene-orbit-2 { width: 340px; height: 340px; margin: -170px 0 0 -170px; animation: orbit-ccw 40s linear infinite; border-style: dashed; }

/* ── 镜头2：计数器 ── */
.scene-counters {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.scene-counter {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.scene-counter-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--fg), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.scene-counter-num .suffix {
  font-size: 0.45em;
  margin-left: 2px;
  font-weight: 400;
}
.scene-counter-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-top: 8px;
}

/* ── 镜头3：分栏 ── */
.scene-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-top: 16px;
}
.scene-model {
  display: flex;
  align-items: center;
  gap: 16px;
}
.scene-model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  flex: 1;
}
.scene-model-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow-12);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.scene-model-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.scene-model-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}
.scene-model-connector {
  flex-shrink: 0;
  width: 48px;
  color: var(--accent);
  opacity: 0.4;
}
.scene-model-connector svg { width: 48px; height: 24px; }
.scene-stat-row {
  margin-bottom: 24px;
}
.scene-stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 4px;
}
.scene-stat-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}

/* ── 镜头4：策略网格 ── */
.scene-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.scene-strategy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.scene.active .scene-strategy-card {
  opacity: 1;
  transform: translateY(0);
}
.scene.active .scene-strategy-card:nth-child(1) { transition-delay: 0.1s; }
.scene.active .scene-strategy-card:nth-child(2) { transition-delay: 0.25s; }
.scene.active .scene-strategy-card:nth-child(3) { transition-delay: 0.4s; }
.scene-strategy-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 12px;
}
.scene-strategy-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.scene-strategy-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}

/* ── 镜头5：最终大数字 ── */
.scene-final-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 300;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: final-shimmer 4s ease-in-out infinite;
  font-variant-numeric: tabular-nums;
}
@keyframes final-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.scene-final-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--fg);
  margin-top: 12px;
}
.scene-final-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}
/* 最终数字光晕 */
.scene-final .scene-content::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow-12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: final-glow 3s ease-in-out infinite alternate;
}
@keyframes final-glow {
  0%   { opacity: 0.4; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* ── 响应式 ── */
@media (max-width: 768px) {
  .scene { min-height: 70vh; padding: 40px 24px; }
  .scene-counters { flex-direction: column; gap: 32px; }
  .scene-split { grid-template-columns: 1fr; gap: 32px; }
  .scene-model { flex-direction: column; }
  .scene-model-connector { transform: rotate(90deg); }
  .scene-strategy-grid { grid-template-columns: 1fr; }
}
.marquee-section {
  padding: 96px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(243,240,238,0.5) 50%, var(--bg) 100%);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 24s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--border);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 56px;
}
.marquee-item .sep {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
}

/* ═══════════════════════════════════════════
   PHILOSOPHY — QUOTE SECTION
═══════════════════════════════════════════ */
.philosophy {
  padding: 160px 40px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--fg);
  position: relative;
}
/* Philosophy word-by-word reveal */
.philosophy-quote .pw {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.philosophy.vis .pw {
  opacity: 1;
  transform: translateY(0);
}
.philosophy-quote em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.philosophy-attr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 36px;
}

/* ═══════════════════════════════════════════
   CONTACT — CENTERED WITH ORBIT
═══════════════════════════════════════════ */
.contact {
  padding: 160px 40px 200px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, var(--accent-glow-03) 0%, transparent 60%);
}
.contact-orbit {
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid var(--border);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  opacity: 0.12;
  animation: orbit-spin 80s linear infinite;
}
.contact-orbit-2 {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px dashed var(--border);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  opacity: 0.08;
  animation: orbit-spin 60s linear infinite reverse;
}
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  line-height: 0.95;
}
.contact-heading .period {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 2;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--surface);
  background: var(--fg);
  border-radius: 999px;
  padding: 14px 30px;
  transition: all 0.4s var(--bounce);
  box-shadow: 0 4px 16px hsl(var(--accent-hue), 80%, 50%, 0.2);
  position: relative;
  overflow: hidden;
}
.contact-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s var(--bounce);
}
.contact-pill:hover {
  background: var(--accent);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 24px var(--accent-glow-20);
}
.contact-pill:hover::after { left: 100%; }
.contact-pill svg { width: 15px; height: 15px; }

/* ═══════════════════════════════════════════
   SECTION DIVIDER — Visual rhythm between sections
═══════════════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  position: relative;
  height: 1px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
}
.section-divider::before {
  background: linear-gradient(90deg, transparent 0%, var(--accent) 100%);
  opacity: 0.25;
}
.section-divider::after {
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0.25;
}
.divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 12px;
  opacity: 0.5;
  box-shadow: 0 0 10px var(--accent-glow-30);
  animation: divider-pulse 3s ease-in-out infinite;
}
@keyframes divider-pulse {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 10px var(--accent-glow-30); }
  50%      { opacity: 0.8; box-shadow: 0 0 18px var(--accent-glow-50); }
}

/* ═══════════════════════════════════════════
   FOOTER — DARK, SPACIOUS
═══════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: var(--fg-light);
  padding: 64px 64px 40px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-logo .dot { color: var(--accent); }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  margin-top: 6px;
}
.footer-nav {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted-light);
  transition: color 0.3s ease;
  position: relative;
}
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--bounce);
}
.footer-nav a:hover { color: var(--fg-light); }
.footer-nav a:hover::after { width: 100%; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted-light);
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted-light);
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.3s var(--bounce);
}
.back-to-top:hover {
  color: var(--fg-light);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow-20);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.sr {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.sr.vis { opacity: 1; transform: translateY(0); }
.sr-delay-1 { transition-delay: 0.1s; }
.sr-delay-2 { transition-delay: 0.2s; }

/* Stagger children on reveal */
.about-stats .stat { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.about-stats .stat:nth-child(1) { transition-delay: 0.15s; }
.about-stats .stat:nth-child(2) { transition-delay: 0.3s; }
.about-stats .stat:nth-child(3) { transition-delay: 0.45s; }
.about-stats.reveal .stat { opacity: 1; transform: translateY(0); }

.contact-links .contact-pill { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.contact-links .contact-pill:nth-child(1) { transition-delay: 0.1s; }
.contact-links .contact-pill:nth-child(2) { transition-delay: 0.25s; }
.contact-links .contact-pill:nth-child(3) { transition-delay: 0.4s; }
.contact-links.reveal .contact-pill { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   SKILLS ORBITAL STAGE
═══════════════════════════════════════════ */
.skills-section {
  padding: 120px 40px 80px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(167,139,250,0.04) 0%, transparent 60%);
}
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1;
  margin: 40px auto 0;
  perspective: 600px;
  transform-style: preserve-3d;
  transform: rotateX(8deg);
}
/* 中心 */
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(60px);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8e4df 0%, #d1cdc7 100%);
  border: 1.5px solid rgba(209,205,199,0.6);
  display: grid;
  place-items: center;
  z-index: 10;
  box-shadow: 0 16px 48px rgba(20,20,19,0.15), 0 0 40px hsl(var(--accent-hue), 80%, 50%, 0.2), 0 0 60px hsl(var(--accent-hue), 80%, 50%, 0.1), 0 0 0 1px rgba(255,255,255,0.3) inset;
  animation: center-glow 4s ease-in-out infinite alternate;
}
@keyframes center-glow {
  0%   { box-shadow: 0 8px 32px rgba(20,20,19,0.2), 0 0 40px hsl(var(--accent-hue), 80%, 50%, 0.1), 0 0 0 1px rgba(255,255,255,0.3) inset; }
  100% { box-shadow: 0 8px 32px rgba(20,20,19,0.2), 0 0 60px hsl(var(--accent-hue), 80%, 50%, 0.2), 0 0 0 1px rgba(255,255,255,0.3) inset; }
}
.orbit-center-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface);
}
/* Q 版眼睛容器 */
.orbit-eyes {
  display: flex;
  gap: 8px;
}
.orbit-eye {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(209,205,199,0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(20,20,19,0.08) inset;
}
.orbit-pupil {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4.5px 0 0 -4.5px;
  will-change: transform;
}
.orbit-pupil-highlight {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 1px;
  right: 1px;
}
/* 眨眼 */
.orbit-eye-lid {
  position: absolute;
  inset: 0;
  background: #d1cdc7;
  border-radius: 50%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.1s ease;
}
.orbit-blink .orbit-eye-lid {
  transform: scaleY(1);
}

/* 轨道环（3D 深度） */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid var(--border);
  transform-style: preserve-3d;
}
.orbit-ring-1 {
  width: 200px; height: 200px; margin: -100px 0 0 -100px;
  animation: orbit-cw 30s linear infinite;
  border-color: var(--accent-glow-35);
  transform: translateZ(40px);
  box-shadow: 0 8px 32px var(--accent-glow-12), 0 0 0 1px var(--accent-glow-06) inset;
}
.orbit-ring-2 {
  width: 340px; height: 340px; margin: -170px 0 0 -170px;
  animation: orbit-ccw 40s linear infinite;
  border-style: dashed; border-color: rgba(167,139,250,0.3);
  transform: translateZ(20px);
  box-shadow: 0 6px 24px rgba(167,139,250,0.08), 0 0 0 1px rgba(167,139,250,0.04) inset;
}
.orbit-ring-3 {
  width: 480px; height: 480px; margin: -240px 0 0 -240px;
  animation: orbit-cw 55s linear infinite;
  border-color: rgba(56,189,248,0.25);
  transform: translateZ(0px);
  box-shadow: 0 4px 20px rgba(56,189,248,0.06);
}
.orbit-ring-4 {
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  animation: orbit-ccw 70s linear infinite;
  border-style: dashed; border-color: rgba(148,163,184,0.2);
  transform: translateZ(-20px);
  box-shadow: 0 2px 16px rgba(148,163,184,0.04);
}

@keyframes orbit-cw  { from { transform: rotate(0deg) translateZ(var(--tz, 0px)); } to { transform: rotate(360deg) translateZ(var(--tz, 0px)); } }
@keyframes orbit-ccw { from { transform: rotate(0deg) translateZ(var(--tz, 0px)); } to { transform: rotate(-360deg) translateZ(var(--tz, 0px)); } }

/* 节点：均匀分布在圆周上，标签中心对齐轨道 */
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  --angle: calc(var(--i) * (360deg / var(--count, 5)));
  transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))) translate(-50%, -50%);
  transform-origin: 0 0;
}
/* 每条轨道的节点数和半径 */
.orbit-ring-1 { --count: 5; --radius: 100px; --tz: 20px; }
.orbit-ring-2 { --count: 4; --radius: 170px; --tz: 10px; }
.orbit-ring-3 { --count: 6; --radius: 240px; --tz: 0px; }
.orbit-ring-4 { --count: 7; --radius: 320px; --tz: -10px; }

/* 节点样式 */
.orbit-node span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  background: rgba(252,251,250,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(209,205,199,0.5);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(20,20,19,0.06), 0 0 0 1px rgba(255,255,255,0.15) inset;
  transition: transform 0.4s var(--bounce), box-shadow 0.4s var(--bounce), border-color 0.4s var(--bounce);
  animation: orbit-node-counter 30s linear infinite;
}
.orbit-ring-2 .orbit-node span { animation-duration: 40s; animation-direction: reverse; }
.orbit-ring-3 .orbit-node span { animation-duration: 55s; }
.orbit-ring-4 .orbit-node span { animation-duration: 70s; animation-direction: reverse; }

@keyframes orbit-node-counter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.orbit-node span:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(20,20,19,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   EXPERIENCE TIMELINE
═══════════════════════════════════════════ */
.experience-section {
  padding: 120px 40px 160px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.experience-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.timeline {
  position: relative;
  text-align: left;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.tl-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.tl-item.vis {
  opacity: 1;
  transform: translateX(0);
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(207,69,0,0.1);
  transition: transform 0.4s var(--bounce), box-shadow 0.4s var(--bounce);
}
.tl-item:hover .tl-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px var(--accent-glow-15), 0 0 16px var(--accent-glow-20);
}
.tl-item:first-child .tl-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow-15), 0 0 12px var(--accent-glow-20);
  animation: dot-pulse 2.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-glow-15), 0 0 12px var(--accent-glow-20); }
  50%      { box-shadow: 0 0 0 8px var(--accent-glow-08), 0 0 20px var(--accent-glow-15); }
}
.tl-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.tl-company {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}
.tl-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
.tl-role {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 6px;
}
.tl-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   GITHUB SECTION
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   OPEN SOURCE PROJECTS SECTION
═══════════════════════════════════════════ */
.oss-section {
  padding: 80px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.oss-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  margin-bottom: 56px;
}

.oss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ── Card base ── */
.oss-card {
  display: flex;
  flex-direction: column;
  background: rgba(252,251,250,0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(209,205,199,0.35);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--bounce), box-shadow 0.4s var(--bounce), border-color 0.3s ease;
  box-shadow: 0 2px 20px rgba(20,20,19,0.04), 0 0 0 1px rgba(255,255,255,0.08) inset;
  cursor: pointer;
}

/* shimmer line on top */
.oss-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--card-accent, var(--accent)) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
@media (hover: hover) {
  .oss-card:hover::before { opacity: 0.8; }
  .oss-card:hover::after { opacity: 1; }
  .oss-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 48px rgba(20,20,19,0.1), 0 0 0 1px rgba(255,255,255,0.15) inset;
    border-color: rgba(209,205,199,0.6);
  }
}

/* ── OSS Card stagger reveal ── */
.oss-grid .oss-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.4s var(--bounce), border-color 0.3s ease;
}
.oss-grid.vis .oss-card:nth-child(1) { transition-delay: 0.05s; }
.oss-grid.vis .oss-card:nth-child(2) { transition-delay: 0.2s; }
.oss-grid.vis .oss-card:nth-child(3) { transition-delay: 0.35s; }
.oss-grid.vis .oss-card {
  opacity: 1;
  transform: translateY(0);
}

/* ── OSS Card 3D tilt inner ── */
.oss-card-inner {
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

/* ── Card Color Themes ── */
.oss-card:nth-child(1) {
  --card-accent: #e34c26;
  --card-accent-glow: rgba(227,76,38,0.06);
}
.oss-card:nth-child(2) {
  --card-accent: #38bdf8;
  --card-accent-glow: rgba(56,189,248,0.06);
}
.oss-card:nth-child(3) {
  --card-accent: #4ade80;
  --card-accent-glow: rgba(74,222,128,0.06);
}

/* ── Card top row ── */
.oss-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ── Icon ── */
.oss-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--bounce);
}
@media (hover: hover) {
  .oss-card:hover .oss-icon { transform: scale(1.1) rotate(-4deg); }
}

.oss-icon-red  { background: rgba(227,76,38,0.1);  color: #e34c26; border: 1px solid rgba(227,76,38,0.2); }
.oss-icon-blue { background: rgba(56,189,248,0.1); color: #38bdf8; border: 1px solid rgba(56,189,248,0.2); }
.oss-icon-green{ background: rgba(74,222,128,0.1); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }

/* ── Language indicator ── */
.oss-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.oss-lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.oss-lang-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── Card text ── */
.oss-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.oss-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* ── Tags ── */
.oss-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.oss-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(209,205,199,0.25);
  border: 1px solid rgba(209,205,199,0.4);
  border-radius: 999px;
  padding: 3px 10px;
  transition: background 0.25s ease, color 0.25s ease;
}
@media (hover: hover) {
  .oss-card:hover .oss-tag {
    background: rgba(var(--card-accent, 207 69 0) / 0.08);
  }
}

/* ── Card footer ── */
.oss-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(209,205,199,0.3);
  margin-top: auto;
}
.oss-github-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.oss-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(209,205,199,0.2);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.3s var(--bounce);
}
@media (hover: hover) {
  .oss-card:hover .oss-arrow {
    background: var(--fg);
    color: var(--surface);
    transform: translate(2px, -2px);
  }
}

/* ── Profile link ── */
.oss-profile-link {
  display: flex;
  justify-content: center;
}
.oss-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(209,205,199,0.15);
  border: 1px solid rgba(209,205,199,0.4);
  border-radius: 999px;
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.35s var(--bounce);
}
.oss-profile-btn:hover {
  color: var(--fg);
  background: var(--surface);
  border-color: rgba(209,205,199,0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,20,19,0.08);
}

/* ═══════════════════════════════════════════
   INTERACTIVE — 统一弹性 hover 效果
═══════════════════════════════════════════ */
.interactive {
  transition: transform 0.4s var(--bounce), box-shadow 0.4s var(--bounce), color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.interactive:hover {
  transform: translateY(-2px) scale(1.03);
}
.interactive:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .oss-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 12px 24px; gap: 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }

  .hero { padding: 100px 24px; }
  .hero-title { font-size: clamp(38px, 8vw, 64px); line-height: 1.1; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .lamp-svg { width: 140px; }
  .about { grid-template-columns: 1fr; gap: 56px; padding: 100px 24px; text-align: center; }
  .about-visual { justify-content: center; }
  .about-circle { width: 260px; height: 260px; }
  .about-orbit { width: 340px; height: 340px; }
  .about-orbit-dashed { width: 380px; height: 380px; }
  .section-eyebrow { justify-content: center; }
  .about-stats { justify-content: center; gap: 32px; flex-wrap: wrap; }


  .marquee-section { padding: 64px 0; }
  .marquee-item { gap: 40px; }

  .philosophy { padding: 100px 24px; }
  .contact { padding: 100px 24px 140px; }
  .contact-links { flex-direction: column; align-items: center; }

  .skills-section { padding: 80px 24px 60px; }
  .orbit-stage { max-width: 360px; }
  .orbit-ring-1 { width: 140px; height: 140px; margin: -70px 0 0 -70px; --radius: 70px; }
  .orbit-ring-2 { width: 230px; height: 230px; margin: -115px 0 0 -115px; --radius: 115px; }
  .orbit-ring-3 { width: 310px; height: 310px; margin: -155px 0 0 -155px; --radius: 155px; }
  .orbit-ring-4 { display: none; }
  .orbit-node span { font-size: 11px; padding: 4px 10px; }
  .orbit-center { width: 60px; height: 60px; }
  .orbit-center-label { font-size: 11px; }
  .experience-section { padding: 80px 24px 120px; }
  .tl-header { flex-direction: column; gap: 4px; }
  .oss-section { padding: 60px 24px 80px; }
  .oss-grid { grid-template-columns: 1fr; gap: 16px; }
  .oss-subtitle { margin-bottom: 36px; }

  .site-footer { padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: center; }
}

@media (max-width: 480px) {
  .nav {
    padding: 10px 16px;
    gap: 16px;
    width: calc(100% - 32px);
    justify-content: space-between;
  }
  .nav-logo {
    display: none;
  }
  .nav-links {
    gap: 14px;
    width: 100%;
    justify-content: space-around;
  }
  .nav-links a {
    font-size: 12px;
  }

  .orbit-stage { max-width: 290px; }
  .orbit-ring-1 { width: 110px; height: 110px; margin: -55px 0 0 -55px; --radius: 55px; }
  .orbit-ring-2 { width: 180px; height: 180px; margin: -90px 0 0 -90px; --radius: 90px; }
  .orbit-ring-3 { width: 250px; height: 250px; margin: -125px 0 0 -125px; --radius: 125px; }
  .orbit-node span { font-size: 10px; padding: 3px 8px; }
}

/* ─── Orbits Hover Pause ─── */
@media (hover: hover) {
  .orbit-ring:has(.orbit-node span:hover) {
    animation-play-state: paused;
  }
  .orbit-ring:has(.orbit-node span:hover) .orbit-node span {
    animation-play-state: paused;
  }
}

/* ─── Open Source Card Spotlight ─── */
.oss-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--card-accent-glow, var(--accent-glow-12)), transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}
.oss-card:hover::after {
  opacity: 1;
}
.oss-card > * {
  position: relative;
  z-index: 1;
}

/* ─── Lamp Cord Gentle Bobbing ─── */
@keyframes handle-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.lamp-cord-handle.bobbing {
  animation: handle-bob 4s ease-in-out infinite;
}
.lamp-cord-handle:hover circle {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
  transition: fill 0.25s ease, filter 0.25s ease;
}
