/* ============================================================
   白喃 · 个人网站
   视觉基调：暖白底 + 柔和橙蓝光晕 + 微网格
   交互原则：克制的悬停反馈；一次性淡入上移；少上移，多精细箭头动画
   ============================================================ */

:root {
  --bg: #f6f3ee;
  --bg-soft: #fbfaf7;
  --ink: #191816;
  --ink-2: #55524c;
  --ink-3: #8a867e;
  --line: rgba(25, 24, 22, 0.1);
  --line-strong: rgba(25, 24, 22, 0.16);
  --card: rgba(255, 255, 255, 0.66);
  --card-solid: #ffffff;

  --orange: #ff7a45;
  --orange-soft: #ffb68f;
  --blue: #4d6ef5;
  --blue-soft: #8ea7ff;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-card: 0 1px 2px rgba(25, 24, 22, 0.04), 0 18px 50px -24px rgba(25, 24, 22, 0.14);
  --shadow-hover: 0 2px 4px rgba(25, 24, 22, 0.05), 0 30px 70px -28px rgba(25, 24, 22, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(255, 122, 69, 0.2); }

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------------- 背景氛围 ---------------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.bg-glow--orange {
  width: 640px; height: 640px;
  top: -12%; left: -10%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 148, 92, 0.55), rgba(255, 148, 92, 0) 68%);
}
.bg-glow--blue {
  width: 700px; height: 700px;
  bottom: -18%; right: -12%;
  background: radial-gradient(circle at 60% 60%, rgba(94, 130, 255, 0.42), rgba(94, 130, 255, 0) 68%);
}

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(25, 24, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 24, 22, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 0%, transparent 78%);
}

/* ---------------- 导航 ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.scrolled {
  background: rgba(246, 243, 238, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.nav-links {
  display: flex;
  gap: 34px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.nav-cta .btn-arrow {
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-cta .btn-arrow svg { display: block; width: 100%; height: 100%; }
.nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.btn .btn-arrow {
  width: 17px; height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s var(--ease-spring);
}
.btn svg { width: 100%; height: 100%; }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px -14px rgba(25, 24, 22, 0.5);
}
.btn--primary:hover { box-shadow: 0 16px 34px -14px rgba(25, 24, 22, 0.45); }
.btn--primary:hover .btn-arrow { transform: translateX(5px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost .btn-arrow { transform: none; }

/* 邮箱大按钮 */
.btn--mail {
  padding: 18px 32px;
  font-size: 17px;
  background: linear-gradient(135deg, var(--orange), #ff9a5c 55%, var(--blue));
  color: #fff;
  box-shadow: 0 18px 44px -18px rgba(255, 122, 69, 0.7);
}
.btn--mail:hover { box-shadow: 0 22px 54px -18px rgba(77, 110, 245, 0.55); }
.btn--mail:hover .btn-arrow { transform: translateX(6px); }

/* ---------------- 按钮（替代上移：光晕与箭头细节） ---------------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.btn:hover::before { opacity: 1; }

/* ---------------- 布局 ---------------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.section { padding: 120px 0 40px; }
.section-head { margin-bottom: 52px; }

.section-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.section-note {
  margin: 0;
  color: var(--ink-3);
  font-size: 15.5px;
}

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px 0 80px;
}
.hero-inner { max-width: 760px; }

.hero-eyebrow {
  margin: 0 0 26px;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

.hero-title {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 84px);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.hero-title .hl {
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 12px;
  background: linear-gradient(90deg, rgba(255, 148, 92, 0.28), rgba(94, 130, 255, 0.28));
  z-index: -1;
  border-radius: 4px;
}

.hero-sub {
  margin: 28px auto 0;
  max-width: 540px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.85;
  font-weight: 300;
}

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

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  overflow: hidden;
}
.hero-scroll-line {
  display: block;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, var(--ink-3), transparent);
  animation: scrollHint 2.6s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  25% { opacity: 1; }
  70% { transform: scaleY(1); transform-origin: top; }
  71% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------------- 作品卡片 ---------------- */
.works { display: flex; flex-direction: column; gap: 36px; }

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.6s var(--ease-out), border-color 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.work-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}

/* 悬停时不要上移过多：只给极轻微的浮动 + 主光影变化 */
.work-card:hover { transform: translateY(-3px); }

.work-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  overflow: hidden;
}
.work-card--music .work-visual {
  background: linear-gradient(150deg, rgba(255, 148, 92, 0.13), rgba(255, 255, 255, 0) 46%, rgba(94, 130, 255, 0.12));
}
.work-card--pill .work-visual {
  background: linear-gradient(150deg, rgba(94, 130, 255, 0.13), rgba(255, 255, 255, 0) 46%, rgba(255, 148, 92, 0.1));
}

.work-body { padding: 56px 52px 52px; display: flex; flex-direction: column; }
.work-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.work-tag {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.work-status {
  font-size: 12px;
  color: var(--orange);
  border: 1px solid rgba(255, 122, 69, 0.4);
  background: rgba(255, 122, 69, 0.07);
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.work-status--plan {
  color: var(--blue);
  border-color: rgba(77, 110, 245, 0.4);
  background: rgba(77, 110, 245, 0.06);
}

.work-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.work-desc {
  margin: 0 0 26px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
  font-weight: 300;
  max-width: 46ch;
}
.work-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.work-tech li {
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.work-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.work-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.work-link:hover::after { transform: scaleX(1); transform-origin: left; }
.work-link .btn-arrow {
  width: 17px; height: 17px;
  transition: transform 0.45s var(--ease-spring);
}
.work-link:hover .btn-arrow { transform: translateX(6px); }
.work-link--disabled { color: var(--ink-3); cursor: default; }
.work-link--disabled::after { display: none; }

/* 第三条开源卡片：单列 */
.work-card--gh {
  grid-template-columns: 1fr;
  padding: 44px 48px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.45));
}
.work-card--gh .work-body { padding: 0; }

/* GitHub 仓库小清单 */
.side-list {
  list-style: none;
  margin: 10px 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 44px;
  row-gap: 18px;
}
.side-link {
  display: block;
  text-decoration: none;
  padding: 2px 2px 2px 0;
}
.side-link__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.side-link__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.3s ease;
}
.side-link__name::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.side-link:hover .side-link__name { color: var(--orange); }
.side-link:hover .side-link__name::after {
  transform: scaleX(1);
  transform-origin: left;
}
.side-link__lang {
  flex: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.side-link__desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------------- 插画：音乐概念版 ---------------- */
.art { position: relative; width: 100%; max-width: 380px; }

.art-window {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(25, 24, 22, 0.35);
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform 0.7s var(--ease-out);
}
.work-card:hover .art-window { transform: translateY(-5px) rotate(-0.6deg) scale(1.015); }

.art-sidebar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 46px;
  background: rgba(25, 24, 22, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
}
.art-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(25, 24, 22, 0.35); }
.art-dot:nth-child(1) { background: var(--orange); }
.art-dot:nth-child(2) { background: rgba(255, 186, 143, 0.8); }
.art-dot:nth-child(3) { background: var(--blue-soft); }
.art-line {
  width: 20px; height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: rgba(25, 24, 22, 0.22);
}
.art-line:last-of-type { margin-top: 4px; background: rgba(25, 24, 22, 0.12); }

.art-main {
  margin-left: 46px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.art-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #ffb08c;
}
.art-cover-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.65), transparent 42%),
    radial-gradient(circle at 15% 85%, rgba(77, 110, 245, 0.55), transparent 50%),
    linear-gradient(150deg, #ff9a5c, #ff7a45 60%, #ffb68f);
}
.art-disc {
  position: absolute;
  left: 16px; bottom: 12px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #191816 0 7%, #3a3733 7% 14%, #191816 14% 42%, rgba(255, 255, 255, 0.28) 42% 44%, #3a3733 44% 72%, #191816 72% 100%);
  box-shadow: 0 8px 20px -8px rgba(25, 24, 22, 0.55);
  animation: discSpin 9s linear infinite;
}
@keyframes discSpin { to { transform: rotate(360deg); } }

.art-now {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
}
.art-now-bar {
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(to top, var(--blue), var(--blue-soft));
  animation: eq 1.1s ease-in-out infinite;
}
.art-now-bar:nth-child(1) { height: 45%; animation-delay: 0s; }
.art-now-bar:nth-child(2) { height: 100%; animation-delay: 0.22s; }
.art-now-bar:nth-child(3) { height: 62%; animation-delay: 0.1s; }
.art-now-bar:nth-child(4) { height: 82%; animation-delay: 0.34s; }
.art-now-bar:nth-child(5) { height: 50%; animation-delay: 0.16s; }
.art-now-bar:nth-child(6) { height: 92%; animation-delay: 0.28s; }
.art-now-bar:nth-child(7) { height: 40%; animation-delay: 0.05s; }
.art-now-bar:nth-child(8) { height: 72%; animation-delay: 0.38s; }
.art-now-bar:nth-child(9) { height: 56%; animation-delay: 0.2s; }
.art-now-bar:nth-child(10) { height: 88%; animation-delay: 0.3s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.art-play {
  position: absolute;
  right: 34px; bottom: 56px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(25, 24, 22, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(25, 24, 22, 0.6);
  transition: background 0.4s var(--ease-out), transform 0.5s var(--ease-spring);
}
.work-card:hover .art-play { background: var(--orange); transform: scale(1.12) rotate(-4deg); }
.art-play svg { width: 16px; height: 16px; margin-left: 2px; }

/* 氛围元素：光圈 / 音符 */
.art-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(25, 24, 22, 0.1);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
}
.art-ring--a { width: 120px; height: 120px; top: 6%; right: 4%; }
.art-ring--b { width: 180px; height: 180px; bottom: -8%; left: -6%; border-width: 1.5px; opacity: 0.5; }

.art-note {
  position: absolute;
  width: 18px; height: 18px;
  background: var(--orange-soft);
  opacity: 0.55;
  border-radius: 50%;
  filter: blur(1px);
  transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out);
}
.art-note--1 { top: 18%; left: -2%; }
.art-note--2 { bottom: 14%; right: 0; background: var(--blue-soft); }
.work-card:hover .art-note--1 { transform: translate(10px, -8px); opacity: 0.8; }
.work-card:hover .art-note--2 { transform: translate(-12px, 6px); opacity: 0.8; }

/* ---------------- 插画：闪念胶囊 ---------------- */
.art--pill { max-width: 340px; min-height: 240px; display: flex; align-items: center; justify-content: center; }
.art-pill {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 148px;
  border-radius: 76px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(240, 243, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 34px 70px -34px rgba(77, 110, 245, 0.55), inset 0 1px 0 #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: transform 0.7s var(--ease-out);
}
.work-card:hover .art-pill { transform: translateY(-6px); }

.art-pill-cap {
  position: absolute;
  top: 0; bottom: 0;
  width: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
}
.art-pill-cap--left { left: 0; border-right: 1px solid rgba(77, 110, 245, 0.18); border-radius: 76px 0 0 76px; }
.art-pill-cap--right { right: 0; border-left: 1px solid rgba(255, 122, 69, 0.2); border-radius: 0 76px 76px 0; }

.art-pill-core {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 74px;
}
.art-pill-line {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(77, 110, 245, 0.5), rgba(94, 130, 255, 0.12));
}
.art-pill-line--s {
  width: 58%;
  background: linear-gradient(90deg, rgba(255, 122, 69, 0.55), rgba(255, 186, 143, 0.18));
}
.art-pill::after {
  content: "";
  position: absolute;
  left: -30%; top: -40%;
  width: 70%; height: 180%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg) translateX(-60%);
  transition: transform 1.1s var(--ease-out);
}
.work-card:hover .art-pill::after { transform: rotate(18deg) translateX(240%); }

.art-pill-spark {
  position: absolute;
  border-radius: 50%;
  background: var(--orange-soft);
  opacity: 0.5;
  transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out);
}
.art-pill-spark--1 { width: 10px; height: 10px; top: -6px; left: 22%; background: var(--blue-soft); }
.art-pill-spark--2 { width: 6px; height: 6px; bottom: 8px; left: 12%; }
.art-pill-spark--3 { width: 8px; height: 8px; top: 10px; right: 8%; background: var(--blue-soft); }
.art-pill-spark--4 { width: 4px; height: 4px; bottom: -4px; right: 26%; }
.work-card:hover .art-pill-spark--1 { transform: translate(8px, 14px); opacity: 0.9; }
.work-card:hover .art-pill-spark--2 { transform: translate(16px, -6px); opacity: 0.9; }
.work-card:hover .art-pill-spark--3 { transform: translate(-10px, 12px); opacity: 0.9; }
.work-card:hover .art-pill-spark--4 { transform: translate(-14px, -8px); opacity: 0.9; }

/* ---------------- 能力经验 ---------------- */
.about-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px 38px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--orange-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.about-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.about-card:hover::before { opacity: 1; }
.about-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
}
.about-card-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 300;
}

/* ---------------- 联系方式 ---------------- */
.contact { padding-bottom: 120px; }
.contact-panel {
  position: relative;
  text-align: center;
  padding: 108px 48px 96px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 148, 92, 0.22), transparent 46%),
    radial-gradient(circle at 85% 78%, rgba(94, 130, 255, 0.2), transparent 46%),
    rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.contact-eyebrow {
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.contact-title {
  margin: 0 0 22px;
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}
.contact-sub {
  margin: 0 auto 40px;
  max-width: 480px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 300;
}
.contact-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.contact-actions .btn {
  padding: 18px 32px;
  font-size: 17px;
}

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 40px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 13.5px;
}
.footer-made { letter-spacing: 0.04em; }

/* ---------------- 一次性淡入上移动效 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .work-card { grid-template-columns: 1fr; }
  .work-visual { min-height: 300px; }
  .work-body { padding: 36px 32px 38px; }
  .about-cols { grid-template-columns: 1fr; }
  .side-list { grid-template-columns: 1fr; row-gap: 22px; }
  .nav-links { display: none; }
  .nav-inner { padding: 16px 22px; }
  .contact-panel { padding: 80px 26px 72px; }
  .footer-inner { flex-direction: column; gap: 6px; text-align: center; }
  main { padding: 0 22px; }
  .section { padding-top: 96px; }
}
