/* ===== 品牌故事：编排式长页 ===== */
:root {
  /* The bundled HarmonyOS font is subsetted; fall back to the complete sans stack for this page. */
  --hmos: var(--sans);
}

/* Legacy story list styles retained for this page. */
.story-page .section-desc {
  margin-bottom: 16px;
}

.story-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  max-width: 760px;
}

.story-page .story-item:first-of-type {
  padding-top: 8px;
}
.story-item h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}
.story-item p { color: #3d4a52; }

.story-page {
  --story-ink: #292522;
  --story-muted: #786f67;
  --story-line: #e7e0d9;
  --story-warm: #f5f0eb;
  font-family: var(--hmos);
  color: var(--story-ink);
  overflow: hidden;
}

.story-hero {
  position: relative;
  color: #fff;
}

.story-hero-media {
  width: 100%;
}

.story-hero-media img {
  width: 100%;
}

.story-hero-inner {
  position: absolute;
  z-index: 1;
  top: 66%;
  left: 50%;
  width: min(1180px, calc(100% - 80px));
  transform: translate(-50%, -50%);
}

.story-eyebrow,
.story-index {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  line-height: 1.4;
}

.story-eyebrow { color: rgba(255, 255, 255, .78); }

.story-hero h1,
.story-chapter h2,
.story-research h2 {
  font-family: var(--hmos);
  font-weight: 500;
  letter-spacing: .12em;
}

.story-hero h1 {
  margin: 17px 0 10px;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.1;
  letter-spacing: normal;
}

.story-hero p { margin: 0; font-size: 16px; line-height: 2; letter-spacing: .04em; }
.story-hero .story-hero-lead { margin-bottom: 56px; font-size: clamp(18px, 2vw, 26px); letter-spacing: .1em; }

.story-scroll {
  position: absolute;
  right: max(40px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .82);
  writing-mode: vertical-rl;
}

.story-scroll::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 38px;
  margin-top: 12px;
  background: currentColor;
  animation: story-scroll-line 1.8s ease-in-out infinite;
}

.story-chapter,
.story-research {
  width: min(1040px, calc(100% - 80px));
  margin: 0 auto;
}

.story-chapter {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(58px, 10vw, 154px);
  padding: clamp(104px, 14vw, 202px) 0;
}

.story-chapter--belief {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9.2%;
  width: min(1180px, calc(100% - 80px));
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 5.2vw;
}

.story-chapter--identity {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: clamp(70px, 9.9vw, 190px) 0 clamp(110px, 15.6vw, 300px);
}

.story-chapter--identity .story-visual-stack {
  display: flex;
  align-items: flex-start;
  gap: 8.3%;
  width: 100%;
  margin: 0;
}

.story-chapter--identity .story-visual-stack-mini { display: contents; }

.story-chapter--identity .story-visual-stack-item {
  overflow: hidden;
  aspect-ratio: 73 / 100;
}

.story-chapter--identity .story-visual-stack-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-chapter--identity .story-visual-stack-item--small {
  flex: 0 0 16.7%;
  width: 16.7%;
}

.story-chapter--identity .story-visual-stack-item--small img { transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.story-chapter--identity:hover .story-visual-stack-mini img { transform: scale(1.035); }
.story-chapter--identity .story-visual-stack-item--portrait {
  flex: 0 0 50%;
  width: 50%;
}
.story-chapter--identity .story-chapter-copy { width: 100%; max-width: none; margin: 0; }
.story-chapter--identity .story-chapter-copy h2 {
  margin-bottom: 18px;
  font-size: 20px;
  letter-spacing: .08em;
}

.story-chapter-copy { max-width: 470px; }
.story-index { margin-bottom: 21px; color: #9a8370; }

.story-chapter h2,
.story-research h2 {
  margin: 0 0 29px;
  font-size: 20px;
  line-height: 1.3;
}

.story-chapter--belief h2 { margin-bottom: 14.5px; }
.story-page .story-chapter--belief .story-visual--wide {
  flex: 0 0 41.7%;
  width: 41.7%;
}
.story-page .story-chapter--belief .story-chapter-copy {
  flex: 1 1 0;
  width: auto;
  max-width: none;
}
.story-page .story-chapter--belief .story-comfort-products {
  flex: 0 0 100%;
  width: 100%;
}

.story-chapter p,
.story-research p {
  margin: 0 0 15px;
  color: var(--story-muted);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 1px;
}

.story-chapter .story-quote {
  color: var(--story-muted);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .015em;
}

.story-visual { margin: 0; overflow: hidden; background: var(--story-warm); }
.story-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.story-chapter:hover .story-visual img,
.story-research:hover .story-visual img { transform: scale(1.035); }

.story-visual--portrait { width: min(100%, 420px); justify-self: end; aspect-ratio: 4 / 5; }
.story-visual--soft { justify-self: start; }

.story-visual-stack {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: min(100%, 456px);
  justify-self: end;
}

.story-visual-stack-mini { display: grid; gap: 16px; padding-top: 38px; }
.story-visual-stack-mini img { width: 100%; aspect-ratio: 1 / 1.18; object-fit: cover; }
.story-visual-stack .story-visual--portrait { width: 100%; aspect-ratio: 4 / 5.2; }

.story-chapter--comfort {
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 0;
}

.story-comfort-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 56px);
  width: 100%;
}

.story-comfort-products figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.story-comfort-products img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  transition: transform .7s cubic-bezier(.2, .6, .2, 1);
}

.story-comfort-products figure:hover img { transform: translateY(-8px) scale(1.03); }
.story-chapter--comfort .story-chapter-copy { width: 100%; max-width: none; }

.story-research {
  padding: 0 0 9.4vw;
}

.story-chapter--comfort .story-research {
  width: 100%;
  margin-top: 6.0vw;
  padding-top: 0;
  padding-bottom: 9.4vw;
}

.story-research-row {
  display: flex;
  align-items: center;
}

.story-research-row + .story-research-row { margin-top: clamp(24px, 1.6vw, 30px); }
.story-research-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  max-width: none;
  padding-right: 9.2%;
  box-sizing: border-box;
  text-align: center;
}
.story-research-row--experience .story-research-copy {
  align-items: flex-start;
  padding-right: 0;
  padding-left: 9.2%;
  text-align: left;
}
.story-research-row--experience .story-research-copy h2 { margin-bottom: 14.5px; }
.story-research-copy h2 { margin-bottom: 24px; }
.story-research-copy p { max-width: 520px; }
.story-research-copy .story-research-metrics { line-height: 1.6; }
.story-research-row .story-visual--research {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  background: #f6f4f1;
}
.story-research-row .story-visual--research img { width: 100%; object-fit: contain; }

.story-honors--updated {
  width: min(1040px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0 0 clamp(100px, 8.3vw, 160px);
}

.story-honors-intro h2 { margin: 0 0 24px; font-size: 20px; line-height: 1.3; }
.story-honors-intro p { max-width: none; margin: 0; color: var(--story-muted); font-size: 14px; line-height: 1.8; letter-spacing: 1px; }
.story-honors-intro p + p { margin-top: 18px; }
.story-honors-metrics { width: 50%; margin: clamp(48px, 4vw, 76px) 0 0; }
.story-honors-metrics img { display: block; width: 100%; }
.story-honors-metrics div { flex: 1 1 0; text-align: center; }
.story-honors-metrics strong { display: block; color: #c4975b; font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1; }
.story-honors-metrics span { display: block; margin-top: 10px; color: #c4975b; font-size: 14px; line-height: 1.6; }
.story-honors-gallery { width: 90%; margin: clamp(48px, 4.0vw, 76px) 0 0; overflow: hidden; background: #fff; }
.story-honors-gallery img { width: 100%; }

.story-responsibility {
  width: min(1040px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0 0 clamp(100px, 8.3vw, 160px);
}

.story-responsibility-media { display: flex; align-items: flex-end; gap: 10%; }
.story-responsibility-media-left { width: 50.0%; }
.story-responsibility-media-right { flex: 1 1 auto; width: auto; }
.story-responsibility-media-left img,
.story-responsibility-media-right img { display: block; width: 100%; height: auto; }
.story-responsibility-copy { margin-top: clamp(40px, 3.2vw, 62px); }
.story-responsibility-copy h2 { margin: 0 0 24px; font-size: 20px; line-height: 1.3; }
.story-responsibility-copy p { margin: 0; color: var(--story-muted); font-size: 14px; line-height: 1.6; letter-spacing: 1px; }

.story-offline-experience {
  display: flex;
  align-items: flex-start;
  gap: 8%;
  width: min(1040px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0 0 clamp(100px, 8.3vw, 160px);
}

.story-offline-media-left { width: 42%; }
.story-offline-media-right { width: 50%; }
.story-offline-media-left img,
.story-offline-media-right img { display: block; width: 100%; height: auto; }
.story-offline-copy { margin-top: clamp(40px, 3.2vw, 62px); }
.story-offline-copy h2 { margin: 0 0 24px; font-size: 20px; line-height: 1.3; }
.story-offline-copy p { margin: 0; color: var(--story-muted); font-size: 14px; line-height: 1.6; }

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 36px;
  border-top: 1px solid var(--story-line);
  padding-top: 24px;
}

.story-stats div { min-width: 0; }
.story-stats strong { display: block; font-family: var(--serif); font-size: clamp(29px, 3vw, 44px); font-weight: 500; line-height: 1; color: #a68a70; }
.story-stats span { display: block; margin-top: 9px; color: #8d837b; font-size: 11px; line-height: 1.55; letter-spacing: .04em; }

.story-honors {
  display: grid;
  grid-template-columns: minmax(250px, .73fr) minmax(250px, .55fr);
  align-items: center;
  justify-content: center;
  gap: clamp(52px, 10vw, 150px);
  width: 50%;
  margin: 0 auto;
  padding: 0 0 clamp(112px, 15vw, 210px);
}

.story-honors img { display: block; width: 100%; }
.story-honors-visual { width: min(100%, 340px); height: 390px; margin: 0; overflow: hidden; background: #eaf5fb; }
.story-honors-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.story-honors:hover .story-honors-visual img { transform: scale(1.03); }
.story-honors-copy { max-width: 260px; }
.story-honors-copy .story-index { margin-bottom: 22px; }
.story-honors-copy p { margin: 0; color: var(--story-muted); font-size: 14px; line-height: 1.6; }
.story-honors-copy .story-honors-title { margin-bottom: 23px; color: var(--story-ink); font-family: var(--hmos); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.65; letter-spacing: .1em; }

@keyframes story-scroll-line {
  0%, 100% { transform: scaleY(.45); transform-origin: top; opacity: .45; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ===== 品牌故事：图文差速滚动（JS 启用时给慢列加 is-drift） ===== */
.story-page .is-drift { will-change: transform; }

@media (min-width: 981px) {
  .story-page .story-hero-inner,
  .story-page .story-chapter,
  .story-page .story-research,
  .story-page .story-product-strip,
  .story-page .story-honors {
    width: 62.5%;
  }

  .story-page .story-honors--updated {
    width: 62.5%;
  }

  .story-page .story-responsibility {
    width: 62.5%;
  }

  .story-page .story-offline-experience {
    width: 62.5%;
  }

  .story-page .story-chapter--belief {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    column-gap: 9.2%;
    row-gap: clamp(96px, 7.8vw, 150px);
    margin-bottom: 5.2vw;
  }

  .story-page .story-chapter--comfort {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .story-page .story-chapter--comfort .story-research {
    width: 100%;
    margin-top: 6.0vw;
    padding-top: 0;
    padding-bottom: 9.4vw;
  }
}

@media (max-width: 760px) {
  .story-hero-inner,
  .story-chapter,
  .story-chapter--belief,
  .story-research { width: min(100% - 40px, 560px); }
  .story-hero-inner { top: auto; bottom: 82px; transform: translateX(-50%); }
  .story-hero h1 { margin-top: 13px; font-size: 32px; }
  .story-hero p { font-size: 14px; line-height: 1.6; }
  .story-hero .story-hero-lead { margin-bottom: 40px; font-size: 18px; }
  .story-scroll { display: none; }
  .story-chapter { grid-template-columns: 1fr; gap: 37px; padding: 88px 0; }
  .story-chapter--comfort { gap: 0; padding-top: 0; }
  .story-chapter--belief { flex-direction: column; gap: 37px; padding: 88px 0; }
  .story-chapter--identity {
    gap: 44px;
    padding: clamp(70px, 9.9vw, 190px) 0 clamp(110px, 15.6vw, 300px);
  }
  .story-chapter--belief .story-visual { order: 2; }
  .story-chapter--belief .story-chapter-copy { order: 1; }
  .story-chapter--belief .story-comfort-products { order: 3; }
  .story-chapter--belief { margin-bottom: 5.2vw; }
  .story-chapter-copy { max-width: none; }
  .story-chapter--identity .story-visual-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
  }
  .story-chapter--identity .story-visual-stack-item--small {
    flex: initial;
    width: 100%;
    aspect-ratio: 73 / 100;
  }
  .story-chapter--identity .story-visual-stack-item--portrait {
    flex: initial;
    grid-column: 1 / -1;
    width: 72%;
    justify-self: end;
    aspect-ratio: 73 / 100;
  }
  .story-chapter--identity .story-chapter-copy { width: 100%; margin: 0; }
  .story-visual-stack { grid-template-columns: 27% 1fr; gap: 12px; width: calc(100% + 40px); margin-right: -20px; margin-left: -20px; }
  .story-visual-stack-mini { gap: 12px; padding-top: 24px; }
  .story-visual-stack .story-visual--portrait { width: 100%; max-width: none; aspect-ratio: 4 / 5.35; }
  .story-visual--mobile-edge {
    width: calc(100% + 40px);
    margin-right: -20px;
    margin-left: -20px;
  }
  .story-visual--portrait { width: min(84%, 360px); }
  .story-visual--portrait.story-visual--mobile-edge { width: calc(100% + 40px); max-width: none; aspect-ratio: 5 / 6; }
  .story-visual--soft { justify-self: end; }
  .story-research { padding: 0 0 9.4vw; }
  .story-chapter--comfort .story-research { margin-top: 6.0vw; padding-top: 0; padding-bottom: 9.4vw; }
  .story-research-row { display: flex; flex-direction: column; gap: 34px; }
  .story-research-row + .story-research-row { margin-top: 30px; }
  .story-research-copy,
  .story-research-row--experience .story-research-copy { order: 1; width: 100%; padding-right: 0; padding-left: 0; }
  .story-research-row .story-visual--research,
  .story-research-row--experience .story-visual--research { order: 2; width: 100%; }
  .story-honors--updated { width: min(100% - 40px, 560px); padding: 0 0 110px; }
  .story-honors-metrics { flex-direction: column; gap: 28px; margin-top: 52px; }
  .story-honors-gallery { margin-top: 52px; }
  .story-responsibility { width: min(100% - 40px, 560px); padding-bottom: 110px; }
  .story-responsibility-media { flex-direction: column; align-items: stretch; gap: 24px; }
  .story-responsibility-media-left,
  .story-responsibility-media-right { width: 100%; }
  .story-responsibility-copy { margin-top: 42px; }
  .story-offline-experience { flex-direction: column; align-items: stretch; gap: 36px; width: min(100% - 40px, 560px); padding-bottom: 110px; }
  .story-offline-media-left,
  .story-offline-media-right { width: 100%; }
  .story-offline-copy { margin-top: 42px; }
  .story-stats { margin-top: 28px; }
  .story-stats strong { font-size: 34px; }
  .story-comfort-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .story-comfort-products figure { min-height: 150px; }
  .story-comfort-products img { height: 150px; }
  .story-honors { grid-template-columns: 1fr; gap: 36px; width: 50%; padding-bottom: 110px; }
  .story-honors-visual { width: calc(100% + 40px); max-width: none; height: 330px; margin-right: -20px; margin-left: -20px; }
  .story-honors-copy { max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-scroll::after { animation: none; }
  .story-visual img { transition: none; }
}
