/* 场景融合版只负责Hero内部构图，容器与品牌仍使用公共基础。 */
.home-hero--scene {
  display: block;
  position: relative;
  isolation: isolate;
  min-height: 590px;
  padding: 68px 0 105px;
}
.home-hero--scene .home-hero-copy {
  position: relative;
  z-index: 2;
  width: 46%;
  max-width: 530px;
}
.home-hero--scene h1 {
  font-size: clamp(48px, 4.8vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  margin: 17px 0 22px;
}
.home-hero--scene .home-hero-lead {
  max-width: 370px;
  font-size: 16px;
  margin-bottom: 25px;
}
.home-hero--scene .home-hero-lead > span {
  display: block;
}
.home-hero--scene .button {
  padding: 13px 22px;
  font-size: 15px;
}
/* 舞台与前景共同受内容容器约束，不以视口宽度向右出血。 */
.home-stage-showcase {
  position: absolute;
  top: 0;
  right: 0;
  width: min(960px, 76%);
  height: 100%;
  overflow: hidden;
}
.home-stage-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  isolation: isolate;
}
.home-stage-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 只柔化环境图的右缘，屏幕与前景物料保持完整清晰。 */
  mask-image: linear-gradient(90deg, #000 84%, transparent 100%);
}
/* 屏幕坐标对应归档场景原图，物料始终按原比例完整呈现。 */
.home-stage-screen {
  position: absolute;
  left: 19.8%;
  top: 21.5%;
  width: 60.4%;
  height: 36.1%;
  display: block;
  background: #07172c;
  box-shadow: 0 0 18px #b3c9da18;
}
.home-stage-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-stage-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper) 0%, transparent 40%),
    linear-gradient(0deg, var(--paper) 8%, transparent 36%);
}
.home-editorial .home-stage-material {
  position: absolute;
  z-index: 2;
  display: block;
  border: 3px solid #fffaf0;
  background: #fffaf0;
  box-shadow: 0 18px 30px #140e1970;
  border-radius: 2px;
  transition:
    translate 200ms ease,
    box-shadow 200ms ease;
}
.home-stage-material img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--material-ratio);
  object-fit: contain;
  display: block;
}
.home-stage-material > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 6px;
  font-size: 11px;
  color: #493e34;
  background: #fffaf0;
}
.home-stage-material .ui-icon {
  width: 13px;
  height: 13px;
}
.home-stage-material-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.home-stage-material--0 {
  width: min(24%, calc(var(--material-aspect) * 26%));
  left: 73%;
  top: 33%;
  transform: perspective(900px) rotateY(-8deg) rotate(4deg);
}
.home-stage-material--0.is-portrait {
  width: min(14%, calc(var(--material-aspect) * 26%));
  left: 77%;
  top: 30%;
}
.home-stage-material--1 {
  width: min(26%, calc(var(--material-aspect) * 18%));
  left: 43%;
  top: 49%;
  transform: perspective(900px) rotateY(6deg) rotate(-4deg);
}
.home-stage-material--1.is-portrait {
  width: min(14%, calc(var(--material-aspect) * 18%));
  top: 41%;
  left: 48%;
}
.home-stage-material--2 {
  width: min(23%, calc(var(--material-aspect) * 16%));
  left: 73%;
  top: 53%;
  transform: perspective(900px) rotateY(-6deg) rotate(3deg);
}
.home-stage-material--2.is-portrait {
  width: min(14%, calc(var(--material-aspect) * 16%));
  top: 42%;
  left: 84%;
}
.home-stage-caption {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  right: var(--page-gutter);
  left: 38%;
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
}
.home-stage-caption a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  max-width: 100%;
  text-align: right;
}
.home-stage-caption-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.home-stage-caption strong {
  font-size: 15px;
  color: var(--ink);
}
.home-stage-caption-action {
  font-weight: 600;
}
.home-stage-caption small {
  font-size: 11px;
  color: var(--muted);
}
.home-stage-caption .ui-icon {
  width: 16px;
  height: 16px;
}
.has-scene-hero > .home-task-grid {
  position: relative;
  z-index: 3;
  margin-top: -24px;
  background: var(--white);
  box-shadow: 0 10px 28px #35281908;
}
.home-stage-screen:focus-visible,
.home-stage-material:focus-visible {
  outline-offset: 5px;
  z-index: 4;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-editorial .home-stage-material:hover {
    translate: 0 -4px;
    box-shadow: 0 22px 35px #140e1980;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .home-hero--scene {
    min-height: 525px;
    padding-top: 55px;
  }
  .home-hero--scene h1 {
    font-size: 54px;
  }
  .home-stage-showcase {
    width: 80%;
  }
  .home-stage-caption {
    bottom: 45px;
    left: 42%;
  }
  .home-hero--scene .home-hero-lead {
    max-width: 340px;
    font-size: 14px;
  }
  .home-hero--scene .button {
    padding: 11px 15px;
    font-size: 13px;
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .home-hero--scene {
    min-height: 480px;
  }
  .home-hero--scene h1 {
    font-size: 46px;
  }
  .home-stage-caption {
    left: 45%;
  }
  .home-stage-material > span {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .home-hero--scene {
    min-height: 0;
    padding: 28px 0 0;
  }
  .home-hero--scene .home-hero-copy {
    width: 100%;
    max-width: 550px;
  }
  .home-hero--scene h1 {
    font-size: clamp(40px, 9vw, 60px);
    margin: 14px 0 18px;
  }
  .home-hero--scene .home-hero-lead {
    max-width: 460px;
    font-size: 14px;
    margin-bottom: 18px;
  }
  .home-hero--scene .button {
    padding: 11px 18px;
    font-size: 13px;
  }
  .home-stage-showcase {
    position: relative;
    right: auto;
    width: 100%;
    margin: 18px 0 0;
    height: auto;
    overflow: visible;
  }
  .home-stage-wash {
    background: linear-gradient(
      180deg,
      var(--paper),
      transparent 18%,
      transparent 72%,
      var(--paper)
    );
  }
  .home-stage-caption {
    position: relative;
    inset: auto;
    margin: -10px 0 24px;
  }
  .home-stage-material > span {
    font-size: 9px;
    padding: 2px 4px;
  }
  .home-stage-material .ui-icon {
    width: 11px;
    height: 11px;
  }
  .has-scene-hero > .home-task-grid {
    margin-top: 0;
  }
}
@media (max-width: 360px) {
  .home-stage-caption a {
    font-size: 11px;
  }
  .home-stage-material > span {
    font-size: 8px;
  }
  .home-hero--scene .button {
    padding-inline: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-editorial .home-stage-material {
    transition: none;
  }
}
@media print {
  .home-stage-showcase {
    display: none;
  }
  .home-hero--scene {
    min-height: 0;
    padding: 0;
  }
  .home-hero--scene .home-hero-copy {
    width: 100%;
  }
  .has-scene-hero > .home-task-grid {
    margin-top: 0;
  }
}
