/* ============================================================
   首页 Hero 实拍背景（2026-11-04）
   ------------------------------------------------------------
   图片：img/hero-home.webp（1920×1079，工場・金型・シリコーン完成品）
   仅作用于 <section class="hero hero-photo">：
     · /jp/ 城市落地页 area.php 也用 .hero —— 不受影响
     · 内页页头是 .page-hero 独立类 —— 不受影响
   加载位置：header.php 中 theme-en.css 之后 → 优先级高于 JP/EN 主题背景，
             但文字色仍沿用各自主题，不改动原配色文件。
   ============================================================ */

.hero.hero-photo {
  background-color: #0d1421;
  background-image:
    /* 左侧文字区压暗，保证白字可读；右侧产品与金型保留原亮度 */
    linear-gradient(90deg,
      rgba(8, 13, 21, .94) 0%,
      rgba(8, 13, 21, .86) 24%,
      rgba(8, 13, 21, .68) 44%,
      rgba(8, 13, 21, .34) 66%,
      rgba(8, 13, 21, .10) 100%),
    /* 上下加深：衔接深色导航与紧随其后的暖米色区块 */
    linear-gradient(180deg,
      rgba(8, 13, 21, .55) 0%,
      rgba(8, 13, 21, .10) 40%,
      rgba(8, 13, 21, .62) 100%),
    url('../img/hero-home.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center, center, 62% center;
  background-attachment: scroll;
}

/* 文字层：压在遮罩之上，轻投影保证压到图片亮部时仍可读 */
.hero.hero-photo .wrap {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
/* eyebrow 原本用朱红 #D7000F，深色实拍底上对比不足 → 按语言换高亮色 */
.hero.hero-photo .eyebrow { color: #ff9aa2; }
html[lang="en"] .hero.hero-photo .eyebrow { color: #9ec5e8; }
.hero.hero-photo .chip {
  background: rgba(8, 13, 21, .38);
  border-color: rgba(255, 255, 255, .42);
  backdrop-filter: blur(3px);
}
.hero.hero-photo .scroll-hint { color: rgba(255, 255, 255, .68); }

/* 窄屏：cover 会裁到中央金型，整体压暗并把取景重心右移到产品区 */
@media (max-width: 760px) {
  .hero.hero-photo {
    background-image:
      linear-gradient(180deg, rgba(8, 13, 21, .74) 0%, rgba(8, 13, 21, .66) 100%),
      url('../img/hero-home.webp');
    background-position: center, 62% center;
  }
  .hero.hero-photo .wrap { max-width: 100%; }
}
