/* ============================================================
   HERO · 集团双品牌玻璃卡（首屏动效）
   文字遮罩 → 主图 → 卡片升起 → 滚动换主次（澳龙 → 雷米高）
   动效来源：Motion Prompt #133 Text mask / #147 Stacking cards
   MIT License (c) 2026 Shohei Ohtaki · showheyohtaki.github.io/motion-prompt

   2026-11-11 改：背景换成天空版园区图；玻璃卡同位重叠（只有一张在场）；
   宽度对齐全站 .wrap；--u 恒为 1px。
   14:05 追加：品牌名改成卡内文字；轮播加两侧切换键；CTA 改玻璃按钮。
   ============================================================ */

/* 首屏交互期间锁住页面滚动；stable 让滚动条槽位常驻，锁定/解锁不跳版 */
html{scrollbar-gutter:stable}
html.hs-locked{overflow:hidden}

/* 品牌名展示字：站酷小薇 LOGO 体（站酷免费授权全社会使用，含商用）
   站酷小薇 LOGO 体：按用户确认做品牌名字形子集；授权见 fonts/LICENSE-ZCOOL-XiaoWei-LOGO.txt */
@font-face{
  font-family:"BrandDisplay";
  src:url("fonts/brand-display.woff2") format("woff2");
  font-style:normal;font-weight:400;font-display:swap;
}

.hs{
  --u:1px;
  position:relative;
  background:#060b18;
  color:#fff;
  isolation:isolate;
}
/* 没 JS 时：主图占顶部 78vh，卡片接着往下排（同窄屏口径） */
.hs-pin{position:relative;padding-top:min(74vw,62vh);overflow:hidden}
/* 静态兜底：没有 JS 时这一条主图用 CSS 背景顶住，画布不画也不会留白 */
/* lint-ok: 首页首屏单独一层，纵向极淡 */
.hs-scene{
  position:absolute;inset:0 0 auto 0;display:block;width:100%;height:min(74vw,62vh);
  background:linear-gradient(180deg,rgba(6,11,24,.18) 0%,rgba(6,11,24,.52) 100%),
             #0a1424 url(hero/scene-hd.webp) center/cover no-repeat;
}
.hs-stage{position:relative;display:flex;flex-direction:column;padding:40px 0 20px}
/* 澳龙在前：静态流里排到雷米高上面（桌面钉住舞台是绝对定位，不受影响） */
.hs-card--along{order:-1}

/* 静态兜底：没有 JS / 触屏时卡片按普通文档流排 */
.hs-card{
  position:relative;
  width:min(var(--max),calc(100% - var(--gutter) * 2));
  margin:0 auto 26px;
  transform-origin:50% 0;
}

/* ============================================================
   静态兜底（脚本挂了 / 被禁用时由页面脚本加 .is-static）
   跟动画版长一个样：主图铺满整屏并固定在视口，两张卡依次落位滚过去，
   只是没有叠加换卡的动效。背景用 fixed，所以往下滚图不会跟着走。
   —— 注意：head 里的 <noscript> 样式是同一套，改了这里要同步
   ============================================================ */
.hs.is-static{
  position:relative;
  height:auto;
  background:#0a1424;
  /* fixed 的背景层要裁在本块之内，别糊到下面的内容上 */
  clip-path:inset(0);
}
.hs.is-static .hs-pin{padding-top:0;overflow:visible}
/* 主图单独一层，固定在视口：往下滚，图不动，卡片依次滑过去 */
.hs.is-static .hs-scene{
  display:block;
  position:fixed;top:0;left:0;
  width:100%;height:100vh;
  z-index:0;
  background:
    linear-gradient(180deg,rgba(6,11,24,.62) 0%,rgba(6,11,24,.44) 34%,rgba(6,11,24,.76) 100%),
    #0a1424 url(hero/scene-hd.webp) center center / cover no-repeat;
  animation:hsBgIn .4s ease both;
}
@keyframes hsBgIn{from{opacity:0}to{opacity:1}}
.hs.is-static .hs-stage{
  position:relative;z-index:1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
  width:min(1440px,calc(100% - 96px));
  margin-inline:auto;
  padding:104px 0 84px;
}
.hs.is-static .hs-card{
  position:relative;left:auto;top:auto;
  width:auto;
  height:min(820px,88vh);margin:0;
  opacity:1;visibility:visible;pointer-events:auto;
  transform:none;
  /* 从动画版切过来时轻轻淡入，不要硬跳 */
  animation:hsFallIn .3s ease both;
}
@keyframes hsFallIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
.hs.is-static .hs-face{height:100%}
.hs.is-static .hs-hint{display:none}

/* ---------- 玻璃卡面 ---------- */
.hs-face{
  position:relative;
  height:100%;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(158deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.06) 34%,rgba(8,24,46,.52) 100%);
  -webkit-backdrop-filter:blur(18px) saturate(1.35);
  backdrop-filter:blur(18px) saturate(1.35);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 30px 70px rgba(3,8,20,.42),
             inset 0 1px 0 rgba(255,255,255,.34),
             inset 0 0 0 1px rgba(255,255,255,.06);
}
.hs-face::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(120deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,0) 42%);
}
/* 两张卡只留极轻的品牌色倾向，底色都是透明的，透出后面那张园区图 */
.hs-card--ram .hs-face{
  background:linear-gradient(158deg,rgba(120,164,236,.13) 0%,rgba(255,255,255,.05) 34%,rgba(8,24,46,.60) 100%);
}
.hs-card--along .hs-face{
  background:linear-gradient(158deg,rgba(53,195,175,.13) 0%,rgba(255,255,255,.05) 34%,rgba(8,24,46,.60) 100%);
}
/* 同位重叠后不再有「退到后层」的压暗层 */
.hs-dim{display:none}

/* ---------- 品牌名：得意黑放大到海报级 + 渐变描边光效 ---------- */
.hs-brand{
  position:relative;display:flex;align-items:baseline;gap:14px;
  margin:0 0 8px;padding-bottom:12px;
}
.hs-brand::after{
  content:"";position:absolute;left:0;bottom:0;
  width:64px;height:3px;border-radius:3px;background:var(--accent);
  box-shadow:0 0 18px var(--accent);
}
/* lint-ok: 品牌展示字，刻意不用正文字族 */
.hs-brand-cn{
  font-family:"BrandDisplay","Noto Sans SC","Microsoft YaHei",sans-serif;
  font-size:72px;line-height:1;font-weight:400;letter-spacing:.01em;
  background:linear-gradient(170deg,#ffffff 16%,rgba(255,255,255,.74) 100%);
  -webkit-background-clip:text;background-clip:text;
  color:transparent;text-shadow:none;
  filter:drop-shadow(0 5px 18px rgba(2,10,24,.62));
  transform:scaleX(1.06);transform-origin:left center;
}
/* lint-ok: 品牌展示字，刻意不用正文字族 */
.hs-brand-en{
  font-family:"BrandDisplay",Inter,sans-serif;
  font-size:14px;letter-spacing:.38em;color:var(--accent);
  text-shadow:0 2px 10px rgba(2,10,24,.9),0 0 14px rgba(2,10,24,.7);
}
/* 青色在浅蓝天空上对比不足，澳龙英文提亮一档 */
.hs-card--along .hs-brand-en{color:#9df8e8}
.hs-card--ram{--accent:#78a4ec;--accent-ink:#36549c}
.hs-card--along{--accent:#35c3af;--accent-ink:#072f2a}

/* ---------- 卡内两栏 ---------- */
.hs-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:32px;
  height:100%;
  padding:52px;
  align-items:stretch;
  /* 背景是明亮天空版，给卡内文字一层暗投影，玻璃仍保持通透 */
  text-shadow:0 2px 14px rgba(3,12,28,.78);
}

/* ---------- 文字栏 ---------- */
.hs-copy{min-width:0;display:flex;flex-direction:column;justify-content:flex-start;position:relative}
.hs-title{
  margin:0;
  font-size:var(--fs-h2);line-height:1.16;font-weight:600;
  letter-spacing:-.028em;color:#fff;text-wrap:balance;
}
.hs-title em{font-style:normal;color:var(--accent)}

.hs-lead{
  margin:20px 0 0;
  max-width:24em;
  font-size:17px;line-height:1.78;
  color:rgba(255,255,255,.95);text-wrap:pretty;
}
.hs-lead strong{color:#fff;font-weight:500}

.hs-facts{
  display:flex;align-items:flex-start;gap:22px;
  margin:26px 0 24px;padding:0;list-style:none;
}
.hs-facts li+li{
  padding-left:22px;
  border-left:1px solid rgba(255,255,255,.24);
}
.hs-facts b{
  display:block;
  font-size:30px;line-height:1.12;font-weight:700;
  letter-spacing:-.02em;color:#fff;
}
.hs-facts b em{font-style:normal;font-size:.6em;margin-left:.06em;color:var(--accent)}
.hs-facts span{
  display:block;margin-top:4px;
  font-size:12.5px;letter-spacing:.02em;color:rgba(255,255,255,.86);
}

/* 澳龙卡：新窗口打开子站的按钮，玻璃质感与卡面统一，不再是实心色块 */
.hs-cta{
  display:inline-flex;align-items:center;gap:8px;
  /* 脱离文字流并相对文字栏定位：两卡共用同一坐标，不受文案长短影响 */
  position:absolute;right:50%;bottom:24px;margin:0;z-index:3;
  height:44px;width:142px;justify-content:center;padding:0 16px;
  border-radius:14px;
  background:rgba(9,24,45,.58);
  -webkit-backdrop-filter:blur(10px) saturate(1.25);
  backdrop-filter:blur(10px) saturate(1.25);
  border:1px solid rgba(255,255,255,.72);
  color:#fff;font-size:14px;font-weight:600;letter-spacing:.02em;
  text-shadow:0 1px 8px rgba(2,8,20,.6);
  text-decoration:none;white-space:nowrap;align-self:flex-end;
  box-shadow:0 8px 22px rgba(3,8,20,.34), inset 0 1px 0 rgba(255,255,255,.26);
  transition:transform .22s ease,background-color .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.hs-cta:hover{
  transform:translateY(-2px);background:rgba(9,24,45,.76);
  border-color:#fff;
  box-shadow:0 14px 30px rgba(3,8,20,.44);
}
.hs-cta .arw{font-size:.9em;line-height:1;color:var(--accent);transition:transform .22s ease}
.hs-cta:hover .arw{transform:translate(2px,-2px)}

/* ---------- 产品栏 ---------- */
.hs-panel{min-width:0;max-width:100%;align-self:center}
.hs-plabel{
  display:block;margin:0 0 10px;
  font-size:11px;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.82);
}
.hs-frame{
  position:relative;
  aspect-ratio:3 / 2;
  border-radius:14px;
  overflow:hidden;
  background:rgba(238,243,251,.88);
  box-shadow:0 8px 26px rgba(3,8,20,.30);
}
.hs-shot{
  position:absolute;inset:0;margin:0;overflow:hidden;
  opacity:0;transition:opacity .7s ease;
}
.hs-shot.is-on{opacity:1}
.hs-shot img{
  position:relative;z-index:1;
  width:100%;height:100%;object-fit:contain;object-position:50% 50%;
  transform:scale(1.012);
  transition:transform 6s ease-out;
}
.hs-shot.is-on img{transform:scale(1)}

/* 轮播两侧手动切换键 */
.hs-nav{
  position:absolute;z-index:2;top:50%;
  width:34px;height:34px;margin:0;padding:0;
  border-radius:50%;
  /* 深蓝产品图与白底产品图都要能一眼看见：靠白描边 + 投影勾轮廓 */
  border:1.5px solid rgba(255,255,255,.92);
  background:rgba(10,22,42,.55);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  color:#fff;cursor:pointer;
  box-shadow:0 3px 12px rgba(2,8,20,.45);
  transform:translateY(-50%);
  transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.hs-nav--prev{left:10px}
.hs-nav--next{right:10px}
.hs-nav::after{
  content:"";position:absolute;top:50%;left:50%;
  width:7px;height:7px;
  border-top:2px solid currentColor;border-right:2px solid currentColor;
}
.hs-nav--prev::after{transform:translate(-50%,-50%) rotate(-135deg)}
.hs-nav--next::after{transform:translate(-50%,-50%) rotate(45deg)}
.hs-nav:hover{background:rgba(10,22,42,.74);border-color:#fff;box-shadow:0 5px 16px rgba(2,8,20,.55)}
.hs-nav:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.hs-meta{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:16px;margin-top:12px;
}
.hs-pname{
  margin:0;font-size:14px;font-weight:600;
  color:#fff;letter-spacing:.01em;
}
.hs-pidx{
  font-size:11px;letter-spacing:.14em;
  color:rgba(255,255,255,.92);font-variant-numeric:tabular-nums;
}
.hs-dots{display:flex;gap:4px;margin-top:4px}
.hs-dots button{
  position:relative;width:22px;height:14px;
  padding:0;border:0;background:none;cursor:pointer;
  transition:width .3s ease;
}
.hs-dots button::after{
  content:"";position:absolute;left:0;right:0;bottom:5px;
  height:3px;border-radius:2px;background:rgba(255,255,255,.46);
  transition:background-color .3s ease;
}
.hs-dots button.is-on{width:36px}
.hs-dots button.is-on::after{background:var(--accent)}

/* ---------- 滚动提示 ---------- */
.hs-hint{
  position:absolute;left:0;right:0;bottom:40px;z-index:5;
  display:flex;flex-direction:column;align-items:center;gap:10px;
  font-size:12px;letter-spacing:.28em;
  color:rgba(255,255,255,.6);pointer-events:none;opacity:0;
  transition:opacity .35s ease;
}
.hs-hint i{
  width:9px;height:9px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);animation:hs-bob 1.9s ease-in-out infinite;
}
.hs-hint.is-intro i{display:none}
@keyframes hs-bob{
  0%,100%{transform:rotate(45deg) translate(0,0);opacity:.5}
  50%{transform:rotate(45deg) translate(3px,3px);opacity:1}
}

/* ============================================================
   桌面 · 双卡并排舞台（2026-11-27）
   两张卡左右并排、各占一半，卡内下半是自家的厂区实景；
   不再上下切换，入场动画播完页面正常滚动。
   ============================================================ */
.hs.is-live{height:100vh}
.hs.is-live .hs-pin{position:relative;height:100vh;padding-top:0}
.hs.is-live .hs-scene{inset:0;height:100%}
.hs.is-live .hs-stage{
  position:absolute;inset:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
  align-content:center;
  width:min(1440px,calc(100% - 96px));
  margin-inline:auto;
}
.hs.is-live .hs-card{
  position:relative;left:auto;top:auto;
  width:auto;
  height:min(820px,88vh);
  margin:0;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(46px);
  will-change:transform,opacity;
  transition:opacity .3s ease,visibility .3s,transform .3s ease;
}
.hs.is-live .hs-face{height:100%}
/* 两张卡依次升起：澳龙先，雷米高晚 90ms */
.hs.is-live .hs-stage.is-in .hs-card{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:none;
  transition:opacity .55s ease,transform .68s cubic-bezier(.22,.8,.24,1);
}
.hs.is-live .hs-stage.is-in .hs-card--ram{transition-delay:.09s}

/* ============================================================
   窄屏 / 触屏 · 不钉住，两张卡依次浮在首屏主图上（澳龙在上）
   2026-11-19：原来图占顶端 62vh、卡片在下面另起一块，看起来像两个
   不相干的区块；改成主图铺满整块，卡片直接压在图上。
   ============================================================ */
@media (max-width:820px){
  .hs.is-live{height:auto}
  .hs-pin,.hs.is-live .hs-pin{position:relative;height:auto;padding-top:min(74vw,56vh)}
  .hs-scene,.hs.is-live .hs-scene{
    position:absolute;inset:0 0 auto 0;height:min(74vw,56vh);
    background:
      linear-gradient(180deg,rgba(6,11,24,.18) 0%,rgba(6,11,24,.50) 55%,rgba(6,11,24,.94) 100%),
      #0a1424 url(hero/scene-hd.webp) center center / cover no-repeat;
  }
  .hs-stage,.hs.is-live .hs-stage,.hs.is-static .hs-stage{
    position:relative;padding:0 0 40px;margin-top:-24px;
    display:block;width:auto;
    overflow:hidden;isolation:isolate;
  }
  /* 卡片区不落在纯黑上：用同一张首屏主图的放大虚化版垫底，有色、不抢字 */
  .hs-stage::before{
    content:"";position:absolute;inset:-40px;z-index:-1;
    background:#0a1424 url(hero/scene-hd.webp) center center / cover no-repeat;
    filter:blur(26px) brightness(.42) saturate(1.15);
    transform:scale(1.12);
  }
  .hs.is-live .hs-card,
  .hs.is-static .hs-card,
  .hs-card:not(.hz-card){
    position:relative;left:auto;top:auto;
    width:min(620px,calc(100% - 32px));height:auto;min-height:0;margin:0 auto 26px;
    opacity:1;visibility:visible;pointer-events:auto;
    transform:none!important;animation:none!important;
  }
  /* 卡片压在照片上，底子多垫一层深色，文字在亮处也读得清 */
  .hs-face,
  .hs.is-live .hs-face,
  .hs.is-static .hs-face{
    background:
      linear-gradient(158deg,rgba(255,255,255,.12) 0%,rgba(255,255,255,.04) 34%,rgba(8,24,46,.62) 100%),
      rgba(6,14,28,.38);
  }
  .hs-brand-cn{font-size:44px}
  .hs-brand-en{font-size:11px}
  .hs-nav{width:30px;height:30px}
  .hs-body,
  .hs.is-live .hs-body{
    grid-template-columns:1fr;gap:24px;
    padding:26px 22px 24px;
  }
  .hs-card--along .hs-panel{order:0}
  .hs-title{font-size:34px}
  .hs-lead{font-size:15.5px}
  .hs-facts{gap:18px;margin-top:20px}
  .hs-facts li+li{padding-left:18px}
  .hs-facts b{font-size:24px}
  .hs-cta{display:flex;position:static;right:auto;bottom:auto;margin:22px 24px 24px auto;font-size:14px}
  .hs-cta{height:44px;padding:0 16px}
  .hs-hint{display:none}
}

/* 矮窗口：收紧标题与间距，保证底部按钮、图注都留在卡内 */
@media (max-height:760px) and (min-width:821px){
  .hs-body{padding:44px 52px}
  .hs-brand{margin-bottom:8px;padding-bottom:9px}
  .hs-brand-cn{font-size:48px}
  .hs-title{font-size:36px}
  .hs-lead{font-size:15.5px;line-height:1.66;margin-top:16px}
  .hs-facts{margin:20px 0 18px}
}

/* 窄桌面：两栏变窄后正文会顶到按钮，收紧标题与间距 */
@media (min-width:821px) and (max-width:1100px){
  .hs-body{padding:40px}
  .hs-brand{margin-bottom:6px;padding-bottom:8px}
  .hs-brand-cn{font-size:52px}
  .hs-title{font-size:34px}
  .hs-lead{font-size:15px;line-height:1.62;margin-top:14px}
  .hs-facts{margin:18px 0 14px;gap:16px}
  .hs-facts li+li{padding-left:16px}
  .hs-facts b{font-size:24px}
  .hs-facts span{font-size:11.5px}
}

/* 2026-11-30 强制动效：原 @media (prefers-reduced-motion:reduce) 降级块（入场过渡取消、
   卡片直接落位）已移除，首屏在任何设备上都播入场。回退见
   D:\ramical.com-改动备份\20261130-1058-强制动效\hero-stack.css */
