/* 只作用于首页首屏；场景原图等比覆盖，蒙版承托现有标语。 */
.hero{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;
  margin-top:calc(-1 * (var(--nav-h) + 1px));min-height:640px;height:100svh;max-height:none;
  text-align:center;background:#26343f url('../images/hero/vision-scene.jpg') center center / cover no-repeat}
.hero::before{content:"";display:block;position:absolute;inset:0;z-index:1;pointer-events:none;
  opacity:1;background:linear-gradient(90deg,rgba(8,20,37,.48),rgba(8,20,37,.56) 46%,rgba(8,20,37,.25)),
    linear-gradient(180deg,rgba(6,15,28,.1),rgba(6,15,28,.12) 65%,rgba(6,15,28,.34));
  mask-image:none;-webkit-mask-image:none}
.hero::after,.hero-orb{display:none}
.hero .hero-content{position:relative;z-index:2;flex:none;width:100%;max-width:1120px;
  margin:0 auto;padding:104px 32px 128px}
.hero h1{max-width:1000px;margin:0 auto;color:#fff;
  font-size:clamp(38px,4.2vw,60px);font-weight:600;line-height:1.26;letter-spacing:-.025em;
  text-shadow:0 2px 22px rgba(0,10,24,.25)}
.hero .hero-sub{max-width:760px;margin:28px auto 0;color:#edf2f8;
  font-size:18px;line-height:1.8;text-shadow:0 1px 10px rgba(0,10,24,.3)}
.hero-actions{width:max-content;max-width:100%;justify-content:center;gap:16px;margin:36px auto 0}
.hero .btn-ghost{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.65);color:#fff}
.hero .btn-ghost:hover{background:rgba(255,255,255,.16);border-color:#fff;color:#fff}
.hero-scroll{left:50%;bottom:28px;transform:translateX(-50%)}
.hero-scroll::after{background:linear-gradient(rgba(255,255,255,.8),transparent)}
html[data-page="home"][data-lang="en"] .hero h1{max-width:960px;
  font-size:clamp(38px,4.2vw,60px);line-height:1.18;letter-spacing:-.035em}
html[data-page="home"][data-lang="en"] .hero-sub{max-width:760px;font-size:17px}
@media(max-width:768px){
  .hero{min-height:560px;height:100svh;max-height:none;background-position:74% center}
  .hero::before{background:linear-gradient(180deg,rgba(8,20,37,.36),rgba(8,20,37,.62) 42%,rgba(8,20,37,.55))}
  .hero .hero-content{padding:80px 20px 96px}
  .hero h1{font-size:clamp(26px,7.4vw,42px);line-height:1.35;max-width:640px}
  .hero .hero-sub{font-size:16px;line-height:1.8;max-width:480px;margin-top:24px}
  .hero-actions{width:100%;max-width:350px;gap:12px;margin-top:28px}
  .hero-scroll{display:none}
  html[data-page="home"][data-lang="en"] .hero h1{max-width:640px;
    font-size:clamp(28px,7.6vw,40px);line-height:1.2}
  html[data-page="home"][data-lang="en"] .hero-sub{max-width:480px;font-size:16px}
}

/* 透明导航叠在深色首屏上时使用白色标识与文字；展开菜单沿用原有实底。 */
body:not(.nav-open) .nav.ghost:not(:hover):not(:focus-within) .brand img{filter:brightness(0) invert(1)}
body:not(.nav-open) .nav.ghost:not(:hover):not(:focus-within) .nav-item>a,
body:not(.nav-open) .nav.ghost:not(:hover):not(:focus-within) .icon-btn{color:#fff}
body:not(.nav-open) .nav.ghost:not(:hover):not(:focus-within) .nav-item>a::after,
body:not(.nav-open) .nav.ghost:not(:hover):not(:focus-within) .nav-toggle span{background:#fff}
