@charset "UTF-8";
/* ==========================================================================
   盛塑邦塑化 · 前端样式
   文件：css/style.css —— 设计令牌 / 基础排版 / 通用组件 / 页头页脚 / 动效基元
   说明：色值与字号取自设计稿（1440 宽画板，左右留白 80）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 主色：墨青底 + 品牌蓝 */
  --ink: #061a38;
  --ink-2: #08203f;
  --ink-3: #0d2a4f;
  --blue: #0d74d6;          /* 浅底上的主色 */
  --blue-deep: #0a5abf;     /* 渐变起点 */
  --blue-bright: #5cb8f2;   /* 深底上的高亮色 */
  --blue-glow: rgba(92, 184, 242, 0.55);

  /* 中性色 */
  --white: #ffffff;
  --paper: #eff4fa;         /* 浅色区块底 */
  --paper-2: #f6f9fd;       /* 卡片底 */
  --paper-3: #f3f7fc;       /* 首屏/标头浅底 */
  --line: #dee6f2;          /* 结构线 / 分隔 */
  --line-soft: #e4ebf6;
  --text: #061a38;          /* 标题 */
  --text-body: #566b85;     /* 正文 */
  --text-muted: #7c8fa8;    /* 次要 */
  --text-faint: #8195ae;    /* 说明 / 标签 */
  --text-ghost: #96a7bd;    /* 最弱 */

  /* 字体 */
  --font-cn: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-en: "Archivo", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺寸 */
  --nav-h: 84px;
  --topbar-h: 44px;
  --pad-x: clamp(20px, 5.55vw, 80px);
  --radius: 2px;
  --radius-lg: 4px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.55s;
  --shadow-1: 0 2px 10px rgba(6, 26, 56, 0.05);
  --shadow-2: 0 18px 44px -18px rgba(6, 26, 56, 0.28);
  --shadow-3: 0 32px 80px -28px rgba(6, 26, 56, 0.42);

  /* 由 JS 写入的光斑坐标 */
  --mx: 50%;
  --my: 50%;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* 细滚动条（桌面） */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: #f1f5fb; }
  ::-webkit-scrollbar-thumb { background: #c3d3e6; border: 3px solid #f1f5fb; border-radius: 6px; }
  ::-webkit-scrollbar-thumb:hover { background: #9db4cf; }
}

/* --------------------------------------------------------------------------
   3. 排版与布局工具
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sec { position: relative; padding-block: clamp(48px, 6.2vw, 96px); }
.sec--dark { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.sec--paper { background: var(--paper); }
.sec--tight { padding-block: clamp(36px, 4vw, 64px); }

/* 深色区块的鼠标光斑层 */
.sec--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(92, 184, 242, 0.13), transparent 62%);
}
.sec--dark.has-pointer::before { opacity: 1; }
.sec--dark > * { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sec--dark .eyebrow { color: var(--blue-bright); }

.h-sec {
  font-family: var(--font-cn);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
.sec--dark .h-sec { color: #fff; }

.lead {
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.95;
  color: var(--text-body);
  max-width: 62ch;
}
.sec--dark .lead { color: rgba(255, 255, 255, 0.55); }
.lead--sm { font-size: 13px; }

.mono { font-family: var(--font-mono); }
.en { font-family: var(--font-en); }
.accent { color: var(--blue); }
.sec--dark .accent { color: var(--blue-bright); }

.sec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(28px, 3vw, 44px);
}
.sec-head__main { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.sec-head__aside {
  align-self: flex-start;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  white-space: nowrap;
}

.hairline { height: 1px; background: var(--line); border: 0; }
.sec--dark .hairline { background: rgba(255, 255, 255, 0.1); }

/* --------------------------------------------------------------------------
   4. 按钮与链接
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.35s ease, color 0.3s ease;
}
.btn__label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; }

/* 掠光 */
.btn::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  z-index: 1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

.btn:active { transform: translateY(1px) scale(0.995); }

/* 深色实底（导航 / 通用） */
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); box-shadow: 0 14px 30px -14px rgba(13, 116, 214, 0.75); }

/* 高亮蓝（首屏主按钮） */
.btn--accent {
  background: var(--blue-bright);
  color: var(--ink);
  font-weight: 700;
}
.btn--accent:hover {
  background: #7cc9f7;
  box-shadow: 0 16px 38px -14px var(--blue-glow);
  transform: translateY(-2px);
}

/* 白底（CTA 区） */
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45); }

/* 幽灵描边 */
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); }

.btn__ico { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.btn:hover .btn__ico { transform: translateX(4px); }

/* 文字链接 + 箭头 */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s ease, gap 0.35s var(--ease);
}
.tlink svg { width: 12px; height: 12px; transition: transform 0.4s var(--ease); }
.tlink:hover { color: #fff; gap: 12px; }
.tlink:hover svg { transform: translateX(2px); }
.tlink--ink { color: var(--ink); }
.tlink--ink:hover { color: var(--blue); }

/* 波纹（JS 注入） */
.ripple {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.7s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: translate(-50%, -50%) scale(22); opacity: 0; }
}

/* --------------------------------------------------------------------------
   5. 顶栏 / 导航
   -------------------------------------------------------------------------- */
.topbar {
  height: var(--topbar-h);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__links { display: flex; align-items: center; gap: 32px; }
.topbar__links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s ease;
}
.topbar__links a:hover { color: #fff; }
.topbar__tel { font-size: 14px; font-weight: 700; color: #fff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s ease, background-color 0.45s ease;
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav.is-stuck {
  height: 68px;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 32px -24px rgba(6, 26, 56, 0.6);
  background: rgba(255, 255, 255, 0.9);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__logo { width: 172px; height: 48px; object-fit: contain; transition: transform 0.45s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.03) translateY(-1px); }

.nav__menu { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav__link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding-block: 8px;
  font-size: 15px;
  color: var(--text-body);
  transition: color 0.3s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); font-weight: 500; }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta { flex: none; }
.nav__cta .btn { padding: 12px 24px; }

/* 汉堡（移动端） */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav__burger span {
  position: relative;
  display: block;
  width: 20px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--nav-h) + 24px) var(--pad-x) 40px;
  background: var(--ink);
  color: #fff;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease);
  pointer-events: none;
}
.drawer.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.drawer__menu { display: flex; flex-direction: column; gap: 4px; }
.drawer__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 24px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
}
.drawer__link span { font-family: var(--font-mono); font-size: 10px; color: var(--blue-bright); letter-spacing: 0.1em; }
.drawer.is-open .drawer__link { opacity: 1; transform: none; transition-delay: calc(var(--i) * 70ms + 120ms); }
.drawer__foot { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.drawer__foot strong { color: #fff; font-size: 20px; font-weight: 500; }

/* --------------------------------------------------------------------------
   6. 内页标头
   -------------------------------------------------------------------------- */
.phero {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  color: var(--ink);
  isolation: isolate;
}
.phero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  will-change: transform;
}
.phero__bg img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.phero.is-in .phero__bg img { transform: scale(1); }
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    no-repeat 0 0 / 79% 100%
      linear-gradient(90deg, #f1f6fc 0%, rgba(241, 246, 252, 0.96) 40%, rgba(241, 246, 252, 0.7) 68%, rgba(241, 246, 252, 0) 100%),
    linear-gradient(180deg, rgba(241, 246, 252, 0.35) 0%, rgba(241, 246, 252, 0) 45%);
}
.phero--h360 { min-height: 360px; }
.phero--h320 { min-height: 320px; }
.phero__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: clamp(48px, 4.6vw, 56px);
  min-height: inherit;
  justify-content: center;
}
.phero__crumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.phero__crumb a { color: var(--text-faint); transition: color 0.3s ease; }
.phero__crumb a:hover { color: var(--blue); }
.phero__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.phero__desc {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-body);
}
.phero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.phero__stats b {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-right: 7px;
}
.phero__stats span { display: inline-flex; align-items: baseline; }
.phero__stats span + span { padding-left: 22px; margin-left: 22px; border-left: 1px solid rgba(6, 26, 56, 0.14); }

/* --------------------------------------------------------------------------
   7. 页脚
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 72px;
  overflow: hidden;
}
.footer__main {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__brand { width: 340px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.footer__name { font-size: 17px; font-weight: 700; color: #fff; }
.footer__desc { font-size: 12px; line-height: 1.9; color: rgba(255, 255, 255, 0.55); }

.footer__col { width: 190px; display: flex; flex-direction: column; gap: 12px; }
.footer__col--wide { width: 300px; }
.footer__col h4 {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}
.footer__col a,
.footer__col p { font-size: 13px; color: rgba(255, 255, 255, 0.7); transition: color 0.3s ease, transform 0.3s var(--ease); }
.footer__col a { display: inline-block; width: fit-content; }
.footer__col a:hover { color: #fff; transform: translateX(3px); }

/* 联系方式列：电话与邮箱加重放大 */
.footer__col--wide a { font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.footer__col--wide a[href^="tel:"] {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
.footer__col--wide a[href^="mailto:"] { font-size: 14px; letter-spacing: 0; }
.footer__col--wide p { font-size: 12.5px; line-height: 1.7; }

.footer__word {
  display: block;
  margin-top: 44px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(58px, 10.4vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}
.footer__rule { height: 1px; background: rgba(255, 255, 255, 0.08); margin-top: 26px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   8. 悬浮联系条 / 滚动进度 / Toast
   -------------------------------------------------------------------------- */
.rail {
  position: fixed;
  left: 4px;
  top: 50%;
  z-index: 70;
  width: 64px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px -18px rgba(6, 26, 56, 0.5);
}
.rail__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 68px;
  background: #fff;
  color: var(--text-body);
  transition: background-color 0.35s ease, color 0.3s ease;
}
.rail__item:first-child { border-radius: 3px 3px 0 0; }
.rail__item:last-child { border-radius: 0 0 3px 3px; }
.rail__item svg { width: 21px; height: 21px; }
.rail__item i {
  font-style: normal;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.rail__item:hover { background: var(--blue); color: #fff; }
.rail__item.is-primary { background: var(--blue); color: #fff; }
.rail__item.is-primary:hover { background: #0b63ba; }

/* 悬浮提示 */
.rail__tip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translate(-8px, -50%);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
  box-shadow: var(--shadow-2);
}
.rail__tip::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--ink);
  transform: translateY(-50%) rotate(45deg);
}
.rail__tip img {
  width: 160px;
  height: 160px;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 2px;
  background: #fff;
}
.rail__tip em { font-style: normal; font-family: var(--font-cn); font-size: 12.5px; font-weight: 400; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.62); display: block; margin-top: 4px; }

/* 二维码提示：竖向排布，二维码给足尺寸 */
.rail__tip--qr {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 14px;
  text-align: center;
}
.rail__tip--qr::before { top: 50%; }
.rail__tip--qr em { margin-top: 0; }

.rail__item:hover .rail__tip { opacity: 1; transform: translate(0, -50%); }

/* 滚动进度 */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 0 12px rgba(92, 184, 242, 0.8);
  pointer-events: none;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 130;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
  pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   9. 动效基元（滚动进场）
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease, transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-l {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal-l.is-in { opacity: 1; transform: none; }

.js .reveal-img {
  clip-path: inset(0 0 102% 0);
  transition: clip-path 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img img { transform: scale(1.08); transition: transform 1.5s var(--ease); }
.js .reveal-img.is-in img { transform: scale(1); }

.js .reveal-line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal-line.is-in { transform: scaleX(1); }

/* 首屏元素自动播放（不依赖滚动） */
.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.is-in .rise { opacity: 1; transform: none; transition-delay: calc(var(--d, 0) * 90ms + 120ms); }

/* 尊重减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal,
  .js .reveal-l,
  .js .reveal-img,
  .js .reveal-line,
  .rise { opacity: 1; transform: none; clip-path: none; }
}
