.page-home {
  --hm-ink-soft: #5C5241;
  --hm-rule: rgba(20, 22, 28, 0.14);
  position: relative;
  background-color: var(--sy-deep);
  color: var(--sy-paper);
  font-family: var(--sy-font);
  overflow-x: hidden;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--sy-grid-pattern);
  background-size: 8px 8px;
  opacity: 0.32;
  pointer-events: none;
}

.page-home > section {
  position: relative;
  z-index: 1;
}

.page-home [id] {
  scroll-margin-top: 76px;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.hm-section {
  padding: clamp(52px, 8vw, 96px) 0;
}

.hm-section__head {
  max-width: 46em;
}

.hm-section__title {
  margin: 12px 0 0;
  font-family: var(--sy-font-display);
  font-size: var(--sy-t2);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--sy-paper);
}

.hm-section__desc {
  margin: 16px 0 0;
  font-size: var(--sy-t4);
  line-height: 1.75;
  color: var(--sy-mist);
  max-width: 34em;
}

/* ---------- 首屏 ---------- */
.hm-hero {
  padding: clamp(30px, 6vw, 72px) 0 clamp(42px, 7vw, 88px);
}

.hm-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 52px);
  align-items: start;
}

.hm-hero__title {
  margin: 16px 0 0;
  font-family: var(--sy-font-display);
  font-size: clamp(30px, 7.6vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--sy-paper);
}

.hm-hero__lead {
  margin: 20px 0 0;
  font-size: var(--sy-t4);
  line-height: 1.78;
  color: var(--sy-mist);
  max-width: 30em;
}

.hm-jump {
  margin: 30px 0 0;
  display: grid;
  border-top: 1px solid var(--sy-line);
}

.hm-jump__link {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 12px 2px;
  border-bottom: 1px solid var(--sy-line-soft);
  color: var(--sy-mist);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--sy-dur) var(--sy-ease), border-color var(--sy-dur) var(--sy-ease);
}

.hm-jump__link:hover,
.hm-jump__link:focus-visible {
  color: var(--sy-gold);
  border-bottom-color: var(--sy-gold-line);
}

.hm-jump__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sy-gold);
  font-variant-numeric: tabular-nums;
}

.hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hm-hero__visual {
  position: relative;
  margin: 0;
}

.hm-hero__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--sy-radius);
  border: 1px solid var(--sy-line);
  overflow: hidden;
  background: var(--sy-panel);
}

.hm-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}

.hm-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hm-orbit__ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: hm-spin 52s linear infinite;
}

.hm-orbit__dot {
  animation: hm-pulse 6s ease-in-out infinite;
}

.hm-orbit__dot--late {
  animation-delay: 2.4s;
}

@keyframes hm-spin {
  to { transform: rotate(360deg); }
}

@keyframes hm-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---------- 入口导览 ---------- */
.hm-gates {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(26px, 4vw, 42px);
  padding-bottom: 8px;
}

.hm-gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: start;
  padding: 20px 20px 22px;
  background: var(--sy-panel);
  border: 1px solid var(--sy-line);
  border-radius: var(--sy-radius);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--sy-dur) var(--sy-ease),
              background-color var(--sy-dur) var(--sy-ease),
              transform var(--sy-dur) var(--sy-ease);
}

.hm-gate:hover {
  border-color: var(--sy-gold-line);
  background: #1A2757;
}

.hm-gate:focus-visible {
  outline: 2px solid var(--sy-gold);
  outline-offset: 3px;
}

.hm-gate__num {
  grid-row: span 2;
  font-size: clamp(38px, 9vw, 52px);
  font-weight: 200;
  line-height: 0.86;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 184, 87, 0.62);
  transition: -webkit-text-stroke-color var(--sy-dur) var(--sy-ease);
}

.hm-gate:hover .hm-gate__num {
  -webkit-text-stroke-color: var(--sy-gold);
}

.hm-gate__title {
  font-family: var(--sy-font-display);
  font-size: var(--sy-t3);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sy-paper);
}

.hm-gate__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sy-mist);
}

.hm-gate:hover .hm-gate__desc {
  color: #C6CDDD;
}

/* ---------- 两条固定栏目 ---------- */
.hm-fixed {
  background: var(--sy-paper);
  color: var(--sy-ink);
  padding: clamp(48px, 8vw, 92px) 0;
  border-top: 1px solid var(--sy-line);
  border-bottom: 1px solid var(--sy-line);
}

.page-home .hm-fixed .sy-eyebrow {
  color: #8A5A16;
}

.hm-fixed .hm-section__title {
  color: var(--sy-ink);
}

.hm-fixed__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.hm-fixed__figure {
  margin: 0;
  border-radius: var(--sy-radius);
  overflow: hidden;
  border: 1px solid var(--hm-rule);
  background: #E7DECD;
}

.hm-fixed__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hm-fixed__figure figcaption {
  padding: 10px 14px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hm-ink-soft);
  background: #FBF6EC;
}

.hm-fixed__lead {
  margin: 16px 0 0;
  font-size: var(--sy-t4);
  line-height: 1.75;
  color: var(--hm-ink-soft);
  max-width: 32em;
}

.hm-col {
  margin-top: 26px;
  padding: 22px 20px 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--hm-rule);
  border-left-width: 4px;
  border-radius: var(--sy-radius-sm);
}

.hm-col--doc {
  border-left-color: var(--sy-teal);
}

.hm-col--case {
  border-left-color: var(--sy-orange);
}

.hm-col__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hm-ink-soft);
}

.hm-col--doc .hm-col__label {
  color: #17786A;
}

.hm-col--case .hm-col__label {
  color: #B44A1C;
}

.hm-col__title {
  margin: 8px 0 0;
  font-family: var(--sy-font-display);
  font-size: clamp(19px, 2.6vw, 23px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--sy-ink);
}

.hm-col__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: #3B382F;
}

.hm-col__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hm-col__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hm-ink-soft);
}

.hm-col__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sy-teal);
}

.hm-col--case .hm-col__list li::before {
  background: var(--sy-orange);
}

.hm-col__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
}

.hm-link {
  color: var(--sy-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 22, 28, 0.35);
  padding-bottom: 1px;
  transition: color var(--sy-dur) var(--sy-ease), border-color var(--sy-dur) var(--sy-ease);
}

.hm-link:hover,
.hm-link:focus-visible {
  color: #17786A;
  border-bottom-color: #17786A;
}

/* ---------- 本期新增 ---------- */
.hm-log {
  margin-top: clamp(26px, 4vw, 40px);
  border-top: 1px solid var(--sy-line);
}

.page-home .hm-log .sy-collapse {
  border-bottom: 1px solid var(--sy-line-soft);
}

.page-home .hm-log .sy-collapse__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 4px;
  background: transparent;
  border: 0;
  color: var(--sy-paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-home .hm-log .sy-collapse__btn:hover .hm-log__title {
  color: var(--sy-gold);
}

.page-home .hm-log .sy-collapse__btn:focus-visible {
  outline: 2px solid var(--sy-gold);
  outline-offset: 2px;
}

.hm-log__num {
  flex: 0 0 auto;
  min-width: 2em;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sy-gold);
  font-variant-numeric: tabular-nums;
}

.hm-log__title {
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.55;
  transition: color var(--sy-dur) var(--sy-ease);
}

.hm-log__tag {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.hm-log__tag--new {
  color: #B7ADFB;
  background: rgba(124, 107, 242, 0.18);
  border: 1px solid rgba(124, 107, 242, 0.5);
}

.hm-log__tag--edit {
  color: #F6A47E;
  background: rgba(240, 115, 60, 0.14);
  border: 1px solid rgba(240, 115, 60, 0.45);
}

.page-home .hm-log .sy-collapse__body {
  padding: 0 4px 20px 3.2em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sy-mist);
}

.page-home .hm-log .sy-collapse__body p {
  margin: 0;
  max-width: 40em;
}

.hm-more {
  margin: 30px 0 0;
}

/* ---------- 回访续读 ---------- */
.hm-resume__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.hm-resume__steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 34em;
}

.hm-resume__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--sy-line);
  font-size: 15px;
  line-height: 1.6;
  color: #C6CDDD;
}

.hm-step__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sy-teal);
  font-variant-numeric: tabular-nums;
}

.hm-resume__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sy-mist);
}

.hm-resume__note .hm-link {
  color: var(--sy-paper);
  border-bottom-color: var(--sy-gold-line);
}

.hm-resume__note .hm-link:hover {
  color: var(--sy-gold);
  border-bottom-color: var(--sy-gold);
}

.hm-resume__figure {
  margin: 0;
  border-radius: var(--sy-radius);
  overflow: hidden;
  border: 1px solid var(--sy-line);
  background: var(--sy-panel);
}

.hm-resume__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hm-resume__figure figcaption {
  padding: 10px 14px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sy-mist);
}

/* ---------- 数字 ---------- */
.hm-stats {
  padding: clamp(56px, 9vw, 104px) 0;
  overflow: hidden;
}

.hm-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hm-stats__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  display: block;
}

.hm-stats__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 48, 0.94) 0%, rgba(11, 19, 48, 0.72) 48%, rgba(11, 19, 48, 0.96) 100%);
}

.hm-stats__inner {
  position: relative;
  z-index: 1;
}

.hm-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  margin-top: clamp(28px, 4vw, 46px);
}

.hm-stat {
  padding: 16px 0 4px;
  border-top: 1px solid var(--sy-gold-line);
}

.hm-stat__num {
  margin: 0;
  font-family: var(--sy-font-display);
  font-size: clamp(32px, 8vw, 46px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sy-gold);
  font-variant-numeric: tabular-nums;
}

.hm-stat__unit {
  margin-left: 4px;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sy-gold-soft);
}

.hm-stat__label {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--sy-mist);
}

.hm-stats__foot {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--sy-line);
  font-size: 14px;
  line-height: 1.75;
  color: #C6CDDD;
  max-width: 40em;
}

/* ---------- 联系 ---------- */
.hm-help__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 52px);
  background: var(--sy-panel);
  border: 1px solid var(--sy-line);
  border-radius: 20px;
}

.hm-help__panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(242, 184, 87, 0.28);
  box-shadow: 0 0 0 26px rgba(242, 184, 87, 0.06);
  pointer-events: none;
}

.hm-help__panel .hm-section__title {
  max-width: 24em;
}

.hm-help__text {
  margin: 16px 0 0;
  font-size: var(--sy-t4);
  line-height: 1.75;
  color: var(--sy-mist);
  max-width: 32em;
}

.hm-help__mail {
  margin: 22px 0 0;
  font-family: var(--sy-font-display);
  font-size: clamp(18px, 4.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sy-gold);
  word-break: break-word;
}

.hm-help__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sy-mist);
  max-width: 34em;
}

.hm-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 桌面 ---------- */
@media (min-width: 760px) {
  .hm-gates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }

  .hm-gate:nth-child(even) {
    margin-top: 36px;
  }

  .hm-stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 24px;
  }
}

@media (min-width: 900px) {
  .page-home [id] {
    scroll-margin-top: 28px;
  }

  .hm-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
    align-items: stretch;
    gap: clamp(30px, 4vw, 56px);
  }

  .hm-hero__title {
    font-size: clamp(40px, 4.7vw, 64px);
  }

  .hm-hero__figure {
    height: 100%;
    aspect-ratio: auto;
    min-height: 420px;
  }

  .hm-fixed__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .hm-col--case {
    margin-left: 40px;
  }

  .hm-resume__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

@media (min-width: 1080px) {
  .hm-section__head {
    max-width: 42em;
  }

  .page-home .hm-log .sy-collapse__body {
    padding-left: 3.6em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-orbit__ring,
  .hm-orbit__dot {
    animation: none;
  }

  .hm-gate,
  .hm-link,
  .hm-jump__link,
  .hm-log__title {
    transition: none;
  }
}
