/* WHAT HERMES DOES 三段（移植自 5180 视觉稿 OasizLanding，静态化）
   注意：本站旧脚本将根字号缩至 1px，本文件一律使用 px / vw / %，禁用 rem */

.yizhi-hr {
  font-family: Arial, "Noto Sans SC", sans-serif;
  --oasiz-paper: #f3f3f0;
  --oasiz-ink: #080908;
  --oasiz-green: #00ef55;
  --ease-lux: cubic-bezier(0.23, 1, 0.32, 1);
  color: #080908;
}

.yizhi-hr .oasiz-section-label {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.yizhi-hr.oasiz-statement {
  position: relative;
  min-height: 1180px;
  padding: 192px 5vw 160px;
  overflow: hidden;
  background: #f8f8f5;
}

.yizhi-hr.oasiz-statement h2 {
  position: relative;
  z-index: 4;
  max-width: 11em;
  margin: clamp(96px, 14vh, 160px) 0 0;
  font-size: clamp(59px, 8.1vw, 150px);
  font-weight: 900;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.yizhi-hr.oasiz-statement h2 em,
.yizhi-hr.oasiz-flow h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.yizhi-hr .oasiz-statement-copy {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 352px));
  gap: 64px;
  margin: 96px 0 0 36vw;
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 700;
  line-height: 1.75;
}

.yizhi-hr .oasiz-statement-copy p {
  margin: 0;
}

.yizhi-hr .oasiz-statement-orbit {
  position: absolute;
  z-index: 2;
  top: 368px;
  right: -12vw;
  width: min(1100px, 84vw);
  aspect-ratio: 3 / 2;
  opacity: 0.76;
  transform: rotate(13deg);
  mix-blend-mode: multiply;
}

.yizhi-hr .oasiz-statement-orbit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yizhi-hr.oasiz-capabilities {
  padding: 160px 5vw 192px;
  background: var(--oasiz-paper);
}

.yizhi-hr .oasiz-section-head {
  display: grid;
  grid-template-columns: 0.72fr 1.3fr 0.75fr;
  gap: 4vw;
  align-items: end;
  margin-bottom: 128px;
}

.yizhi-hr .oasiz-section-head h2 {
  margin: 0;
  font-size: clamp(56px, 6.8vw, 128px);
  font-weight: 900;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.yizhi-hr .oasiz-section-head > p:last-child {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.yizhi-hr .oasiz-capability-list {
  border-top: 1px solid var(--oasiz-ink);
}

.yizhi-hr .oasiz-capability-card {
  display: grid;
  grid-template-columns: 0.36fr 1.6fr auto;
  gap: 4vw;
  align-items: center;
  min-height: 300px;
  border-bottom: 1px solid var(--oasiz-ink);
  transition: background 0.45s var(--ease-lux), padding 0.45s var(--ease-lux);
}

.yizhi-hr .oasiz-capability-card:hover {
  padding-right: 2vw;
  padding-left: 2vw;
  background: #dfffaa;
}

.yizhi-hr .oasiz-card-number {
  font-family: Georgia, serif;
  font-size: clamp(64px, 8vw, 144px);
  font-style: italic;
  line-height: 1;
}

.yizhi-hr .oasiz-card-tag {
  margin: 0 0 19px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.yizhi-hr .oasiz-capability-card h3 {
  margin: 0;
  font-size: clamp(38px, 5vw, 96px);
  font-weight: 900;
  letter-spacing: -0.065em;
}

.yizhi-hr .oasiz-capability-card div:nth-child(2) > p:last-child {
  max-width: 688px;
  margin: 16px 0 0;
  font-weight: 700;
  line-height: 1.65;
}

.yizhi-hr .oasiz-card-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.yizhi-hr .oasiz-card-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--oasiz-green);
  box-shadow: 0 0 0 5px rgba(0, 239, 85, 0.14);
}

.yizhi-hr.oasiz-flow {
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  gap: 9vw;
  padding: 176px 5vw 192px;
  background: #ddffab;
  border-bottom: 1px solid #080908;
}

.yizhi-hr .oasiz-flow-title {
  position: sticky;
  top: 130px;
  align-self: start;
}

.yizhi-hr.oasiz-flow h2 {
  margin: 80px 0 0;
  font-size: clamp(67.2px, 7.5vw, 144px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.yizhi-hr .oasiz-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yizhi-hr .oasiz-steps li {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 245px;
  padding: 54px 0;
  border-top: 1px solid var(--oasiz-ink);
}

.yizhi-hr .oasiz-steps li:last-child {
  border-bottom: 1px solid var(--oasiz-ink);
}

.yizhi-hr .oasiz-steps span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.yizhi-hr .oasiz-steps h3 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 77px);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.yizhi-hr .oasiz-steps p {
  grid-column: 2;
  margin: 16px 0 0;
  font-weight: 700;
  line-height: 1.6;
}

/* 进入显现（IntersectionObserver 驱动，transition 实现，reduced-motion 安全） */
.yizhi-hr .hr-in {
  opacity: 0;
  transform: translateY(64px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.yizhi-hr .hr-in.is-in {
  opacity: 1;
  transform: none;
}

.yizhi-hr .oasiz-capability-card.hr-in {
  transition: background 0.45s var(--ease-lux), padding 0.45s var(--ease-lux);
}

.yizhi-hr.yizhi-sync-surface {
  background: transparent !important;
  color: #f6f7f2;
  text-shadow: 0 1px 2px rgba(0, 20, 8, 0.82), 0 4px 24px rgba(0, 16, 7, 0.46);
}

.yizhi-hr.yizhi-sync-surface .oasiz-capability-list,
.yizhi-hr.yizhi-sync-surface .oasiz-capability-card,
.yizhi-hr.yizhi-sync-surface .oasiz-steps li {
  border-color: rgba(246, 247, 242, 0.34);
}

.yizhi-hr.yizhi-sync-surface .oasiz-capability-card:hover {
  color: #080908;
  text-shadow: none;
}

.yizhi-hr.yizhi-sync-surface .oasiz-statement-orbit {
  mix-blend-mode: screen;
}

/* 响应式（5180 原版断点，单位已换算 px） */
@media (max-width: 900px) {
  .yizhi-hr.oasiz-statement {
    min-height: 940px;
    padding: 128px 6vw;
  }

  .yizhi-hr.oasiz-statement h2 {
    margin-top: 80px;
  }

  .yizhi-hr .oasiz-statement-orbit {
    top: 320px;
    right: -36vw;
    width: 132vw;
  }

  .yizhi-hr.oasiz-capabilities {
    padding: 128px 6vw;
  }

  .yizhi-hr .oasiz-section-head {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }

  .yizhi-hr .oasiz-capability-card {
    grid-template-columns: 74px 1fr;
    gap: 20px;
    min-height: 280px;
  }

  .yizhi-hr .oasiz-card-status {
    grid-column: 2;
  }

  .yizhi-hr.oasiz-flow {
    grid-template-columns: 1fr;
    padding: 128px 6vw;
  }

  .yizhi-hr .oasiz-flow-title {
    position: static;
  }

  .yizhi-hr .oasiz-steps {
    margin-top: 64px;
  }
}

@media (max-width: 520px) {
  .yizhi-hr .oasiz-statement-copy {
    margin-left: 0;
  }

  .yizhi-hr .oasiz-capability-card {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .yizhi-hr .oasiz-card-status {
    grid-column: 1;
  }

  .yizhi-hr .oasiz-steps li {
    grid-template-columns: 54px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yizhi-hr .hr-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 平台能力（PLATFORM FEATURES）：两列紧凑卡 ── */
.yizhi-hr .oasiz-capability-list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 4vw;
  border-top: 1px solid var(--oasiz-ink);
}
.yizhi-hr .oasiz-capability-list--grid .oasiz-capability-card--compact {
  grid-template-columns: 0.5fr 1.5fr auto;
  min-height: 0;
  padding: 5.5vh 0;
  align-items: flex-start;
}
.yizhi-hr .oasiz-capability-list--grid .oasiz-capability-card--compact .oasiz-card-number {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
}
.yizhi-hr .oasiz-capability-list--grid .oasiz-capability-card--compact h3 {
  font-size: clamp(20px, 1.6vw, 26px);
}
@media (max-width: 768px) {
  .yizhi-hr .oasiz-capability-list--grid {
    grid-template-columns: 1fr;
  }
}
