:root {
  --bg: #f7f2ea;
  --card: #fffdf8;
  --ink: #211d18;
  --muted: #7d7669;
  --accent: #ff6b35;
  --accent-soft: rgba(255,107,53,.14);
  --line: #e7dfd2;
  --line-w: rgba(255,253,248,.22);
  --glass: rgba(33,29,24,.74);
  --radius: 22px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.7; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.mono-label { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .28em; font-size: 12px; }

/* ===== 氛围层 ===== */
.noise {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.cursor {
  position: fixed; z-index: 70; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); pointer-events: none; transform: translate(-50%,-50%);
  box-shadow: 0 0 12px rgba(255,107,53,.35); display: none;
}
@media (pointer: fine) { .cursor { display: block; } }

/* ===== IP 形象（透明通道） ===== */
.ip-figure { position: relative; }
.ip-figure video { width: 100%; filter: saturate(.94) contrast(1.05) brightness(1.02); }
html.no-alpha .ip-figure video { mix-blend-mode: multiply; }
.ip-shadow { display: none; }

/* ===== Loading ===== */
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .6s, visibility .6s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-avatar { width: 110px; border-radius: 50%; overflow: hidden; animation: pulse 1.6s ease-in-out infinite; border: 3px solid var(--accent); }
.loader-avatar img { width: 100%; border-radius: 50%; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.loader-bar { width: 200px; height: 3px; background: rgba(0,0,0,.08); border-radius: 99px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.loader-text { font-size: 12px; letter-spacing: .3em; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }

/* ===== 导航 ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 36px; backdrop-filter: blur(14px);
  background: rgba(247,242,234,.78); border-bottom: 1px solid var(--line);
}
.logo { font-weight: 900; letter-spacing: .18em; font-size: 15px; color: var(--ink); }
.logo b { color: #fff; background: var(--accent); padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.nav-links { display: flex; gap: 22px; list-style: none; font-size: 13px; font-weight: 600; }
.nav-links a { color: var(--muted); transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.accent { color: var(--accent); border: 1.5px solid var(--accent); border-radius: 999px; padding: 4px 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ===== 场景舞台 ===== */
.scene { position: relative; }
.stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: var(--bg);
}
.big-word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-size: clamp(120px, 23vw, 400px); font-weight: 900; line-height: .9;
  letter-spacing: -.02em; color: var(--ink); white-space: nowrap; z-index: 1;
  font-family: "Arial Black", -apple-system, "PingFang SC", sans-serif;
}
.stage-ip { position: relative; z-index: 2; width: min(74vh, 88vw); pointer-events: none; will-change: transform; }
.stage-ip::before {
  content: ""; position: absolute; z-index: -1; inset: -18% -22%; pointer-events: none;
  background:
    radial-gradient(ellipse 72% 76% at 50% 44%, rgba(255,253,248,.96) 0%, rgba(255,246,235,.88) 34%, rgba(247,242,234,.62) 56%, rgba(247,242,234,0) 76%),
    radial-gradient(circle at 50% 40%, rgba(255,107,53,.12), rgba(255,107,53,0) 72%);
  filter: blur(12px);
}
.stage-ip::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -3%; width: 56%; height: 12%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(60,40,20,.22), rgba(60,40,20,0) 70%);
  filter: blur(7px);
}
.stage-ip .ip-figure video {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 26px 26px rgba(60,40,20,.20)) saturate(.94) contrast(1.05) brightness(1.02);
}
.stage-tag {
  position: absolute; z-index: 3; bottom: 5vh; left: 50%; transform: translateX(-50%);
  font-family: ui-monospace, Menlo, monospace; letter-spacing: .22em; font-size: 13px;
  color: var(--ink); background: var(--card); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px; white-space: nowrap; max-width: 92vw;
  overflow: hidden; text-overflow: ellipsis; box-shadow: 0 8px 24px rgba(60,40,20,.1);
}
.scroll-hint {
  position: absolute; z-index: 3; bottom: 5vh; left: 50%; transform: translateX(-50%);
  color: var(--muted); animation: hint 2s infinite;
}
@keyframes hint { 0%,100% { opacity: .45; transform: translate(-50%,0); } 50% { opacity: 1; transform: translate(-50%,6px); } }

/* ===== 毛玻璃内容页 ===== */
.glass {
  position: relative; z-index: 3; width: min(1080px, 92vw); margin: 0 auto 12vh;
  background: var(--glass); backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid var(--line-w); border-radius: 28px; color: var(--card);
  padding: clamp(30px, 5vw, 60px) clamp(24px, 5vw, 64px);
  box-shadow: 0 40px 90px rgba(40,25,10,.3);
}
.glass.showcase-glass { width: min(1380px, 96vw); }
.showcase-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.showcase-head .g-head { margin-bottom: 0; }
.showcase-sub { margin-top: 10px; font-size: 13.5px; color: rgba(255,253,248,.62); max-width: 660px; }
.g-head { margin-bottom: 26px; }
.g-head .mono-label { color: var(--accent); display: block; margin-bottom: 10px; }
.g-head h3 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; line-height: 1.25; color: var(--card); }
.g-text { color: rgba(255,253,248,.82); font-size: 15.5px; max-width: 760px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pill {
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; letter-spacing: .08em;
  border: 1px solid var(--line-w); border-radius: 999px; padding: 8px 18px; color: var(--card);
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.stat-item { border: 1px solid var(--line-w); border-radius: 16px; padding: 16px 10px; text-align: center; background: rgba(255,253,248,.05); }
.stat-number { font-size: 26px; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 11px; letter-spacing: .12em; color: rgba(255,253,248,.6); margin-top: 4px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn-solid { background: var(--accent); color: #fff; border-radius: 999px; padding: 13px 30px; font-weight: 700; font-size: 15px; transition: transform .25s; box-shadow: 0 8px 26px rgba(255,107,53,.35); }
.btn-solid:hover { transform: translateY(-2px); }
.btn-line { border: 1.5px solid var(--line-w); color: var(--card); border-radius: 999px; padding: 13px 30px; font-weight: 600; font-size: 15px; transition: all .25s; }
.btn-line:hover { border-color: var(--card); }

/* ===== 深色卡片 ===== */
.dark-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.d-card { background: rgba(255,253,248,.06); border: 1px solid var(--line-w); border-radius: 18px; padding: 22px; transition: border-color .25s, transform .25s; }
.d-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.d-card h4 { font-size: 17px; margin-bottom: 10px; color: var(--card); }
.d-card p { font-size: 13px; color: rgba(255,253,248,.72); }

/* ===== 时间轴 ===== */
.t-item { border-left: 2px solid rgba(255,253,248,.28); padding-left: 24px; margin-bottom: 30px; position: relative; }
.t-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.t-item .mono-label { color: var(--accent); }
.t-item h4 { font-size: 18px; margin: 6px 0 10px; color: var(--card); }
.t-item ul { list-style: none; margin-top: 12px; }
.t-item li { position: relative; padding-left: 16px; font-size: 13px; color: rgba(255,253,248,.7); margin-bottom: 6px; }
.t-item li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,253,248,.35); }

/* ===== 项目链接 ===== */
.p-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.p-links a { font-size: 13px; color: rgba(255,253,248,.75); transition: color .25s; }
.p-links a::after { content: " ↗"; font-size: 11px; }
.p-links a:hover { color: var(--accent); }
.p-stats { display: flex; gap: 12px; margin: 12px 0; }
.p-stats div { flex: 1; text-align: center; border: 1px solid var(--line-w); border-radius: 14px; padding: 10px 6px; background: rgba(255,253,248,.05); }
.p-stats b { display: block; font-size: 22px; color: var(--accent); }
.p-stats span { font-size: 11px; color: rgba(255,253,248,.6); }

/* ===== 作品横滑 ===== */
.gallery-scroll { position: relative; display: flex; gap: 22px; overflow-x: auto; padding: 6px 8px 30px; scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.w-card { position: relative; flex: 0 0 clamp(300px, 34vw, 440px); height: clamp(320px, 40vw, 500px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line-w); background: #14100b; scroll-snap-align: start; cursor: pointer; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.w-card--feature { flex-basis: min(760px, 66vw); }
.w-card:hover { transform: translateY(-8px); border-color: rgba(255,107,53,.85); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.w-media { position: relative; width: 100%; height: 100%; background: #ede5d8; overflow: hidden; }
.w-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.06); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .8s ease; }
.w-card:hover .w-thumb { transform: scale(1.07); filter: saturate(1.05) contrast(1.08); }
.w-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,9,5,.02) 28%, rgba(13,9,5,.86) 100%), linear-gradient(0deg, rgba(13,9,5,.16), rgba(13,9,5,.16)); }
.w-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; letter-spacing: .14em; color: #fff; border: 1px solid rgba(255,255,255,.24); background: rgba(17,11,6,.42); backdrop-filter: blur(10px); padding: 5px 10px; border-radius: 999px; }
.w-num { position: absolute; top: 12px; right: 14px; z-index: 2; font-family: "Arial Black", Arial, sans-serif; font-size: 34px; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.68); line-height: 1; }
.w-card--feature .w-num { font-size: 56px; }
.w-play { position: absolute; left: 50%; top: 50%; z-index: 3; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; padding-left: 3px; transform: translate(-50%,-50%); box-shadow: 0 12px 30px rgba(255,107,53,.4); transition: transform .35s ease, box-shadow .35s ease; }
.w-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); animation: playPulse 2.2s ease-out infinite; }
@keyframes playPulse { 0% { opacity: .8; transform: scale(.78); } 70%, 100% { opacity: 0; transform: scale(1.18); } }
.w-card:hover .w-play { transform: translate(-50%,-50%) scale(1.08); box-shadow: 0 16px 40px rgba(255,107,53,.5); }
.w-info { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; transform: translateY(8px); transition: transform .35s ease; }
.w-card:hover .w-info { transform: translateY(0); }
.w-info h4 { font-size: 18px; margin: 0 0 4px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.w-card--feature .w-info h4 { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 8px; }
.w-meta { font-size: 11px; color: rgba(255,255,255,.72); letter-spacing: .18em; }
.w-card--feature .w-meta { font-size: 12.5px; }
.w-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12px; font-weight: 700; color: #fff; opacity: .68; transition: opacity .25s, transform .25s; }
.w-card:hover .w-more { opacity: 1; transform: translateX(3px); }
.gallery-tools { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 0; flex-shrink: 0; }
.g-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-w); background: rgba(255,253,248,.04); color: var(--card); font-size: 18px; cursor: pointer; transition: all .25s; }
.g-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.gallery-note { margin-top: 2px; font-size: 11px; letter-spacing: .2em; color: rgba(255,253,248,.5); font-family: ui-monospace, Menlo, monospace; }
.gallery-note b { color: var(--accent); font-weight: 900; }

/* ===== 技能 & 荣誉 ===== */
.awards { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.award-item { border: 1px solid var(--line-w); border-left: 3px solid var(--accent); border-radius: 12px; padding: 12px 16px; font-size: 13px; color: rgba(255,253,248,.78); background: rgba(255,253,248,.04); }

/* ===== 联系 ===== */
.contact-pills { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-pill { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line-w); border-radius: 16px; padding: 14px 20px; font-size: 20px; transition: all .25s; background: rgba(255,253,248,.04); }
a.contact-pill:hover { border-color: var(--accent); transform: translateX(6px); }
.contact-pill > div { display: flex; flex-direction: column; }
.contact-pill span { font-size: 10px; letter-spacing: .25em; color: rgba(255,253,248,.55); font-family: ui-monospace, Menlo, monospace; }
.contact-pill b { font-size: 15px; color: var(--card); }
.footer-line { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-w); font-size: 11px; letter-spacing: .18em; color: rgba(255,253,248,.5); font-family: ui-monospace, Menlo, monospace; }

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(20,14,8,.9); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 4vh 4vw; }
.modal.open { display: flex; }
.modal video { width: min(1100px, 92vw); max-height: 82vh; border-radius: 16px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.modal-title { position: absolute; top: 30px; left: 32px; font-size: 14px; color: #fff; letter-spacing: .1em; }
.modal-close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 18px; cursor: pointer; }

/* ===== 渐显 ===== */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .dark-cards { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .awards { grid-template-columns: 1fr; }
  .stage-ip { width: 92vw; }
  .big-word { font-size: 26vw; }
  .glass.showcase-glass { width: 94vw; }
  .showcase-head { flex-direction: column; align-items: flex-start; }
  .gallery-tools { justify-content: flex-start; }
  .w-card { flex-basis: min(82vw, 420px); height: clamp(260px, 58vw, 360px); }
  .w-card--feature { flex-basis: 90vw; }
}

/* =========================================================
   个人风格层：暖纸杂志 / 编辑风
   降低“模板感”，用宋体、印章、纸纹和硬阴影替代通用玻璃卡片
   ========================================================= */
:root {
  --bg: #f4ede3;
  --card: #fffaf2;
  --ink: #241f1a;
  --muted: #7b7167;
  --accent: #b5442c;
  --accent-soft: rgba(181, 68, 44, .13);
  --line: #d8c9b6;
  --line-w: rgba(36, 31, 26, .16);
  --glass: rgba(255, 250, 242, .90);
  --radius: 3px;
}

body {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "PingFang SC", serif;
  background: var(--bg);
}

h1, h2, h3, h4, .logo, .g-head h3, .stat-number, .w-info h4 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "PingFang SC", serif;
  letter-spacing: .01em;
}

.mono-label {
  letter-spacing: .2em;
  font-size: 11px;
}

.noise { opacity: .05; mix-blend-mode: multiply; }

/* 导航更像杂志栏头 */
nav {
  background: rgba(244, 237, 227, .90);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 700; letter-spacing: .1em; }
.logo b { background: var(--accent); color: var(--card); border-radius: 2px; }
.nav-links a { color: var(--muted); font-size: 12px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active { border-bottom: 1px solid var(--accent); }
.nav-links a.accent { color: var(--accent); border-color: var(--accent); border-radius: 2px; }

/* 大标题改成描边宋体，像杂志里的 ghost 标题 */
.big-word {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 600;
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(36, 31, 26, .26);
}

.stage-tag {
  font-family: "Songti SC", "STSong", "PingFang SC", serif;
  letter-spacing: .08em;
  border-radius: 2px;
  border-color: var(--line);
  box-shadow: 3px 3px 0 rgba(36, 31, 26, .08);
}

/* 内容卡从“深色玻璃”改成“暖纸卡片” */
.glass {
  background: var(--glass);
  background-image: linear-gradient(rgba(36, 31, 26, .035) 1px, transparent 1px);
  background-size: 100% 32px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 8px 8px 0 rgba(36, 31, 26, .05), 0 30px 60px rgba(80, 55, 30, .08);
  backdrop-filter: blur(16px) saturate(.95);
  -webkit-backdrop-filter: blur(16px) saturate(.95);
}

.g-head {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.g-head .mono-label { color: var(--accent); }
.g-head h3 { color: var(--ink); font-weight: 700; }
.g-head::after {
  content: "WH · PORTFOLIO";
  position: absolute;
  right: 0;
  top: -4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 7px;
  transform: rotate(3deg);
  opacity: .78;
}

.g-text, .showcase-sub { color: var(--muted); }

.pill {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 250, 242, .62);
  border-radius: 2px;
}

.stats-row {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--card);
  overflow: hidden;
}
.stat-item {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 20px 12px;
}
.stat-item:last-child { border-right: 0; }
.stat-number { color: var(--accent); font-size: 30px; }
.stat-label { color: var(--muted); }

.btn-solid, .btn-line { border-radius: 2px; }
.btn-solid { box-shadow: 4px 4px 0 rgba(36, 31, 26, .12); }
.btn-solid:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(36, 31, 26, .12); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

.dark-cards { gap: 14px; }
.d-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(80, 55, 30, .05);
}
.d-card h4 { color: var(--ink); }
.d-card p { color: var(--muted); }
.d-card:hover { border-color: var(--accent); transform: translateY(-3px) rotate(-.4deg); }

.t-item { border-left: 2px solid var(--line); }
.t-item::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.t-item h4 { color: var(--ink); }
.t-item li { color: var(--muted); }
.t-item li::before { background: var(--accent); }

.p-links a { color: var(--ink); border-bottom: 1px dotted var(--line); }
.p-links a:hover { color: var(--accent); }
.p-stats div { border: 1px solid var(--line); border-radius: 2px; background: var(--card); }
.p-stats b { color: var(--accent); }
.p-stats span { color: var(--muted); }

.gallery-scroll { padding-bottom: 24px; }
.w-card {
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 12px 30px rgba(80, 55, 30, .06);
}
.w-card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(80, 55, 30, .12);
}
.w-thumb { filter: sepia(.12) saturate(.82) contrast(1.05); }
.w-card:hover .w-thumb { filter: sepia(0) saturate(.95) contrast(1.06); }
.w-shade {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0) 45%, rgba(244, 237, 227, .94) 100%);
}
.w-badge {
  color: var(--ink);
  background: rgba(255, 250, 242, .86);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.w-num {
  font-family: "Songti SC", "STSong", serif;
  font-size: 36px;
  color: var(--accent);
  -webkit-text-stroke: 0;
}
.w-play { border-radius: 2px; background: var(--accent); box-shadow: 0 8px 20px rgba(181, 68, 44, .28); }
.w-play::after { border-color: var(--accent); }
.w-info h4 { color: var(--ink); text-shadow: none; }
.w-meta { color: var(--muted); }
.w-more { color: var(--accent); }

.g-btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 2px;
}
.g-btn:hover { border-color: var(--accent); color: var(--accent); }
.gallery-note { color: var(--muted); }
.gallery-note b { color: var(--accent); }

.awards { gap: 12px; }
.award-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  background: var(--card);
  color: var(--muted);
}

.contact-pill {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--card);
  color: var(--ink);
}
.contact-pill span { color: var(--muted); }
.contact-pill b { color: var(--ink); }
.footer-line { border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(even) { border-right: 0; }
  .stat-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .g-head::after { right: -4px; top: -8px; }
}

/* =========================================================
   IP 动态插画窗口
   把透明视频装进拱形纸框 + 胶带 + 印章，弱化“视频框”感
   ========================================================= */
.stage-ip {
  width: min(76vh, 86vw);
  padding: clamp(8px, 1vw, 14px);
  background:
    linear-gradient(160deg, rgba(255, 250, 242, .96), rgba(244, 237, 227, .84));
  border: 1px solid var(--line);
  border-radius: 999px 999px 22px 22px;
  box-shadow:
    12px 14px 0 rgba(36, 31, 26, .06),
    0 30px 60px rgba(80, 55, 30, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stage-ip::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14px -18px 22px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 62% 58% at 50% 40%, rgba(181, 68, 44, .12), transparent 72%),
    radial-gradient(ellipse 82% 76% at 50% 42%, rgba(255, 253, 248, .68), rgba(247, 242, 234, 0) 74%);
  filter: blur(12px);
}

.stage-ip::after {
  content: "IP · 2026";
  position: absolute;
  z-index: 5;
  right: 2.5%;
  bottom: -11px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent);
  background: var(--card);
  border: 1px solid var(--accent);
  padding: 3px 8px;
  border-radius: 2px;
  transform: rotate(4deg);
  opacity: .9;
}

.stage-ip .ip-figure {
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.stage:hover .stage-ip .ip-figure {
  transform: translateY(-5px) rotate(-.4deg);
}

.ip-figure::before,
.ip-figure::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -7px;
  width: clamp(56px, 9vw, 92px);
  height: 20px;
  background: rgba(255, 213, 128, .72);
  box-shadow: 0 2px 6px rgba(60, 40, 20, .12);
  border-left: 1px solid rgba(255, 255, 255, .5);
  border-right: 1px solid rgba(255, 255, 255, .5);
}
.ip-figure::before {
  left: 12%;
  transform: rotate(-7deg);
}
.ip-figure::after {
  right: 12%;
  transform: rotate(5deg);
}

@media (max-width: 900px) {
  .stage-ip {
    width: 92vw;
    padding: 6px;
    border-radius: 999px 999px 14px 14px;
  }
  .ip-figure::before,
  .ip-figure::after {
    width: 52px;
    height: 14px;
    top: -5px;
  }
}

/* =========================================================
   方案 2 全站：电影画幅 + 字幕
   黑边、暗场、颗粒感和底部字幕，弱化透明视频边框
   ========================================================= */
.stage {
  background: #0c0a08;
}

.stage::before,
.stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(38px, 7vh, 70px);
  background: #050403;
  z-index: 4;
}
.stage::before { top: 0; }
.stage::after { bottom: 0; }

.stage-ip {
  width: min(88vw, 132vh);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.stage-ip::before,
.stage-ip::after,
.ip-figure::before,
.ip-figure::after {
  display: none;
}

.stage-ip .ip-figure video {
  mix-blend-mode: normal;
  filter: grayscale(.08) contrast(1.1) brightness(.94) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}

.big-word {
  color: rgba(255, 255, 255, .12);
  -webkit-text-stroke: 0;
}

.stage-tag {
  bottom: calc(clamp(38px, 7vh, 70px) + 4vh);
  color: rgba(255, 250, 242, .88);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: "Songti SC", "STSong", "PingFang SC", serif;
  font-size: clamp(12px, 1.5vw, 16px);
  letter-spacing: .28em;
}

.scroll-hint {
  bottom: calc(clamp(38px, 7vh, 70px) + 4vh);
  z-index: 5;
  color: rgba(255, 250, 242, .7);
}

/* =========================================================
   全站统一：深色电影编辑风
   让内容卡、导航、正文与电影舞台共用同一套暗调系统
   ========================================================= */
:root {
  --bg: #0c0a08;
  --card: #171310;
  --ink: #f3eadb;
  --muted: #aa9b89;
  --accent: #d4633c;
  --accent-soft: rgba(212, 99, 60, .16);
  --line: rgba(243, 234, 219, .18);
  --line-w: rgba(243, 234, 219, .18);
  --glass: rgba(23, 19, 16, .88);
}

body {
  background: var(--bg);
  color: var(--ink);
}

nav {
  background: rgba(12, 10, 8, .82);
  border-bottom: 1px solid var(--line);
}
.logo { color: var(--ink); }
.logo b { color: #fff8ef; background: var(--accent); }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.accent { color: var(--accent); border-color: var(--accent); }

#loader { background: var(--bg); }
.loader-text { color: var(--muted); }

.glass {
  background: var(--glass);
  background-image: linear-gradient(rgba(243, 234, 219, .045) 1px, transparent 1px);
  background-size: 100% 32px;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .30), 0 30px 70px rgba(0, 0, 0, .48);
}

.g-head {
  border-bottom-color: var(--line);
}
.g-head .mono-label,
.gallery-note b { color: var(--accent); }
.g-head h3,
.d-card h4,
.t-item h4,
.w-info h4,
.contact-pill b { color: var(--ink); }
.g-text,
.showcase-sub,
.d-card p,
.t-item li,
.w-meta,
.gallery-note,
.award-item,
.contact-pill span,
.footer-line { color: var(--muted); }

.pill {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .03);
}

.stats-row,
.d-card,
.p-stats div,
.award-item,
.contact-pill,
.g-btn,
.w-card {
  background-color: var(--card);
  border-color: var(--line);
}

.stat-number,
.p-stats b,
.w-num { color: var(--accent); }
.stat-label,
.p-stats span { color: var(--muted); }

.btn-solid { background: var(--accent); color: #fff8ef; }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

.w-card {
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}
.w-card:hover {
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .48);
}
.w-badge {
  color: var(--ink);
  background: rgba(12, 10, 8, .56);
  border-color: var(--line);
}
.w-shade {
  background: linear-gradient(180deg, rgba(12, 10, 8, 0) 42%, rgba(12, 10, 8, .90) 100%);
}
.w-play { color: #fff8ef; }
.w-more { color: var(--accent); }

.g-btn { color: var(--ink); }
.g-btn:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   电影放映机创新层
   片头倒计时 · 胶片齿孔 · 时间码 · 甩镜 · 颗粒划痕灰尘
   ========================================================= */

/* ---------- 片头 3-2-1 倒计时 ---------- */
#loader {
  gap: 30px;
  background: #050403;
}
#loader.done {
  transition: opacity .85s ease, visibility .85s ease;
}
.leader {
  position: relative;
  width: clamp(150px, 24vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-conic-gradient(rgba(243, 234, 219, .28) 0deg 1.5deg, transparent 1.5deg 45deg),
    radial-gradient(circle, #080604 0 66%, #14100b 67% 100%);
  box-shadow: 0 0 0 3px rgba(243, 234, 219, .12), 0 0 80px rgba(243, 234, 219, .06);
}
.leader-num {
  position: relative;
  z-index: 2;
  font-family: "Arial Black", -apple-system, "PingFang SC", sans-serif;
  font-size: clamp(64px, 11vw, 112px);
  line-height: 1;
  color: #f3eadb;
  text-shadow: 0 0 20px rgba(243, 234, 219, .35);
}
.leader-num.tick {
  animation: countTick .78s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes countTick {
  0% { transform: scale(1.45); opacity: 0; filter: blur(6px); }
  100% { transform: scale(1); opacity: 1; filter: blur(0); }
}
.leader-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 0deg, rgba(243, 234, 219, .65) 0deg, rgba(243, 234, 219, 0) 96deg);
  -webkit-mask: radial-gradient(circle, transparent 0 65%, #000 66% 100%);
  mask: radial-gradient(circle, transparent 0 65%, #000 66% 100%);
  animation: leaderSweep 1.1s linear infinite;
}
@keyframes leaderSweep { to { transform: rotate(360deg); } }
.loader-text {
  color: var(--muted);
  letter-spacing: .34em;
}

/* ---------- 电影画幅：胶片齿孔 + 时间码 ---------- */
.stage::before,
.stage::after {
  background-color: #050403;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0 15px,
      rgba(244, 235, 220, .18) 15px 22px,
      transparent 22px 37px);
}
.stage::before { box-shadow: inset 0 -1px rgba(244, 235, 220, .10); }
.stage::after { box-shadow: inset 0 1px rgba(244, 235, 220, .10); }

.film-meta {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(38px, 7vh, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4.5vw, 52px);
  pointer-events: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: .16em;
  color: rgba(243, 234, 219, .56);
}
.timecode { font-variant-numeric: tabular-nums; }
.scene-label { color: var(--accent); }
@media (max-width: 900px) {
  .film-meta {
    font-size: 10px;
    letter-spacing: .1em;
    padding: 0 16px;
  }
}

/* ---------- 场景切换：甩镜（弱化） ---------- */
.stage.whip .stage-ip {
  animation: whipPan .38s cubic-bezier(.2, .75, .2, 1) both;
}
@keyframes whipPan {
  0% { transform: translateX(0) skewX(0) scale(1.12); filter: blur(0); }
  30% { transform: translateX(-2.5%) skewX(-1.5deg) scale(1.08); filter: blur(2px); }
  62% { transform: translateX(2%) skewX(1deg) scale(1.14); filter: blur(1.5px); }
  100% { transform: translateX(0) skewX(0) scale(1.12); filter: blur(0); }
}

/* ---------- IP 拉扯 / 点击手感 ---------- */
.stage-ip {
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stage-ip.dragging { cursor: grabbing; }
.stage-ip .ip-figure {
  transform: translate3d(var(--pull-x, 0), var(--pull-y, 0), 0) rotate(var(--pull-r, 0deg)) scale(var(--pull-s, 1));
  transition: transform .55s cubic-bezier(.2, 1.45, .35, 1);
  will-change: transform;
}
.stage-ip.dragging .ip-figure { transition: none; }
.stage-ip.punch .ip-figure {
  animation: ipPunch .3s cubic-bezier(.2, 1.45, .35, 1);
}
@keyframes ipPunch {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  45% { transform: translate3d(0, 0, 0) rotate(0deg) scale(.965); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

/* ---------- IP 全画幅拉满 + 白色背景柔边 ---------- */
.stage-ip {
  width: 100vw;
  height: 100vh;
}
.stage-ip .ip-figure,
.stage-ip .ip-figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-ip .ip-figure video {
  mask-image: radial-gradient(ellipse 74% 68% at 50% 50%, #000 52%, transparent 86%);
  -webkit-mask-image: radial-gradient(ellipse 74% 68% at 50% 50%, #000 52%, transparent 86%);
}
.stage-ip::before {
  display: block;
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
}

/* ---------- 前景镂空大字：在人物前方但不遮脸 ---------- */
.big-word {
  z-index: 5;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: clamp(1px, .14vw, 2.5px) rgba(243, 234, 219, .62);
  paint-order: stroke fill;
  text-shadow: 0 0 28px rgba(12, 10, 8, .22);
  -webkit-mask-image: radial-gradient(ellipse 30% 42% at 50% 46%, transparent 0 46%, rgba(0, 0, 0, .55) 56%, #000 66%);
  mask-image: radial-gradient(ellipse 30% 42% at 50% 46%, transparent 0 46%, rgba(0, 0, 0, .55) 56%, #000 66%);
}

/* ---------- 胶片颗粒 / 划痕 / 灰尘 ---------- */
.film-grain,
.film-scratches,
.film-dust {
  position: fixed;
  inset: 0;
  z-index: 61;
  pointer-events: none;
}
.film-grain {
  opacity: .06;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  animation: grainShift 1.6s steps(3) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(2%, 1%); }
}
.film-scratches {
  opacity: .08;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 130px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 170px);
  animation: scratchShift 8s linear infinite;
}
.film-scratches::before,
.film-scratches::after {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .22), transparent);
}
.film-scratches::before { left: 12%; animation: verticalScratch 9s linear infinite; }
.film-scratches::after { left: 70%; width: 2px; opacity: .5; animation: verticalScratch 13s linear infinite reverse; }
@keyframes scratchShift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 620px, 0 420px; }
}
@keyframes verticalScratch {
  0% { transform: translateY(-12%); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(12%); opacity: 0; }
}
.film-dust {
  opacity: .35;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .10) 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 68%, rgba(255, 255, 255, .08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 48% 84%, rgba(255, 255, 255, .06) 0 1px, transparent 1.5px);
  background-size: 340px 300px, 260px 240px, 420px 360px;
  animation: dustFloat 16s ease-in-out infinite alternate;
}
@keyframes dustFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-30px, 18px, 0); }
}

/* ---------- 片尾 ---------- */
.outro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050403;
  color: var(--ink);
}
.outro-inner { text-align: center; }
.outro-leader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid rgba(243, 234, 219, .35);
  color: var(--accent);
  font-size: 30px;
  margin-bottom: 26px;
  animation: outroPulse 2.4s ease-in-out infinite;
}
.outro-title {
  font-family: "Arial Black", -apple-system, "PingFang SC", sans-serif;
  font-size: clamp(46px, 9vw, 120px);
  letter-spacing: .08em;
  color: #f3eadb;
}
.outro-line {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .3em;
}
@keyframes outroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 99, 60, .35); }
  50% { box-shadow: 0 0 0 16px rgba(212, 99, 60, 0); }
}

/* ---------- 动效克制 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .leader-sweep,
  .leader-num.tick,
  .film-grain,
  .film-scratches,
  .film-dust,
  .stage-ip .ip-figure,
  .stage.whip .stage-ip,
  .outro-leader {
    animation: none !important;
  }
  .film-grain,
  .film-scratches,
  .film-dust { opacity: .02; }
}

/* =========================================================
   回退到基础电影风：关闭交互与前景文字效果
   ========================================================= */
.stage::before,
.stage::after {
  background: #050403;
  background-image: none;
  box-shadow: none;
}

.stage-ip {
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  cursor: default;
  touch-action: auto;
  user-select: auto;
  -webkit-user-select: auto;
}

.stage-ip::before { display: none; }

.stage-ip .ip-figure {
  width: 100%;
  height: 100%;
  transform: none;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.stage-ip .ip-figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: none;
  -webkit-mask-image: none;
}

.big-word {
  z-index: 1;
  color: rgba(255, 255, 255, .12);
  -webkit-text-stroke: 0;
  text-shadow: none;
  mask-image: none;
  -webkit-mask-image: none;
}

/* =========================================================
   保留创意层：齿孔 / 每屏 LUT / 投影光标 / 分镜时间轴
   ========================================================= */
.stage::before,
.stage::after {
  background-color: #050403;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0 15px,
      rgba(244, 235, 220, .18) 15px 22px,
      transparent 22px 37px);
}
.stage::before { box-shadow: inset 0 -1px rgba(244, 235, 220, .10); }
.stage::after { box-shadow: inset 0 1px rgba(244, 235, 220, .10); }

/* ---------- 每屏不同电影 LUT ---------- */
#home .stage-ip .ip-figure video {
  filter: saturate(1.06) contrast(1.12) brightness(.98) sepia(.05) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}
#about .stage-ip .ip-figure video {
  filter: saturate(.92) contrast(1.10) brightness(.96) hue-rotate(-8deg) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}
#experience .stage-ip .ip-figure video {
  filter: sepia(.16) saturate(1.16) contrast(1.08) brightness(.97) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}
#projects .stage-ip .ip-figure video {
  filter: contrast(1.22) saturate(.85) brightness(.94) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}
#gallery .stage-ip .ip-figure video {
  filter: grayscale(.16) contrast(1.12) brightness(.96) sepia(.08) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}
#skills .stage-ip .ip-figure video {
  filter: hue-rotate(6deg) saturate(1.05) contrast(1.10) brightness(.97) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}
#contact .stage-ip .ip-figure video {
  filter: sepia(.10) saturate(1.10) brightness(.98) contrast(1.05) drop-shadow(0 22px 48px rgba(0, 0, 0, .55));
}

/* ---------- 光标：投影灯光 ---------- */
@media (pointer: fine) {
  body, a, button, .stage-ip {
    cursor: none;
  }
  .cursor {
    width: clamp(180px, 22vw, 300px);
    height: clamp(180px, 22vw, 300px);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 244, 224, .34) 0%, rgba(255, 214, 150, .12) 35%, transparent 68%);
    mix-blend-mode: screen;
    filter: blur(2px);
    box-shadow: 0 0 80px rgba(255, 190, 120, .16);
  }
}

/* ---------- 分镜时间轴 ---------- */
.storyboard {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 13px;
  pointer-events: auto;
}
.sb-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  text-decoration: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  opacity: .52;
  transition: opacity .25s ease, color .25s ease;
}
.sb-item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: block;
  flex: none;
}
.sb-item span {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}
.sb-item:hover span,
.sb-item.active span {
  opacity: 1;
  transform: translateX(0);
}
.sb-item:hover,
.sb-item.active {
  color: var(--accent);
  opacity: 1;
}
@media (max-width: 900px) {
  .storyboard { display: none; }
}

/* =========================================================
   电影标题卡 + 左右悬浮气泡
   ========================================================= */
.stage-heading {
  position: absolute;
  z-index: 5;
  left: clamp(18px, 4vw, 60px);
  top: calc(clamp(38px, 7vh, 70px) + 3.5vh);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}
.heading-index {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--accent);
}
.stage-heading strong {
  font-family: "Arial Black", -apple-system, "PingFang SC", sans-serif;
  font-size: clamp(30px, 4vw, 66px);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--ink);
  text-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

.stage-bubbles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.bubble {
  position: absolute;
  max-width: clamp(160px, 21vw, 300px);
  padding: 9px 14px;
  border-radius: 18px 18px 18px 5px;
  background: rgba(23, 19, 16, .72);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .26);
  font-family: "Songti SC", "STSong", "PingFang SC", serif;
  font-size: clamp(12px, 1.25vw, 15px);
  line-height: 1.4;
  letter-spacing: .04em;
  animation: bubbleFloat 6.5s ease-in-out infinite;
}
.bubble--one { left: clamp(14px, 3.5vw, 54px); top: 24%; }
.bubble--two { left: clamp(14px, 3.5vw, 54px); top: 62%; animation-delay: -2.2s; }
.bubble--three { right: clamp(14px, 3.5vw, 54px); top: 30%; animation-delay: -3.4s; }
.bubble--four { right: clamp(14px, 3.5vw, 54px); top: 66%; animation-delay: -1.1s; }
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-11px) rotate(1.5deg); }
}
@media (max-width: 900px) {
  .stage-heading {
    left: 14px;
    top: calc(clamp(38px, 7vh, 70px) + 2.5vh);
  }
  .stage-heading strong { font-size: clamp(26px, 9vw, 40px); }
  .bubble {
    max-width: 42vw;
    padding: 7px 11px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .bubble--two,
  .bubble--four { display: none; }
  .bubble--one { left: 12px; top: 24%; }
  .bubble--three { right: 12px; top: 34%; }
}
