/* =========================================================================
   OPPO「关于 OPPO」复刻
   全部动效由 GSAP + ScrollTrigger 以同一条滚动进度驱动（与官网一致）
   尺寸沿用官网 rpx 体系：--rpx = min((100vw - 128px)/1312, 1px)
   ========================================================================= */

:root {
  --rpx: min(calc((100vw - 128px) / 1312), 1px);
  --vh: 1vh;
  --vw: 1vw;
  --nav-height: 64px;
  --content-height: 100vh;
  --anchor-color: #fff;
  --ease: cubic-bezier(.4, 0, .2, 1);
}
@media (max-width: 1023px) { :root { --rpx: calc(100vw / 720); --nav-height: 56px; } }
@media (max-width: 767px)  { :root { --rpx: calc(100vw / 328); --nav-height: 52px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #000;
  color: #000;
  font-family: "OPPOSans-Ver2-Medium", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p, h2, h3, h4 { margin: 0; font-weight: 500; }

/* 本项目的导航是 fixed 透明浮层，KV 直接顶到视口顶部即可；
   若留 52px 占位会在透明导航下方露出一条黑色带（顶部黑框），故不保留 */
.zn--wrapper { position: relative; background: #000; font-size: 16px; }

.sec-label { font-size: 20px; line-height: 1.6; opacity: .75; }
.sec-title { font-size: 48px; line-height: 1.3; margin-top: 4px; }
@media (max-width: 1023px) {
  .sec-label { font-size: 14px; }
  .sec-title { font-size: 32px; }
}

/* =========================================================================
   顶部导航（与首页 navbar 完全一致：透明 + 滚动后深色玻璃）
   ========================================================================= */
.nav {
  z-index: 950;
  height: var(--nav-height);
  align-items: center;
  transition: background .35s, border-color .35s, box-shadow .35s;
  display: flex;
  position: fixed;
  inset: 0 0 auto;
}
.nav.is-scrolled {
  background: rgba(3, 4, 9, .6);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  height: 100%;
  display: flex;
  width: 100%;
  max-width: calc(1180px + clamp(1.25rem, 4vw, 2.5rem) * 2);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.brand {
  letter-spacing: .03em;
  border-radius: 9999px;
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  border: 1px solid transparent;
  align-items: center;
  gap: .65rem;
  padding: .3rem .75rem .3rem .4rem;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  color: #e8eaf2;
}
.brand:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 4px 16px -8px rgba(0, 0, 0, .35);
}
.brand-mark {
  filter: drop-shadow(0 0 10px rgba(103, 232, 249, .3));
  width: 32px; height: 32px;
  flex: none; border-radius: 7px;
  transition: filter .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.brand:hover .brand-mark {
  filter: drop-shadow(0 0 18px rgba(103, 232, 249, .65));
  transform: scale(1.06);
}
.links {
  border-radius: 9999px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .04), transparent 65%), rgba(15, 20, 32, .04);
  -webkit-backdrop-filter: blur(1.1px) saturate(145%);
  backdrop-filter: blur(1.1px) saturate(145%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 4px 16px -8px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  align-items: center;
  gap: clamp(.2rem, 1vw, .4rem);
  margin: 0; padding: .3rem .38rem;
  list-style: none; display: flex;
}
.link {
  border-radius: 9999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .06em;
  color: #9ba1b6;
  transition: color .22s ease, background .22s ease, border-color .22s ease,
    box-shadow .22s cubic-bezier(.16, 1, .3, 1), transform .22s cubic-bezier(.16, 1, .3, 1);
  border: 1px solid transparent;
  padding: .42rem .85rem;
  font-size: .78rem;
  display: inline-block;
  position: relative;
}
.link:hover {
  color: #fff;
  background: linear-gradient(155deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02) 65%), rgba(15, 20, 32, .08);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  transform: translateY(-.5px);
}
.link-active {
  color: #e8eaf2;
  background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03) 65%), rgba(15, 20, 32, .12);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  font-weight: 500;
}
@media (max-width: 560px) {
  .brand { font-size: 1rem; padding: .28rem .6rem .28rem .35rem; }
  .brand-mark { width: 28px; height: 28px; }
  .link { padding: .38rem .6rem; font-size: .74rem; }
  .nav-inner { padding-inline: 1rem; }
}

/* =========================================================================
   左侧锚点导航
   ========================================================================= */
.anchor {
  position: fixed; left: calc(var(--rpx) * 30); bottom: calc(var(--rpx) * 32);
  z-index: 950; display: flex; flex-direction: column;
  color: var(--anchor-color); mix-blend-mode: difference;
}
.anchor__item {
  display: flex; align-items: center; cursor: pointer;
  font-size: 12px; line-height: 1; position: relative; padding: 5px 0;
  transition: color .3s var(--ease);
}
.anchor__item + .anchor__item { margin-top: 8px; }
.anchor__num {
  font-style: normal; font-size: 10px; line-height: 14.4px; margin-right: 4px;
  opacity: .3; transition: all .3s var(--ease);
}
.anchor__label {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: .55;
  transition: max-width .6s var(--ease), opacity .3s var(--ease);
}
.anchor__item.is-active .anchor__num { opacity: 1; }
.anchor__item.is-active .anchor__label { max-width: 200px; opacity: .95; }
.anchor__item::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; opacity: 0; transition: all .3s var(--ease);
}
.anchor__item.is-active::after { width: 100%; opacity: 1; }
@media (max-width: 767px) {
  .anchor {
    left: 0; right: 0; bottom: 0; flex-direction: row; justify-content: center;
    gap: 14px; padding: 12px 16px; background: rgba(0, 0, 0, .35);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    mix-blend-mode: normal; overflow-x: auto;
  }
  .anchor__item + .anchor__item { margin-top: 0; }
  .anchor__num { display: none; }
  .anchor__label, .anchor__item.is-active .anchor__label { max-width: 200px; }
}

/* =========================================================================
   01 KV：品牌口号
   ========================================================================= */
.kv { position: relative; }
.kv-container { position: relative; z-index: 3; height: 400vh; }
.kv-content { position: sticky; top: 0; left: 0; width: 100%; height: var(--content-height); overflow: hidden; }
.move-box { height: 100%; }
.video-switcher { position: relative; height: 100%; }
.video-player {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: hidden; z-index: 1;
}
.video-container { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; transition: opacity .3s ease; }
.kv-video { width: 100%; height: 100%; object-fit: cover; }

/* 渐变压暗保证白字可读；挂在 video-player 内，随 move-box 一起上移退场 */
.video-player::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.20) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.75) 100%);
}

.text-container-wrapper {
  position: absolute; inset: 0; z-index: 9;
  display: flex; align-items: center; justify-content: center;
}
.now-text-container { text-align: center; display: flex; flex-direction: column; align-items: center; }
.kv-text { display: flex; align-items: flex-end; justify-content: center; white-space: nowrap; color: #fff; }
.kv-text__a { height: 176px; width: 254px; }
.kv-text__b { height: 154px; width: 300px; margin-left: -75px; }
@media (max-width: 1023px) {
  .kv-text__a { height: 86px; width: 124px; }
  .kv-text__b { height: 76px; width: 148px; margin-left: -37px; }
}
.fade-text { margin-top: 16px; font-size: 24px; line-height: 1.6; }
.fade-text .text-element { color: rgba(255, 255, 255, .95); }
.fade-text .text-element span { opacity: 0; }
@media (max-width: 1023px) { .fade-text { font-size: 16px; } }

.play-btn-opacity { opacity: 0; }

/* ---------- 照片墙 boom ---------- */
.brand-sticky-container {
  position: absolute; left: 0; width: 100%; z-index: 2;
  height: 300vh; margin-top: -300vh;
}
/* 官网：网格靠 .content--spacing 的 y 位移定位，不参与垂直居中，
   因此 .brand-sticky 不能用 align-items:center，否则会把整块网格再下推 */
.brand-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.boom-container {
  position: sticky; top: 0; z-index: 1;
  width: 100%; height: var(--grid-height, 100vh);
}
.boom-container .content { width: 94vw; margin: 0 auto; }
.grid {
  display: grid; margin: 0 auto; place-items: center; width: 100%;
  min-height: 30vh;
  -webkit-perspective: var(--perspective); perspective: var(--perspective);
  --grid-width: 105%;
  --grid-columns: 8;
  --perspective: 1500px;
  --grid-inner-scale: 1;
  --grid-height: auto;
  --grid-gap: 2vw;
  --grid-item-ratio: 1.5;
}
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: var(--grid-gap);
  width: var(--grid-width);
  height: var(--grid-height);
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
}
.grid__item {
  position: relative; width: 100%; height: auto;
  aspect-ratio: var(--grid-item-ratio);
}
.grid__item > * { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.grid__item-inner {
  position: absolute; object-fit: cover; object-position: center; overflow: hidden;
  width: 100%; height: 100%; border-radius: 2px;
}
.grid__item-inner.is-fixed { width: calc(var(--rpx) * var(--w)); height: calc(var(--rpx) * var(--h)); }

/* 「我们的用户」文案 */
.brand-bg {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.brand-text {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  mix-blend-mode: difference; z-index: 100; color: #fff; text-align: center; padding: 0 24px;
}
.brand-slogen { color: rgba(255, 255, 255, .75); font-size: 20px; line-height: 1.2; }
.brand-title { color: rgba(255, 255, 255, .95); font-size: 48px; line-height: 1.3; margin: 8px 0 20px; }
.brand-desc  { color: rgba(255, 255, 255, .95); font-size: 22px; line-height: 1.6; }
.brand-desc--last { margin-top: 28px; }
@media (max-width: 1023px) {
  .brand-slogen { font-size: 14px; }
  .brand-title { font-size: 32px; margin: 4px 0 20px; }
  .brand-desc { font-size: 16px; }
}

/* 锚点：02 我们的用户 */
.anchor-target { position: absolute; left: 0; top: 240vh; width: 1px; height: 1px; }
@media (max-width: 1023px) { .anchor-target { top: 220vh; } }

/* ---------- 作品带 ---------- */
.boom-sticky-container {
  height: var(--boom-sticky-height, 580vh);
  margin-top: -100vh;
}
#section-boom { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr; }
#pics {
  grid-area: 1 / 1 / 2 / 2; align-self: end; position: relative; z-index: 1;
  height: 100vh; overflow: hidden;
}
.pics-content {
  position: relative; z-index: 3; width: 100%; height: 100vh; overflow: hidden;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  padding: calc(var(--rpx) * 50) 0;
}
.pics-list {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100%;
  grid-column-gap: 0; grid-row-gap: 0;
  width: 100%; height: 100%; margin: 0 auto;
  -webkit-perspective: 1000px; perspective: 1000px;
}
.pics-list-item { position: relative; text-align: left; z-index: var(--pics-item-index, 1); }
.pics-list-item:nth-of-type(odd) { grid-column: 1; grid-row: 1; }
.pics-list-item:nth-of-type(2n)  { grid-column: 2; grid-row: 1; }
.pics-list-item-inner {
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto;
  align-content: center; height: 100%; width: 100%; position: relative; text-align: left;
}
.of-wrapper {
  width: calc(var(--rpx) * var(--w)); height: calc(var(--rpx) * var(--h));
  border-radius: calc(var(--rpx) * 8); overflow: hidden;
}
.pics-list-item-inner-img { display: grid; overflow: hidden; height: 100%; }
.pics-list-item-inner-img img,
.pics-list-item-inner-img video { width: 100%; height: 100%; object-fit: cover; }
.pics-list-item-inner-text { margin-top: 24px; text-align: left; white-space: nowrap; width: calc(var(--rpx) * var(--w)); }
.pics-list-item-inner-text p:first-of-type { color: #fff; font-size: 22px; line-height: 1.3; }
.pics-list-item-inner-text p:last-of-type { color: rgba(255,255,255,.95); font-size: 14px; line-height: 1.6; margin-top: 10px; opacity: .55; }
@media (max-width: 1023px) {
  .pics-list-item-inner-text { margin-top: 12px; }
  .pics-list-item-inner-text p:first-of-type { font-size: 14px; }
  .pics-list-item-inner-text p:last-of-type { font-size: 10px; margin-top: 4px; }
}

.text-mask {
  grid-area: 1 / 1 / 2 / 2; position: relative; z-index: 2; width: 100%; height: 100%;
  background: linear-gradient(180deg, #000, rgba(0,0,0,0)); opacity: 0; pointer-events: none;
}
.last-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); pointer-events: none; }

/* =========================================================================
   03 关于我们
   ========================================================================= */
.about {
  position: relative; z-index: 20; background: #fff;
  margin-top: -100vh; height: 200vh;
}
.about .sticky {
  position: sticky; top: var(--nav-height);
  height: calc(var(--content-height) - var(--nav-height));
  display: flex; align-items: center;
}
.about .content { width: calc(var(--rpx) * 1312); margin: 0 auto; padding: calc(var(--rpx) * 80) 0; }
.content-inner { width: 100%; display: flex; flex-direction: column; }
.about__label { font-size: 20px; line-height: 1.6; opacity: .75; margin-bottom: 4px; }
.about__lead { font-size: calc(var(--rpx) * 48); line-height: 130%; color: rgba(0,0,0,.95); }
.about__lead span { opacity: .2; }
.b-wrapper {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-top: calc(var(--rpx) * 80); gap: calc(var(--rpx) * 60);
}
.about-image {
  position: relative; flex: 0 0 auto;
  width: calc(var(--rpx) * 534); height: calc(var(--rpx) * 329);
  border-radius: calc(var(--rpx) * 8); overflow: hidden;
}
.about-image img { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--rpx) * 349); object-fit: cover; }
.about-image video { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--rpx) * 349); object-fit: cover; }
.desc-wrapper { flex: 0 0 auto; width: calc(var(--rpx) * 618); }
.about__desc { font-size: calc(var(--rpx) * 22); line-height: 160%; color: rgba(0,0,0,.72); }
.about__desc span { opacity: .2; }
.about__desc + .about__desc { margin-top: 18px; }

@media (max-width: 1023px) {
  .about { margin-top: -60vh; height: 180vh; }
  .about .content { width: calc(var(--rpx) * 720); }
  .about__label { font-size: 14px; }
  .about__lead { font-size: calc(var(--rpx) * 32); }
  .b-wrapper { flex-direction: column; gap: 24px; margin-top: 40px; }
  .about-image { width: calc(var(--rpx) * 284); height: calc(var(--rpx) * 190); }
  .desc-wrapper { width: 100%; }
  .about__desc { font-size: 16px; }
}

/* =========================================================================
   04 品牌产品与服务
   ========================================================================= */
.service {
  position: relative; z-index: 30; background: #fff; overflow: hidden;
  margin-top: -100vh;
  padding: calc(var(--rpx) * 80) 0 calc(var(--rpx) * 69);
}
.service .content {
  width: 100%; margin: 0 auto;
  padding-left: calc(50vw - var(--rpx) * 656);
  overflow: hidden;
}
.service__head { display: flex; justify-content: space-between; align-items: flex-end; }
.service__titles { width: calc(var(--rpx) * 1312); }
.cards-wrap { display: flex; margin-top: calc(var(--rpx) * 54); margin-left: calc(var(--rpx) * 4); overflow: hidden; flex: 1; }
.cards { display: flex; align-items: flex-start; height: calc(var(--rpx) * 495); will-change: transform; transition: transform .5s var(--ease); }
.card {
  position: relative; flex: 0 0 auto; cursor: pointer; overflow: hidden;
  width: calc(var(--rpx) * 284); height: calc(var(--rpx) * 307);
  margin-left: calc(var(--rpx) * 10);
  border-radius: calc(var(--rpx) * 8);
  will-change: width, height;
  transition: width .5s var(--ease), height .5s var(--ease);
}
.card:first-child { margin-left: 0; }
.card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .5s var(--ease); }
.card video { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .5s var(--ease); }
.card:hover img { transform: scale(1.15); }
.card.active { width: calc(var(--rpx) * 507); height: calc(var(--rpx) * 495); border-radius: calc(var(--rpx) * 12.9); }
.card-text-wrp {
  position: absolute; left: 0; bottom: 0; width: 100%;
  padding: calc(var(--rpx) * 16) calc(var(--rpx) * 20);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.4) 100%);
}
.card-title {
  font-size: 18px; color: #fff; margin-bottom: calc(var(--rpx) * 6);
  transform-origin: left bottom; transition-duration: .45s; will-change: transform;
}
.card-desc { font-size: 12px; color: #fff; transform-origin: left top; transition-duration: .45s; will-change: transform; }
.card.active .card-title { transform: scale(1.333333333333333); }
.card.active .card-desc  { transform: scale(1.166666666666667); }
.learn-more {
  position: absolute; right: calc(var(--rpx) * 20); bottom: calc(var(--rpx) * 16);
  display: flex; align-items: center; gap: 2px;
  font-size: 12px; color: rgba(255,255,255,.95); white-space: nowrap;
  opacity: 0; transition: opacity .5s var(--ease);
}
.learn-more img { width: 18px; height: 18px; }
.card:hover .learn-more, .learn-more.more-active { opacity: 1; }
.card.active .learn-more p { font-size: 14px; line-height: 22px; }
.card.active .learn-more img { width: 20px; height: 20px; }

.progress {
  margin-top: calc(var(--rpx) * 50); width: calc(var(--rpx) * 180); height: 1.6px;
  background: rgba(0,0,0,.2); border-radius: 999px; overflow: hidden;
}
.step { height: 100%; width: 20%; background: #000; border-radius: 999px; transition: width .5s var(--ease); }

/* 通用翻页按钮 */
.btn-ani-wrapper { position: relative; display: flex; height: 30px; color: #000; }
.handler-btn { height: 30px; cursor: pointer; }
.handler-btn.left-btn { margin-right: 2px; }
.handler-btn.right-btn { margin-left: 8px; }
.handler-btn__box {
  position: relative; width: max-content; height: 30px; padding: 12px;
  border: 1px solid currentColor; border-radius: 130px;
  display: flex; align-items: center;
}
.arrow { display: flex; align-items: center; justify-content: center; }
.arrow svg { transform: rotate(180deg); }
.arrow--r svg { transform: none; }
.line { display: block; height: 1px; width: 48px; background: currentColor; border-radius: 999px; margin-left: -3px; transition: width .3s linear; }
.line--s { width: 12px; }
.handler-btn.is-off { opacity: .3; pointer-events: none; }

@media (max-width: 1023px) {
  .service { margin-top: -60vh; padding: calc(var(--rpx) * 64) 0; }
  .service .content { padding-left: calc(var(--rpx) * 24); }
  .service__titles { width: calc(var(--rpx) * 720); }
  .cards { height: calc(var(--rpx) * 346); }
  .card { width: calc(var(--rpx) * 186); height: calc(var(--rpx) * 216); border-radius: calc(var(--rpx) * 4); }
  .card.active { width: calc(var(--rpx) * 324); height: calc(var(--rpx) * 346); border-radius: calc(var(--rpx) * 4); }
  .card.active .card-title { transform: scale(1.285714285714286) translateY(calc(var(--rpx) * -4)); }
  .card.active .card-desc  { transform: scale(1.2) translateY(calc(var(--rpx) * -4)); }
  .progress { width: calc(var(--rpx) * 324); margin-top: calc(var(--rpx) * 36); }
}

/* =========================================================================
   05 品牌科技实力
   ========================================================================= */
.patent { position: relative; background: #F9F9F9; margin-top: -1px; }
/* 注意：本段的选择器一律加 .patent 前缀。
   官网曾用全局 .cards / .card-content，会命中「品牌产品与服务」的同名元素，
   导致卡片容器被绝对定位、高度塌陷。 */
.patent__inner {
  position: relative; margin: 0 auto; padding-top: calc(var(--rpx) * 80);
  padding-bottom: calc(var(--rpx) * 140); padding-right: calc(var(--rpx) * 36);
  width: calc(var(--rpx) * 1312);
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
}
.patent .title-text-wrapper { flex: 0 0 auto; }
.patent .patent-title { position: relative; margin-top: 4px; overflow: hidden; width: calc(var(--rpx) * 920); }
.patent .patent-title .title { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transition: opacity .45s var(--ease); }
.patent .patent-title .title.active { opacity: 1; }
.patent .patent-title .title p { font-size: 48px; line-height: 130%; color: rgba(0,0,0,.95); }
@media (max-width: 1023px) { .patent .patent-title .title p { font-size: 32px; } }

.patent__ctrl { flex: 0 0 auto; }
.patent .cards-wrapper {
  position: relative; margin-top: calc(var(--rpx) * 47);
  width: calc(var(--rpx) * 732); height: calc(var(--rpx) * 452);
  flex: 0 0 100%;
}
.patent .cards { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: flex-start; }
.patent .card-content {
  width: calc(var(--rpx) * 358); height: calc(var(--rpx) * 219);
  margin-top: calc(var(--rpx) * 14);
  border: 1px solid #D9D9D9; border-radius: calc(var(--rpx) * 12);
  padding: calc(var(--rpx) * 22) calc(var(--rpx) * 26);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .45s var(--ease);
}
.patent .cards.active .card-content { opacity: 1; }
.patent .card-content .title { width: 100%; overflow: hidden; height: calc(var(--rpx) * 62.4); }
.patent .num-wrapper { display: flex; font-size: calc(var(--rpx) * 48); line-height: 130%; color: #000; }
.patent .num-wrapper .unit { font-style: normal; }
.patent .card__p { font-size: 14px; line-height: 160%; opacity: .5; }

/* 数字滚动 */
.patent .number-wrapper { display: flex; }
.patent .number-item {
  overflow: hidden; position: relative;
  width: calc(var(--rpx) * 29); height: calc(var(--rpx) * 62.4);
}
.patent .number-wrapper .comma { height: calc(var(--rpx) * 62.4); line-height: calc(var(--rpx) * 62.4); }
.patent .number-item > div { display: block; will-change: transform; }
.patent .number-item > div > div { height: calc(var(--rpx) * 62.4); line-height: calc(var(--rpx) * 62.4); text-align: center; }

@media (max-width: 1023px) {
  .patent__inner { width: calc(var(--rpx) * 720); padding-right: calc(var(--rpx) * 24); }
  .patent .cards-wrapper { width: calc(var(--rpx) * 720); height: calc(var(--rpx) * 340); }
  .patent .card-content { width: calc(50% - var(--rpx) * 8); height: calc(var(--rpx) * 161); padding: calc(var(--rpx) * 16); border-radius: calc(var(--rpx) * 8); }
  .patent .num-wrapper { font-size: 28px; }
  .patent .card-content .title, .patent .number-item, .patent .number-wrapper .comma, .patent .number-item > div > div { height: 42px; }
  .patent .number-item > div > div { line-height: 42px; }
  .patent .number-item { width: 18px; }
  .patent .patent-title { width: calc(var(--rpx) * 560); }
}

/* =========================================================================
   06 品牌合作
   注意：区块类名用 .brandsec，避免与顶部导航 logo 的 .brand 撞名——
   此前的 80px 内边距和深色背景会砸到导航 logo 上，形成「垂下的黑块」
   ========================================================================= */
.brandsec {
  position: relative; background: #fff; overflow: hidden;
  padding: calc(var(--rpx) * 80) 0;
}
.brand__inner { width: calc(var(--rpx) * 1312); margin: 0 auto; }
.brand__head { display: flex; justify-content: space-between; align-items: flex-end; }
.images-container { display: flex; margin-top: calc(var(--rpx) * 48); }
.bcard { flex: 0 0 auto; display: flex; flex-direction: column; width: calc(var(--rpx) * 432); }
.bcard + .bcard { margin-left: calc(var(--rpx) * 8); }
.img-wrapper { width: 100%; border-radius: calc(var(--rpx) * 8); overflow: hidden; background: #f2f2f2; }
.img-wrapper img { width: 100%; height: calc(var(--rpx) * 308); object-fit: cover; border-radius: calc(var(--rpx) * 8); }
.img-wrapper video { width: 100%; height: calc(var(--rpx) * 308); object-fit: cover; border-radius: calc(var(--rpx) * 8); }
.bcard__box {
  margin-top: calc(var(--rpx) * 4); flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #F6F6F6; border-radius: calc(var(--rpx) * 8); padding: calc(var(--rpx) * 24);
}
.bcard__t { font-size: calc(var(--rpx) * 22); line-height: 28.6px; opacity: .95; white-space: nowrap; }
.bcard__d { font-size: 14px; line-height: 160%; opacity: .6; margin-top: calc(var(--rpx) * 12); }
@media (max-width: 1023px) {
  .brand__inner { width: calc(var(--rpx) * 720); }
  .bcard { width: calc(var(--rpx) * 292); }
  .img-wrapper img { height: calc(var(--rpx) * 222); border-radius: calc(var(--rpx) * 4); }
  .bcard__box { border-radius: calc(var(--rpx) * 4); padding: calc(var(--rpx) * 16); }
  .bcard__t { font-size: 14px; line-height: 1.4; }
  .bcard__d { font-size: 12px; }
}
@media (max-width: 767px) {
  .images-container { overflow-x: auto; scroll-snap-type: x mandatory; }
  .images-container::-webkit-scrollbar { display: none; }
  .bcard { scroll-snap-align: start; }
}

/* =========================================================================
   页脚
   ========================================================================= */
.ft {
  position: relative; z-index: 40; background: #fff; border-top: 1px solid #EDEDED;
  padding: calc(var(--rpx) * 80) 0 calc(var(--rpx) * 117);
  font-size: 12px; color: rgba(0, 0, 0, .75);
}
.ft__wrap { width: calc(var(--rpx) * 1312); margin: 0 auto; }
.ft__top { display: flex; justify-content: space-between; gap: calc(var(--rpx) * 24); }
.ft__col { display: flex; flex-direction: column; min-width: 0; }
.ft__col h4 { font-size: 12px; font-weight: 500; color: rgba(0,0,0,.95); margin-bottom: 14px; }
.ft__col a { line-height: 2; opacity: .7; white-space: nowrap; transition: opacity .2s var(--ease); }
.ft__col a:hover { opacity: 1; }
.ft__mid {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: calc(var(--rpx) * 40); padding-top: 20px; border-top: 1px solid #EDEDED;
}
.ft__social { display: flex; align-items: center; gap: 14px; }
.ft__ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #F2F2F2; color: #333; }
.ft__ic:hover { background: #E6E6E6; }
.ft__bot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; opacity: .55; }
.ft__links { display: flex; gap: 18px; }
.ft__links a:hover { text-decoration: underline; }
@media (max-width: 1023px) {
  .ft__wrap { width: calc(var(--rpx) * 720); }
  .ft__top { flex-wrap: wrap; gap: 24px calc(var(--rpx) * 24); }
  .ft__col { width: calc(50% - var(--rpx) * 12); }
}
@media (max-width: 767px) {
  .ft__wrap { width: calc(var(--rpx) * 328); }
  .ft__col { width: 100%; }
  .ft__mid, .ft__bot { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =========================================================================
   移动端：把 3D 段落降级为普通纵向排布
   ========================================================================= */
@media (max-width: 1023px) {
  .kv-container { height: 250vh; }
  .brand-sticky-container { position: relative; height: auto; margin-top: 0; }
  .brand-sticky { position: static; height: auto; overflow: visible; padding: 80px 0; flex-direction: column; }
  .boom-container { position: static; height: auto; overflow: visible; }
  .grid { --grid-columns: 4; --grid-gap: 8px; --grid-item-ratio: 1.2; }
  .grid-wrapper { transform: none !important; }
  .grid__item { transform: none !important; filter: none !important; opacity: 1 !important; }
  .brand-bg { position: static; inset: auto; padding: 0 0 40px; }
  .brand-text { mix-blend-mode: normal; }
  .anchor-target { position: static; }

  .boom-sticky-container { height: auto; margin-top: 0; }
  #section-boom { position: static; height: auto; overflow: visible; }
  #pics { height: auto; overflow: visible; }
  .pics-content { height: auto; overflow: visible; padding: 40px 0; transform-style: flat; }
  .pics-list {
    display: flex; perspective: none; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 0 calc(var(--rpx) * 24); gap: calc(var(--rpx) * 24);
  }
  .pics-list::-webkit-scrollbar { display: none; }
  .pics-list-item { flex: 0 0 auto; scroll-snap-align: start; transform: none !important; opacity: 1 !important; filter: none !important; }
  .pics-list-item-inner-img { transform: none !important; }
  .text-mask, .last-mask { display: none; }

  .about { margin-top: 0; height: auto; }
  .about .sticky { position: static; height: auto; padding: 64px 0; }
  .about .content { height: auto; max-height: none; min-height: 0; padding: 0; }
  .service { margin-top: 0; }
  .service .content { padding-left: calc(var(--rpx) * 24); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================================
   微光主题：只改颜色和字体，尺寸、滚动和卡片数量保持原样
   ========================================================================= */
body, .zn--wrapper {
  background: #030409;
  color: #e8eaf2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.nav.is-scrolled {
  background: rgba(8, 10, 18, .78);
  color: #e8eaf2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.sec-label, .about__label { color: #67e8f9; opacity: 1; }
.about, .service, .brandsec { background: #07090f; color: #e8eaf2; }
.about__lead { color: rgba(232, 234, 242, .95); }
.about__desc { color: rgba(232, 234, 242, .72); }
.progress { background: rgba(103, 232, 249, .22); }
.step { background: #67e8f9; }
.btn-ani-wrapper { color: #e8eaf2; }
.patent { background: #0c1018; }
.patent .patent-title .title p { color: rgba(232, 234, 242, .95); }
.patent .card-content { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); }
.patent .num-wrapper { color: #e8eaf2; }
.patent .card__p { color: #9ba1b6; opacity: 1; }
.bcard__box { background: rgba(18, 20, 28, .92); }
.img-wrapper { background: #0c1018; }
.ft {
  background: #07090f;
  border-top-color: rgba(255, 255, 255, .08);
  color: rgba(232, 234, 242, .75);
}
.ft__col h4 { color: #e8eaf2; }
.ft__mid { border-top-color: rgba(255, 255, 255, .08); }
.ft__ic { background: rgba(255, 255, 255, .08); color: #e8eaf2; }
.ft__ic:hover { background: rgba(103, 232, 249, .18); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* =========================================================================
   移动端补丁（≤1023 / ≤767）
   背景：≤1023 的覆盖沿用 720 设计稿宽度（按 --rpx=100vw/720 推算），
   但 ≤767 把 --rpx 改为 100vw/328，导致 720 宽容器在手机上放大到
   ~2.2 倍视口宽度（390 屏实测 856px），页面横向溢出。
   这里把这些主容器收回视口内，并限制横滑卡片的单卡宽度。
   ========================================================================= */
@media (max-width: 1023px) {
  /* 作品带：#pics 是 #section-boom 的 grid item，min-width:auto 会被
     横滑内容撑爆（grid blowout），导致整页横向滚动 */
  #section-boom { grid-template-columns: minmax(0, 1fr); }
  #pics { min-width: 0; max-width: 100%; }
  .pics-content { width: 100%; min-width: 0; }
  .pics-list { width: 100%; box-sizing: border-box; }
  /* 单卡限宽，避免 728 设计宽的条目超出屏幕 */
  .of-wrapper { width: min(calc(var(--rpx) * var(--w)), 88vw); height: auto; aspect-ratio: var(--w) / var(--h); }
  .pics-list-item-inner-text { width: auto; max-width: 88vw; white-space: normal; }
}

@media (max-width: 767px) {
  /* —— 主容器：占满视口并留出两侧安全边距 —— */
  .about .content {
    width: 100%; box-sizing: border-box;
    padding-left: calc(var(--rpx) * 20); padding-right: calc(var(--rpx) * 20);
  }
  .service .content { padding-right: calc(var(--rpx) * 20); }
  .service__titles { width: 100%; }
  .patent__inner {
    width: 100%; box-sizing: border-box;
    padding-left: calc(var(--rpx) * 20); padding-right: calc(var(--rpx) * 20);
  }
  .patent .patent-title { width: 100%; }
  .patent .title-text-wrapper { flex: 0 0 100%; width: 100%; min-width: 0; }
  .ft__wrap {
    width: 100%; box-sizing: border-box;
    padding-left: calc(var(--rpx) * 20); padding-right: calc(var(--rpx) * 20);
  }

  /* —— 专利卡片：两列自适应，高度按比例 —— */
  .patent .cards-wrapper { width: 100%; height: auto; }
  .patent .cards { position: static; height: auto; }
  .patent .card-content { width: calc(50% - 7px); height: auto; aspect-ratio: 358 / 219; }
  .patent .card-content .title { height: auto; }
  .patent .num-wrapper { font-size: 34px; }

  /* —— 关于配图：跟随内容宽度 —— */
  .about-image { width: 100%; height: auto; aspect-ratio: 284 / 190; }
  .about-image img, .about-image video { height: 100%; }

  /* —— 先看哪一件：横滑单卡限宽 —— */
  .bcard { width: min(calc(var(--rpx) * 432), 80vw); }
  .img-wrapper img, .img-wrapper video { height: auto; aspect-ratio: 432 / 308; }

  /* —— 照片墙：瓷砖填满网格单元（放弃固定 --w/--h） —— */
  .grid__item-inner.is-fixed { width: 100%; height: 100%; }
}

/* —— 窄屏（≤480）导航微缩：logo 与胶囊链接更紧凑 —— */
@media (max-width: 480px) {
  .nav-inner { gap: .5rem; }
  .brand { font-size: 1rem; padding: .25rem .6rem .25rem .35rem; gap: .5rem; }
  .brand-mark { width: 26px; height: 26px; }
  .links { padding: .25rem .3rem; }
  .link { padding: .35rem .6rem; font-size: .72rem; }
}
