/* 首页 3D 影片：画布固定在后面，滚动只推进镜头；文字压在画面左下。方角，无卡片。 */
.page-film { background: #0b0b0c; }
.film-track { position: relative; height: 900vh; }

.scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.scene-fallback { position: fixed; inset: 0; z-index: 0; display: none;
  background: url(/assets/film-still.jpg) center / cover no-repeat, radial-gradient(60% 50% at 50% 55%, #2a2622 0%, rgba(11, 11, 12, 0) 70%), #0b0b0c; }
.no-webgl .scene { display: none; }
.no-webgl .scene-fallback { display: block; }
.scene-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(11, 11, 12, .8) 0%, rgba(11, 11, 12, 0) 48%),
    linear-gradient(to right, rgba(11, 11, 12, .5) 0%, rgba(11, 11, 12, 0) 52%); }

/* 开场 */
.loader { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.loader svg { display: block; }
.loader__mark { animation: breathe 1.6s ease-in-out infinite; }
.loader.is-opening .loader__mark { animation: none; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* 顶栏：品牌在左，文字导航和 X 在右 */
.fbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); }
.fbar__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.fbar__nav > a:not(.xbtn) { color: rgba(229, 225, 216, .74); padding: 4px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.fbar__nav > a:not(.xbtn):hover { color: var(--cream); border-color: var(--cream); }
.fbar .xbtn { background: rgba(20, 20, 22, .35); }

/* 章节 */
.ch { position: fixed; z-index: 10; left: var(--gut); bottom: 10vh; width: min(640px, calc(100% - var(--gut) * 2)); opacity: 0; pointer-events: none; will-change: opacity, transform; }
.ch.is-on { pointer-events: auto; }
.ch h1, .ch h2 { font-weight: 700; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.18; letter-spacing: .01em; color: var(--cream); text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
.ch h1 { font-weight: 900; font-size: clamp(48px, 6.6vw, 100px); line-height: 1.08; }
.ch p { margin-top: 18px; max-width: 480px; font-size: 16px; line-height: 1.85; color: rgba(229, 225, 216, .84); text-shadow: 0 1px 18px rgba(0, 0, 0, .6); }
.ch .ch__live { margin-top: 12px; font-size: 14px; color: rgba(229, 225, 216, .62); }
.ch b { font-weight: 500; color: var(--cream); }
.is-live [data-when="pending"], body:not(.is-live) [data-when="live"] { display: none; }
.ch--3 { left: auto; right: var(--gut); text-align: right; }
.ch--3 p { margin-left: auto; }
.ch--6 { left: 0; right: 0; margin: 0 auto; bottom: 8vh; text-align: center; width: min(640px, calc(100% - var(--gut) * 2)); }
.ch--6 p { margin-left: auto; margin-right: auto; }
.ch__cta { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.btn--big { height: 54px; padding: 0 40px; font-size: 16px; }
.ch__legal { margin-top: 26px !important; font-size: 12px !important; color: rgba(229, 225, 216, .45) !important; }

.scroll-cue { position: fixed; z-index: 10; right: var(--gut); bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; color: rgba(229, 225, 216, .6); transition: opacity .4s; }
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--cream), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.is-scrolled .scroll-cue { opacity: 0; }

.noscript { position: fixed; z-index: 30; left: var(--gut); bottom: 10vh; max-width: 480px; }

@media (max-width: 760px) {
  .page-film { --gut: 18px; }
  .fbar { height: 58px; }
  .fbar__nav { gap: 16px; font-size: 13px; }
  .fbar__nav > a:nth-child(2) { display: none; }
  .xbtn__t { display: none; }
  .xbtn { padding: 0 9px; }
  .ch { bottom: 7vh; }
  .ch h2 { font-size: clamp(27px, 7.6vw, 38px); }
  .ch h1 { font-size: clamp(46px, 14vw, 64px); }
  .ch p { font-size: 15px; margin-top: 12px; line-height: 1.75; }
  .ch .ch__live { font-size: 13px; }
  .ch--3 { left: var(--gut); right: auto; text-align: left; }
  .ch--3 p { margin-left: 0; }
  .scroll-cue { display: none; }
  .scene-shade { background: linear-gradient(to top, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .2) 55%, rgba(11, 11, 12, 0) 70%); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue i, .loader__mark { animation: none; }
}
