/* ================================================
   KEYSTONE HOMEPAGE - Figma 1:1 Replication
   Design width: 2560px | Each section: 1200px
   ================================================ */

#keystone-home-root,
#keystone-home-root *,
#keystone-home-root *::before,
#keystone-home-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#keystone-home-root {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #fff;
}

/* 独立预览页：消除浏览器默认边距，避免 html/body 黑底从边缘透出 */
html:has(#keystone-home-root) {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: #fff;
}

body:has(#keystone-home-root) {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: #fff;
}

/* ?? Fonts ?????????????????????????????????????? */
@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: local('HarmonyOS Sans SC Light'),
       local('HarmonyOS Sans SC'),
       url('../assets/fonts/HarmonyOS_Sans_SC_Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: local('HarmonyOS Sans SC Regular'),
       local('HarmonyOS Sans SC'),
       url('../assets/fonts/HarmonyOS_Sans_SC_Light.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Modern No. 20';
  src: local('Modern No. 20'),
       local('Modern No.20'),
       local('Modern No.20 BT'),
       url('../assets/fonts/ModernNo20-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bahnschrift';
  src: local('Bahnschrift Bold Condensed'),
       local('Bahnschrift SemiBold Condensed'),
       local('Bahnschrift');
  font-weight: 700;
  font-stretch: condensed;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'D-DIN-PRO';
  src: local('D-DIN-PRO Heavy'),
       local('D-DIN PRO Heavy'),
       local('DINPro-Bold'),
       local('D-DIN-PRO');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ?? Desktop scale container ??????????????????? */
#ks-outer {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background: #fff;
}

#ks-inner {
  width: 2560px;
  transform-origin: top left;
  background: #ffffff;
  /* JS sets transform: scale(N) */
}

/* ????? section ??????? body ?? */
#ks-inner > .ks-section + .ks-section {
  margin-top: -4px;
}

/* ?? Section base ??????????????????????????????? */
.ks-section {
  width: 2560px;
  height: 1200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* 注意：不要对 .ks-section 使用 content-visibility:auto。
   这些区块（尤其 s-brand 钉屏区）真实高度差异极大，固定占位高度会在滚动时
   造成整页高度跳变（“滑动退回”/卡顿）。此处保持正常渲染以确保滚动丝滑。 */

.ks-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateZ(0);
  --hero-slide-dur: 0.92s;
  --hero-slide-ease: cubic-bezier(0.76, 0, 0.24, 1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform var(--hero-slide-dur) var(--hero-slide-ease);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
}

.s-hero .hero-arrows,
.s-hero .hero-dots {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* ================================================
   SECTION 1 ? HERO
   ================================================ */
.s-hero { background: #b6c9de; }

.s-hero .hero-content {
  position: absolute;
  left: 480px;
  top: 398px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.s-hero .hero-logos {
  display: flex;
  gap: 384px;
  align-items: flex-start;
}

.s-hero .logo-one {
  width: 608px;
  height: 259px;
  object-fit: contain;
}

.s-hero .logo-key {
  width: 608px;
  height: 268px;
  object-fit: contain;
}

.s-hero .hero-tagline {
  font-family: 'HarmonyOS Sans SC', 'Noto Sans SC', sans-serif;
  font-weight: 300;
  font-size: 40px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 10px 10px 0;
  line-height: normal;
  white-space: nowrap;
}

.s-hero .hero-btn {
  background: #000;
  width: 399px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 32px 7px 11px;
  cursor: pointer;
}

.s-hero .hero-btn span {
  font-family: 'Noto Sans SC', 'HarmonyOS Sans SC', sans-serif;
  font-weight: 700;
  font-size: 60px;
  color: #547ecb;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: normal;
  white-space: nowrap;
}

/* Navigation arrows */
.s-hero .hero-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2458px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s-hero .hero-arrow-btn {
  width: 18px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.s-hero .hero-arrow-btn img {
  width: 18px;
  height: 30px;
  object-fit: contain;
}

/* Carousel dots */
.s-hero .hero-dots {
  position: absolute;
  top: 1140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.s-hero .hero-dot {
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(217, 217, 217, 0.5);
}

.s-hero .hero-dot.active {
  background: #d9d9d9;
}

/* ================================================
   SECTION 2 ? BRAND
   ================================================ */
.s-brand {
  background: #171717;
  --ks-marquee-duration: 384s;
  --ks-marquee-gap: 32px;
  --brand-pin-h: 1200px;
  position: relative;
  height: var(--brand-pin-h);
  overflow: visible;
}

.s-brand-pin-wrap {
  position: relative;
  width: 100%;
  height: var(--brand-pin-h);
}

.s-brand-pin {
  position: relative;
  width: 100%;
  height: var(--brand-pin-h);
  overflow: hidden;
  background: transparent;
  /* ?? body ???????? .s-brand ?? */
  --ks-marquee-duration: 384s;
  --ks-marquee-gap: 32px;
}

/* ??????????????? pin */
.s-brand-pin .brand-topo-layer {
  position: absolute;
  inset: 0;
  left: 0;
  width: 2560px;
  bottom: -6px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ?????????????? JS ???????????? */
.s-brand-pin .brand-topo-layer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -6px;
  z-index: 1;
  pointer-events: none;
  opacity: var(--brand-white-fade, 0);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.06) 52%,
    rgba(255, 255, 255, 0.38) 86%,
    #ffffff 100%
  );
}

.s-brand-pin .brand-topo-canvas,
.s-product .product-topo-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.s-brand-pin.is-viewport-pinned {
  position: fixed;
  top: 0;
  z-index: 100;
  overflow: hidden;
  transform-origin: top left;
  will-change: transform, left;
}

.s-brand-pin .brand-ui-fade {
  transition: opacity 0.05s linear;
}

.s-brand-pin.is-brand-zooming .brand-marquee-group.ks-marquee-ready {
  transition: none;
}

.s-brand-pin .brand-keystone-logo {
  position: absolute;
  top: 167px;
  left: 50%;
  transform: translateX(-50%);
  width: 202px;
  height: 131px;
  object-fit: contain;
}

/* ?? Marquee (right ? left) ????????????????????? */
@keyframes ks-marquee-rtl {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes ks-marquee-ltr {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.ks-marquee {
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.ks-marquee__track {
  display: flex;
  width: max-content;
  contain: layout style;
}

.ks-marquee__loop {
  display: flex;
  flex-shrink: 0;
}

.ks-marquee--rtl .ks-marquee__track {
  animation: ks-marquee-rtl var(--ks-marquee-duration, 24s) linear infinite;
}

.ks-marquee--ltr .ks-marquee__track {
  transform: translate3d(-50%, 0, 0);
  animation: ks-marquee-ltr var(--ks-marquee-duration, 24s) linear infinite;
}

.ks-marquee__chunk {
  flex-shrink: 0;
  padding-right: var(--ks-marquee-gap, 48px);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .ks-marquee--rtl .ks-marquee__track,
  .ks-marquee--ltr .ks-marquee__track {
    animation: none;
    transform: translateX(0);
  }
}

/* ? brand-card ???????350 + 500/2 = 600?? brand-scroll.js ??? */
.s-brand-pin .brand-marquee-group {
  position: absolute;
  left: 0;
  top: 600px;
  transform: translateY(-50%);
  width: 2560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.s-brand-pin .brand-marquee-group.ks-marquee-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}

.s-brand-pin .brand-crafting,
.s-brand-pin .brand-watermark {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
}

.s-brand-pin .brand-crafting .ks-marquee__chunk,
.s-brand-pin .brand-crafting .ks-marquee__loop .ks-marquee__chunk {
  font-family: 'Modern No. 20', 'Times New Roman', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 160px;
  color: #d7ff00;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.02em;
}

.s-brand-pin .brand-watermark .ks-marquee__chunk,
.s-brand-pin .brand-watermark .ks-marquee__loop .ks-marquee__chunk {
  font-family: 'Noto Sans SC', 'HarmonyOS Sans SC', sans-serif;
  font-weight: 700;
  font-size: 160px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Center product card ? position/size driven by brand-scroll.js */
.s-brand-pin .brand-card {
  position: absolute;
  top: 350px;
  left: 50%;
  transform: translateX(-50%);
  width: 840px;
  height: 500px;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
  padding: 85px 156px 84px 155px;
  z-index: 5;
  will-change: width, height, top, left, padding;
}

/* ????????? #5a5d53???????????? */
.s-brand-pin .brand-card-solid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #5a5d53;
  pointer-events: none;
}

.s-brand-pin .brand-card-topo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.s-brand-pin .brand-card-topo-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.s-brand-pin .brand-card-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* ??????? 50% ?? + ?????????? brand-scroll.js ??? */
.s-brand-pin .brand-card-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
  opacity: var(--brand-photo-dim, 1);
}

.s-brand-pin .brand-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-color: #45483f;
  opacity: var(--brand-photo-mask, 0.86);
  mix-blend-mode: color;
}

/* ?? / ??? CJ???????? */
.s-brand-pin .brand-media-cj,
.s-brand-pin .brand-stage-img.brand-stage-b {
  width: 96%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center 12%;
}

.s-brand-pin .brand-media-cj {
  position: relative;
  z-index: 1;
  display: block;
}

.s-brand-pin .brand-card-media {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 529px;
  height: 331px;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-brand-pin .brand-media-fun {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.s-brand-pin .brand-card-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.s-brand-pin .brand-stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
}

/* ??????? KEY FOR FUN ?????????? #e9eae4? */
.s-brand-pin .brand-stage-b-headline {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bahnschrift', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-stretch: condensed;
  font-size: 440px;
  line-height: 0.95;
  letter-spacing: 0;
  color: #e9eae4;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform, color, opacity;
}

.s-brand-pin .brand-stage-img.brand-stage-b {
  z-index: 3;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ????????? B ?????????????? */
.s-brand-pin .brand-stage-copy-c {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 48px 80px;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.s-brand-pin .brand-copy-headline-slot {
  flex-shrink: 0;
  width: 100%;
  height: 380px;
  pointer-events: none;
}

.s-brand-pin .brand-copy-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: 'D-DIN-PRO', 'Oswald', Impact, sans-serif;
  font-weight: 800;
  font-size: 50px;
  line-height: 60px;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ??????????????????? */
.s-brand-pin .brand-copy-line {
  position: relative;
  margin: 0;
  overflow: hidden;
  max-width: 100%;
}

.s-brand-pin .brand-copy-line__text {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.s-brand-pin .brand-copy-line__wipe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  background-color: #d7ff00;
  transform: translate3d(calc(var(--line-reveal, 0) * 100%), 0, 0);
  pointer-events: none;
  will-change: transform;
}

.s-brand-pin .brand-copy-line__wipe--2 {
  width: 86%;
  z-index: 1;
  transform: translate3d(calc(var(--line-reveal-2, 0) * 100%), 0, 0);
}

.s-brand-pin .brand-copy-line.is-revealed .brand-copy-line__wipe {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(100%, 0, 0);
}

.s-brand-pin .brand-copy-base {
  color: #000;
}

.s-brand-pin .brand-copy-accent {
  color: #d7ff00;
}


/* ================================================
   SECTION 3 ? PRODUCT
   ================================================ */
.s-brand + .s-product {
  margin-top: -4px !important;
}

.s-product {
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.s-product .product-topo-layer {
  display: none;
}

.s-product .product-topo-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.s-product .product-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1920px;
  height: 950px;
  z-index: 1;
}

#keystone-home-root .s-product .product-card {
  position: relative;
  width: 1920px;
  height: 950px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 55px 40px 55px 79px;
}

.s-product .product-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.s-product .product-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 41px;
  align-items: flex-end;
}

.s-product .product-panels-viewport {
  position: relative;
  width: 1626px;
  height: 840px;
  overflow: hidden;
  flex-shrink: 0;
}

.s-product .product-panels {
  position: relative;
  width: 100%;
  height: 100%;
}

.s-product .product-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 41px;
  align-items: flex-end;
  transform: translate3d(0, 100%, 0);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.s-product .product-panel.is-active {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  z-index: 2;
}

.s-product .product-panel.is-prepping {
  transition: none !important;
  transform: translate3d(0, 100%, 0);
  visibility: visible;
  z-index: 3;
}

.s-product .product-panel.is-exiting {
  transform: translate3d(0, -100%, 0);
  visibility: visible;
  z-index: 1;
}

.s-product .product-panel.is-entering {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  z-index: 3;
}

.s-product .product-panel.is-resetting {
  transition: none !important;
  transform: translate3d(0, 100%, 0) !important;
  visibility: hidden;
  z-index: 0;
}

/* Main product image */
.s-product .product-main-wrap {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

#keystone-home-root .s-product .product-main-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.s-product .product-main-img {
  width: 1015px;
  height: 840px;
  object-fit: cover;
  display: block;
}

/* Feature cards column */
.s-product .product-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 570px;
  flex-shrink: 0;
}

.s-product .feature-card {
  width: 570px;
  height: 270px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.s-product .feature-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.s-product .feature-card-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 338px;
  width: 168px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-product .fc-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 24px;
  text-transform: uppercase;
  width: 215px;
}

.s-product .fc-desc {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 18px;
  text-transform: capitalize;
  white-space: nowrap;
}

/* Product selector buttons */
.s-product .product-selector {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 160px;
  flex-shrink: 0;
}

.s-product .sel-btn {
  width: 160px;
  height: 50px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

.s-product .sel-btn span {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.s-product .sel-btn.active { background: #000; }
.s-product .sel-btn.inactive { background: #c8c8c8; }

/* Side panel: vertical text + logo */
.s-product .product-side {
  position: absolute;
  top: 0;
  left: 1788px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
}

.s-product .side-text-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 25px;
}

.s-product .side-k-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.s-product .side-vertical-text-wrap {
  width: 25px;
  height: 319px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  container-type: size;
}

.s-product .side-vertical-text {
  white-space: nowrap;
  transform: rotate(90deg);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #000;
  text-transform: uppercase;
  text-align: center;
  width: 319px;
}

.s-product .side-keystone-img {
  width: 79px;
  height: 489px;
  object-fit: contain;
}

/* 产品区进入动画（product-enter.js） */
@media (min-width: 768px) {
  .s-product {
    --product-card-enter-dur: 0.82s;
    --product-card-enter-end: 0.82s;
  }

  .s-product.is-product-reset-instant .product-card,
  .s-product.is-product-reset-instant .product-main-img,
  .s-product.is-product-reset-instant .product-main-wrap,
  .s-product.is-product-reset-instant .product-inner,
  .s-product.is-product-reset-instant .product-side,
  .s-product.is-product-reset-instant .feature-card,
  .s-product.is-product-reset-instant .sel-btn,
  .s-product.is-product-reset-instant .side-text-col,
  .s-product.is-product-reset-instant .side-keystone-img {
    transition: none !important;
    animation: none !important;
  }

  .s-product .product-card,
  .s-product .product-main-img,
  .s-product .feature-card,
  .s-product .sel-btn {
    transition:
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.58s ease;
    will-change: transform, opacity;
  }

  .s-product .side-text-col,
  .s-product .side-keystone-img {
    transition:
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.58s ease;
    will-change: transform, opacity;
  }

  .s-product .product-card {
    transition-duration: var(--product-card-enter-dur), 0.58s;
  }

  .s-product:not(.is-product-entered) .product-card {
    opacity: 0;
    transform: translateX(-108%);
  }

  /* ????????????????????????????? */
  .s-product:not(.is-product-entered) .product-inner,
  .s-product:not(.is-product-entered) .product-side {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .s-product.is-product-entered .product-inner,
  .s-product.is-product-entered .product-side {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: product-inner-unveil 0s linear var(--product-card-enter-end) forwards;
  }

  @keyframes product-inner-unveil {
    to {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
  }

  .s-product.is-product-entered .product-panel.is-active:not(.is-settled) .product-main-wrap {
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    animation:
      product-inner-unveil 0s linear var(--product-card-enter-end) forwards,
      product-main-wrap-bg 0.01s linear calc(var(--product-card-enter-end) + 0.72s) forwards;
  }

  .s-product .product-panel.is-settled .product-main-wrap {
    opacity: 1;
    visibility: visible;
    background-color: #fff;
    animation: none;
  }

  .s-product .product-panel.is-settled .product-main-img,
  .s-product .product-panel.is-settled .feature-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  @keyframes product-main-wrap-bg {
    to {
      background-color: #fff;
    }
  }

  .s-product:not(.is-product-entered) .product-panel.is-active .product-main-img {
    opacity: 0;
    transform: translateX(-100px);
  }

  .s-product:not(.is-product-entered) .product-panel.is-active .feature-card {
    opacity: 0;
    transform: translateY(-72px);
  }

  .s-product:not(.is-product-entered) .sel-btn {
    opacity: 0;
    transform: translateY(40px);
  }

  .s-product:not(.is-product-entered) .side-text-col,
  .s-product:not(.is-product-entered) .side-keystone-img {
    opacity: 0;
    transform: translateX(-56px);
  }

  .s-product.is-product-entered .product-card {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
  }

  /* ????????????? / ????? */
  .s-product.is-product-entered .product-panel.is-active:not(.is-settled) .product-main-img {
    opacity: 1;
    transform: translateX(0);
    transition-delay: var(--product-card-enter-end);
  }

  .s-product.is-product-entered .product-panel.is-active:not(.is-settled) .feature-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.14s);
  }

  .s-product.is-product-entered .product-panel.is-active:not(.is-settled) .feature-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.28s);
  }

  .s-product.is-product-entered .product-panel.is-active:not(.is-settled) .feature-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.42s);
  }

  .s-product.is-product-switching .product-panel .product-main-wrap,
  .s-product.is-product-switching .product-panel .product-main-img,
  .s-product.is-product-switching .product-panel .feature-card {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .s-product.is-product-switching .product-panel .product-main-wrap {
    background-color: #fff;
  }

  .s-product.is-product-entered .sel-btn:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.58s), calc(var(--product-card-enter-end) + 0.58s);
  }

  .s-product.is-product-entered .sel-btn:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.68s), calc(var(--product-card-enter-end) + 0.68s);
  }

  .s-product.is-product-entered .sel-btn:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.78s), calc(var(--product-card-enter-end) + 0.78s);
  }

  .s-product.is-product-entered .sel-btn:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.88s), calc(var(--product-card-enter-end) + 0.88s);
  }

  .s-product.is-product-entered .side-text-col {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--product-card-enter-end) + 0.96s);
  }

  .s-product.is-product-entered .side-keystone-img {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--product-card-enter-end) + 1.06s);
  }
}

/* ================================================
   SECTION 4 ? GLOBAL FOOTPRINT
   ================================================ */
.s-global { background: #050a12; }

.s-global .global-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}

/* ================================================
   SECTION 5 ? SPOTLIGHT
   ================================================ */
.s-spotlight {
  background: #fff;
  height: 1560px;
}

.ks-spotlight-placeholder {
  width: 100%;
  pointer-events: none;
}

.spotlight-pin {
  position: relative;
  width: 2560px;
  height: 1560px;
  background: #fff;
}

.spotlight-pin .spotlight-title {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Oswald', 'D-DIN-PRO', Impact, sans-serif;
  font-weight: 700;
  font-size: 100px;
  color: #000;
  text-transform: uppercase;
  line-height: 100px;
  white-space: nowrap;
}

/* Grid container — Figma: left 480, top 248, gap 20, 6×250 */
.spotlight-pin .spotlight-grid {
  position: absolute;
  left: 480px;
  top: 248px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 1600px;
}

.spotlight-pin .spotlight-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 250px;
  flex-shrink: 0;
}

/* Spotlight 进入动画（spotlight-enter.js） */
.spotlight-pin .spotlight-title {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.s-spotlight:not(.is-spotlight-entered) .spotlight-pin .spotlight-title {
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
}

.s-spotlight.is-spotlight-entered .spotlight-pin .spotlight-title {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Generic news card + 进入散开动画 */
.spotlight-pin .nc {
  --spread-x: 0px;
  --spread-y: 0px;
  --spread-delay: 0s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 250px;
  flex-shrink: 0;
  cursor: pointer;
  transform-origin: center center;
  transition:
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--spread-delay);
}

.s-spotlight:not(.is-spotlight-entered) .spotlight-pin .nc {
  transform: translate3d(calc(-1 * var(--spread-x)), calc(-1 * var(--spread-y)), 0) scale(0);
  opacity: 0;
  pointer-events: none;
}

.s-spotlight.is-spotlight-entered .spotlight-pin .nc {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.s-spotlight.is-spotlight-reset-instant .spotlight-pin .nc,
.s-spotlight.is-spotlight-reset-instant .spotlight-pin .spotlight-title {
  transition: none !important;
}

.spotlight-pin .nc-img {
  background: #d8d8d8;
  border-radius: 15px;
  width: 250px;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.spotlight-pin .nc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

.spotlight-pin .nc-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  text-transform: uppercase;
  line-height: 18px;
  white-space: nowrap;
  margin: 0;
}

/* Spotlight 弹窗：固定于视口居中，叠在页面最前 */
#spotlight-modal.spotlight-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  pointer-events: none;
}

#spotlight-modal.spotlight-modal.is-open {
  display: block;
  pointer-events: auto;
}

#spotlight-modal .spotlight-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#spotlight-modal .spotlight-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(1600px, 92vw);
  height: min(860px, 92vh, calc(min(1600px, 92vw) * 860 / 1600));
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

#spotlight-modal .spotlight-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(215, 255, 0, 0.5);
  color: #000;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#spotlight-modal .spotlight-modal__close:hover {
  background: #d7ff00;
}

#spotlight-modal .spotlight-modal__media {
  position: relative;
  width: 100%;
  height: 100%;
  background: #d8d8d8;
  border: none;
  outline: none;
  border-radius: 0;
  overflow: hidden;
}

#spotlight-modal .spotlight-modal__media:has(.spotlight-modal__video.is-active) {
  background: #000;
}

#spotlight-modal .spotlight-modal__img,
#spotlight-modal .spotlight-modal__video {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

#spotlight-modal .spotlight-modal__img {
  object-fit: cover;
}

#spotlight-modal .spotlight-modal__video {
  object-fit: contain;
  background: #000;
}

#spotlight-modal .spotlight-modal__img.is-active,
#spotlight-modal .spotlight-modal__video.is-active {
  display: block;
}

#spotlight-modal .spotlight-modal__img:not(.is-active),
#spotlight-modal .spotlight-modal__video:not(.is-active) {
  display: none !important;
}

#spotlight-modal .spotlight-modal__panel:focus,
#spotlight-modal .spotlight-modal__panel:focus-visible,
#spotlight-modal .spotlight-modal__img:focus,
#spotlight-modal .spotlight-modal__img:focus-visible {
  outline: none;
  box-shadow: none;
}

/* 底部信息栏：默认单条宽胶囊（相对弹窗面板 62%） */
#spotlight-modal .spotlight-modal__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  z-index: 5;
  pointer-events: none;
}

#spotlight-modal:not(.is-learn-more-layout) .spotlight-modal__footer {
  width: 100%;
  display: block;
}

#spotlight-modal:not(.is-learn-more-layout) .spotlight-modal__body--primary {
  margin: 0 auto;
  padding: 14px 48px;
  width: 62%;
  min-width: 62%;
  max-width: 62%;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  pointer-events: none;
}

#spotlight-modal .spotlight-modal__body--cta {
  display: none;
}

#spotlight-modal .spotlight-modal__title {
  margin: 0;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: normal;
}

/* 参考图样式：仅 SMOKE VAPOR 卡片（is-learn-more-layout） */
#spotlight-modal.is-learn-more-layout .spotlight-modal__footer {
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  min-height: 52px;
}

#spotlight-modal.is-learn-more-layout .spotlight-modal__body--primary {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 14px 40px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

#spotlight-modal.is-learn-more-layout .spotlight-modal__title {
  white-space: nowrap;
}

#spotlight-modal.is-learn-more-layout .spotlight-modal__body--cta {
  position: absolute;
  top: 0;
  left: calc(50% + var(--primary-half, 380px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 14px 28px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

#spotlight-modal.is-learn-more-layout .spotlight-modal__body--cta[hidden] {
  display: none;
}

#spotlight-modal .spotlight-modal__cta-text,
#spotlight-modal .spotlight-modal__cta-arrow {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.02em;
}

#spotlight-modal .spotlight-modal__cta-arrow {
  font-size: 20px;
  transform: translateY(-1px);
}

/* ================================================
   SECTION 6 ? COMPANY
   ================================================ */
.s-company { background: transparent; }

.s-company .company-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1600px;
  height: 870px;
}

.s-company .company-bg-layer {
  position: absolute;
  inset: 0;
}

.s-company .company-bg-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-company .company-logo-wrap {
  position: absolute;
  top: 345px;
  left: 132px;
  width: 1337px;
  height: 181px;
}

.s-company .company-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s-company .company-cta {
  position: absolute;
  bottom: 200px;
  left: 131px;
  right: 39px;
  display: flex;
  align-items: center;
  gap: 646px;
}

.s-company .cta-item {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.s-company .cta-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.s-company .cta-texts {
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s-company .cta-label {
  font-family: 'D-DIN-PRO', 'Oswald', Impact, sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #d7ff00;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
}

.s-company .cta-desc {
  font-family: 'HarmonyOS Sans SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  line-height: normal;
  white-space: nowrap;
}

/* Company 进入动画（company-enter.js） */
@media (min-width: 768px) {
  .s-company {
    --company-logo-dur: 0.9s;
    --company-cta-dur: 0.75s;
    --company-cta-delay: calc(var(--company-logo-dur) * 0.666);
  }

  .s-company .company-logo-wrap,
  .s-company .company-cta .cta-item {
    transition:
      opacity var(--company-cta-dur, 0.75s) cubic-bezier(0.22, 1, 0.36, 1),
      transform var(--company-cta-dur, 0.75s) cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
  }

  .s-company .company-logo-wrap {
    transition-duration: var(--company-logo-dur), var(--company-logo-dur);
  }

  .s-company:not(.is-company-entered) .company-logo-wrap {
    opacity: 0;
    transform: translateY(56px);
  }

  .s-company:not(.is-company-entered) .company-cta .cta-item {
    opacity: 0;
    transform: translateY(44px);
  }

  .s-company.is-company-entered .company-logo-wrap {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .s-company.is-company-entered .company-cta .cta-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--company-cta-delay);
  }

  .s-company.is-company-entered .company-cta .cta-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--company-cta-delay) + 0.1s);
  }

  .s-company.is-company-reset-instant .company-logo-wrap,
  .s-company.is-company-reset-instant .company-cta .cta-item {
    transition: none !important;
  }
}

/* ================================================
   MOBILE LAYOUT  (max-width: 767px)
   ================================================ */
#ks-mobile {
  display: none;
  width: 100%;
  min-height: 100%;
  background: #fff;
}

@media (max-width: 767px) {
  #ks-outer {
    display: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  #ks-mobile {
    display: block;
    width: 100%;
    min-height: 100%;
  }
}

/* Mobile sections */
.m-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* 移动端同理：不使用 content-visibility:auto，避免滚动时高度跳变。 */

/* --- Mobile S1: Hero --- */
.m-hero {
  background: #b6c9de;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  gap: 16px;
}


.m-hero .m-hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.m-hero .m-logo-one,
.m-hero .m-logo-key {
  width: 46%;
  height: auto;
  object-fit: contain;
}

.m-hero .m-tagline {
  font-family: 'HarmonyOS Sans SC', 'Noto Sans SC', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
}

.m-hero .m-cta-btn {
  background: #000;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.m-hero .m-cta-btn span {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #547ecb;
  text-transform: uppercase;
}

.m-hero .m-dots {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.m-hero .m-dot {
  width: 32px;
  height: 2px;
  background: rgba(217,217,217,0.5);
}

.m-hero .m-dot.active { background: #d9d9d9; }

/* --- Mobile S2: Brand --- */
.m-brand {
  background: #5a5d53;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  --ks-marquee-duration: 224s;
  --ks-marquee-gap: 20px;
}

.m-brand .m-brand-logo {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.m-brand .m-brand-card {
  background: #4a4d44;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
}

.m-brand .m-brand-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-brand .m-brand-fun {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.m-brand .m-brand-marquee-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
}

.m-brand .m-brand-marquee-group.ks-marquee-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}

.m-brand .m-crafting {
  width: 100%;
  max-width: 100%;
}

.m-brand .m-crafting .ks-marquee__chunk {
  font-family: 'Modern No. 20', 'Times New Roman', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  color: #d7ff00;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.m-brand .m-watermark {
  width: 100%;
  max-width: 100%;
}

.m-brand .m-watermark .ks-marquee__chunk {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* --- Mobile S3: Product --- */
.m-product {
  background: #0d0d0d;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  min-height: 100svh;
}

.m-product .m-product-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.m-product .m-product-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m-product .m-product-panels-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.m-product .m-product-panels {
  position: relative;
  width: 100%;
}

.m-product .m-product-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translate3d(0, 100%, 0);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.m-product .m-product-panel.is-active {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  z-index: 2;
}

.m-product .m-product-panel.is-prepping {
  transition: none !important;
  transform: translate3d(0, 100%, 0);
  visibility: visible;
  z-index: 3;
}

.m-product .m-product-panel.is-exiting {
  transform: translate3d(0, -100%, 0);
  visibility: visible;
  z-index: 1;
}

.m-product .m-product-panel.is-entering {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  z-index: 3;
}

.m-product .m-product-panel.is-resetting {
  transition: none !important;
  transform: translate3d(0, 100%, 0) !important;
  visibility: hidden;
  z-index: 0;
}

.m-product .m-product-panels-viewport {
  min-height: 432px;
}

.m-product .m-product-main {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}

#keystone-home-root .m-product .product-main-link {
  display: block;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.m-product .m-product-main img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.m-product .m-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.m-product .m-fc {
  border-radius: 20px;
  overflow: hidden;
  height: 120px;
  position: relative;
  flex-shrink: 0;
}

.m-product .m-fc img.m-fc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-product .m-fc-text {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  color: #fff;
}

.m-product .m-fc-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.m-product .m-fc-desc {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
  text-transform: capitalize;
}

.m-product .m-selectors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.m-product .m-sel-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.m-product .m-sel-btn span {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
}

.m-product .m-sel-btn.active { background: #000; }
.m-product .m-sel-btn.inactive { background: #c8c8c8; }

/* --- Mobile S4: Global --- */
.m-global {
  background: #050a12;
  min-height: 60svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 24px;
}

.m-global .m-global-bg,
.m-global .m-global-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
  visibility: hidden;
}
.m-global.is-global-entered .m-global-video {
  visibility: visible;
}

.m-global .m-global-intro {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-global .m-global-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.m-global .m-global-text {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.m-global .m-global-intro {
  --global-intro-dur: 2.2s;
  --global-intro-ease: cubic-bezier(0.18, 0.82, 0.22, 1);
  transition:
    transform var(--global-intro-dur) var(--global-intro-ease),
    opacity var(--global-intro-dur) var(--global-intro-ease);
}

.m-global:not(.is-global-entered) .m-global-intro {
  transform: translateY(0);
  opacity: 1;
}

.m-global.is-global-entered .m-global-intro {
  transform: translate3d(-4%, -100%, 0);
  opacity: 0;
  pointer-events: none;
}

.m-global.is-global-reset-instant .m-global-intro {
  transition: none !important;
}

.m-global .m-global-title {
  font-family: 'Oswald', Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 10vw, 60px);
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}

.m-global .m-global-title .hl { color: #d7ff00; }

.m-global .m-global-sub {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px;
  color: #fff;
  text-transform: capitalize;
}

/* --- Mobile S5: Spotlight --- */
.m-spotlight {
  background: #fff;
  padding: 40px 16px 60px;
}

.m-spotlight .m-spotlight-title {
  font-family: 'Oswald', Impact, sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #000;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
}

.m-spotlight .m-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.m-spotlight .m-nc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-spotlight .m-nc-img {
  background: #d8d8d8;
  border-radius: 12px;
  width: 100%;
  display: block;
}

.m-spotlight .m-nc-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 12px;
  color: #000;
  text-transform: uppercase;
  line-height: 1.3;
}

/* --- Mobile S6: Company --- */
.m-company {
  background: #1a1c15;
  min-height: 60svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 40px;
  position: relative;
}

.m-company .m-company-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-company .m-company-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-company .m-kff-logo {
  width: 90%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.m-company .m-company-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 340px;
  position: relative;
  z-index: 1;
}

.m-company .m-cta-item {
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.m-company .m-cta-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.m-company .m-cta-label {
  font-family: 'D-DIN-PRO', 'Oswald', Impact, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #d7ff00;
  text-transform: uppercase;
  white-space: nowrap;
}

.m-company .m-cta-desc {
  font-family: 'HarmonyOS Sans SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .m-company {
    --company-logo-dur: 0.82s;
    --company-cta-dur: 0.68s;
    --company-cta-delay: calc(var(--company-logo-dur) * 0.666);
  }

  .m-company .m-kff-logo,
  .m-company .m-cta-item {
    transition:
      opacity var(--company-cta-dur, 0.68s) cubic-bezier(0.22, 1, 0.36, 1),
      transform var(--company-cta-dur, 0.68s) cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
  }

  .m-company .m-kff-logo {
    transition-duration: var(--company-logo-dur), var(--company-logo-dur);
  }

  .m-company:not(.is-company-entered) .m-kff-logo {
    opacity: 0;
    transform: translateY(36px);
  }

  .m-company:not(.is-company-entered) .m-cta-item {
    opacity: 0;
    transform: translateY(32px);
  }

  .m-company.is-company-entered .m-kff-logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .m-company.is-company-entered .m-cta-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--company-cta-delay);
  }

  .m-company.is-company-entered .m-cta-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--company-cta-delay) + 0.08s);
  }

  .m-company.is-company-reset-instant .m-kff-logo,
  .m-company.is-company-reset-instant .m-cta-item {
    transition: none !important;
  }
}

/* ================================================
   TABLET (768px ? 1199px): use same desktop scale
   ================================================ */
@media (min-width: 768px) and (max-width: 1199px) {
  /* desktop scale handles it, no changes needed */
}
