/* 首屏：居中大标题 + 品牌红光晕与点阵，去掉水墨松树，底部露出宣传片片头。 */
.home .hero {
  min-height: clamp(560px, calc(100svh - 190px), 780px);
  padding-top: 132px;
  padding-bottom: 56px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(36, 38, 34, 0.13) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 42%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 78%);
  mask-image: radial-gradient(60% 70% at 50% 42%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 78%);
  pointer-events: none;
}

#hero::after {
  height: clamp(120px, 18vh, 200px);
  background: linear-gradient(180deg, transparent, var(--bg-page));
}

#hero .hero__base {
  background:
    radial-gradient(46% 52% at 50% 0%, rgba(180, 39, 45, 0.13), transparent 72%),
    radial-gradient(30% 38% at 86% 34%, rgba(255, 138, 107, 0.12), transparent 70%),
    radial-gradient(28% 36% at 12% 52%, rgba(180, 39, 45, 0.07), transparent 70%);
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

.home .hero__inner {
  text-align: center;
}

.home .hero__eyebrow {
  margin-bottom: 30px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 8px 24px -16px rgba(60, 40, 30, 0.35);
}

.home .hero__title {
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.home .hero__title em {
  background: linear-gradient(90deg, var(--color-brand), #e5574f 60%, #ff8a6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home .hero__sub {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: 18px;
}

.home .hero__actions {
  justify-content: center;
  margin-top: 36px;
}

.home .hero__actions .btn {
  height: 52px;
  padding-inline: 30px;
  font-size: 16px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 14px;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__facts li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-brand);
  opacity: 0.7;
}

/* 三张独立价值卡分别取水墨长卷的左 / 中 / 右景，文字独立于装饰图；区块位于八大模块之后。 */
.section.value {
  --wide-w: min(1120px, 100vw - 2 * var(--pad));
  position: relative;
  z-index: 2;
  padding-top: clamp(64px, 9vw, 112px);
}

.value::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -120px 0 0;
  background: url('assets/hero-bg.png') left center / cover no-repeat;
  opacity: 0.06;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, rgba(0, 0, 0, 0.6) 62%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, rgba(0, 0, 0, 0.6) 62%, transparent);
  pointer-events: none;
}

.value .section__head {
  max-width: none;
  margin-bottom: 28px;
}

.value .section__lead {
  max-width: 720px;
}

.value__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-inline: 0;
}

.value-card {
  --ink-panel-x: 0%;
  min-width: 0;
  min-height: 280px;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background-color: var(--bg-page);
  background-image: linear-gradient(180deg, rgba(250, 248, 245, 0.98), rgba(250, 248, 245, 0.86) 30%, rgba(250, 248, 245, 0.35) 62%, rgba(250, 248, 245, 0.05)), url('assets/ink-panorama-v1.png');
  background-size: 100% 100%, calc(300% + 48px) auto;
  background-position: center, var(--ink-panel-x) bottom;
  background-repeat: no-repeat;
}

.value-card--team { --ink-panel-x: 50%; }
.value-card--org { --ink-panel-x: 100%; }

.value-card__index {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.value-card__index::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-brand-border);
}

.value-card h3 {
  margin-top: 16px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.value-card p {
  margin-top: 9px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .value__grid {
    width: 100%;
    margin-inline: 0;
  }

  .value-card {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .home .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 40px;
  }

  .home .hero__title {
    font-size: clamp(24px, 7.4vw, 40px);
  }

  .home .hero__sub {
    font-size: 15px;
  }

  .hero__facts {
    gap: 8px 18px;
    font-size: 13px;
  }
  .value__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .value-card {
    min-height: 240px;
    padding: 24px;
    background-size: 100% 100%, 300% auto;
  }
}

/* 整页翻页：assets/page-flow.js 在桌面端把每次滚动平滑翻到下一个区块；这里加强区块进场动画。 */
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .reveal {
    transform: translateY(56px) scale(0.985);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .home .reveal.is-in {
    transform: none;
  }
}
