.page-home {
  --home-line: 2px solid var(--c-ink);
  --home-gap: 16px;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--c-deep);
  border-bottom: var(--home-line);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
}

.page-home .hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(158deg, rgba(7, 59, 76, 0.92) 0%, rgba(11, 95, 165, 0.74) 58%, rgba(31, 138, 130, 0.58) 100%);
}

.page-home .hero__seal {
  display: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  padding: 30px 0 34px;
  color: var(--c-snow);
}

.page-home .hero__kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-sand);
}

.page-home .hero h1 {
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 8.6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.page-home .hero__intro {
  margin: 14px 0 0;
  max-width: 44ch;
  font-size: clamp(0.98rem, 2.6vw, 1.08rem);
  line-height: 1.68;
  color: rgba(244, 241, 234, 0.9);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 13px 15px;
  background: var(--c-stone);
  border: var(--home-line);
  box-shadow: 4px 4px 0 var(--c-sand);
  color: var(--c-ink);
}

.page-home .stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.45rem, 6.6vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-lake);
}

.page-home .stat__label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #3b4148;
}

/* ---------- 分类 ---------- */
.page-home .cats__figure {
  margin: 0 0 20px;
  border: var(--home-line);
  box-shadow: 6px 6px 0 var(--c-sand);
  background: var(--c-deep);
  overflow: hidden;
}

.page-home .cats__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .cats__caption {
  padding: 9px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-snow);
  background: var(--c-deep);
  border-top: var(--home-line);
}

.page-home .cats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 15px 16px;
  background: var(--c-snow);
  border: var(--home-line);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.page-home .cat:hover,
.page-home .cat:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--c-teal);
}

.page-home .cat__no {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-sand);
}

.page-home .cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--c-teal);
  color: var(--c-snow);
  border: var(--home-line);
}

.page-home .cat__icon svg {
  width: 22px;
  height: 22px;
}

.page-home .cat__title {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .cat__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.62;
  color: #414850;
}

.page-home .cat__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
}

.page-home .cat__time {
  font-size: 0.72rem;
  color: #61686f;
}

.page-home .cat__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c-lake);
  text-decoration: none;
  border-top: 1px solid var(--c-mist);
}

.page-home .cat__link:hover,
.page-home .cat__link:focus {
  color: var(--c-teal);
}

/* ---------- 数据带 ---------- */
.page-home .band {
  color: var(--c-snow);
}

.page-home .band__grid {
  display: grid;
  gap: 28px;
}

.page-home .band__title {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 6.4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-home .band__note {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(244, 241, 234, 0.86);
}

.page-home .band__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  margin: 0;
}

.page-home .band-stat {
  padding-left: 12px;
  border-left: 3px solid var(--c-sand);
}

.page-home .band-stat__label {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.78);
}

.page-home .band-stat__num {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 7.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-sand);
}

.page-home .band-stat__unit {
  margin-left: 3px;
  font-size: 0.5em;
  color: rgba(217, 164, 65, 0.8);
}

/* ---------- 手机版路径 ---------- */
.page-home .path__layout {
  display: grid;
  gap: 22px;
}

.page-home .path__figure {
  margin: 0;
  border: var(--home-line);
  box-shadow: 6px 6px 0 var(--c-teal);
  background: var(--c-mist);
}

.page-home .path__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .path__steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .path-step {
  position: relative;
  padding: 14px 15px 15px 46px;
  background: var(--c-stone);
  border: var(--home-line);
}

.page-home .path-step__no {
  position: absolute;
  left: 12px;
  top: 15px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-lake);
}

.page-home .path-step__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.page-home .path-step p {
  margin: 7px 0 0;
  font-size: 0.86rem;
  line-height: 1.62;
  color: #414850;
}

.page-home .path__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- 归档 ---------- */
.page-home .archive__figure {
  margin: 0 0 22px;
  border: var(--home-line);
  box-shadow: 6px 6px 0 var(--c-wine);
  background: var(--c-deep);
}

.page-home .archive__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .archive__ways {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .way {
  padding: 15px 15px 16px;
  background: var(--c-snow);
  border: var(--home-line);
  border-top: 6px solid var(--c-wine);
}

.page-home .way__no {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-wine);
}

.page-home .way__title {
  margin: 8px 0 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.page-home .way p {
  margin: 7px 0 0;
  font-size: 0.86rem;
  line-height: 1.62;
  color: #414850;
}

.page-home .archive__actions {
  margin-top: 24px;
}

/* ---------- 会员 ---------- */
.page-home .member {
  color: var(--c-snow);
}

.page-home .member__grid {
  display: grid;
  gap: 28px;
}

.page-home .member__title {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 6.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-home .member__note {
  margin: 14px 0 20px;
  max-width: 40ch;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(244, 241, 234, 0.86);
}

.page-home .member__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .member-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid var(--c-sand);
}

.page-home .member-item__no {
  grid-row: span 2;
  align-self: start;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-sand);
}

.page-home .member-item__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.page-home .member-item p {
  grid-column: 2;
  margin: 4px 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.84);
}

/* ---------- 更新列表 ---------- */
.page-home .updates .filter-bar {
  margin-bottom: 18px;
}

.page-home .updates__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .update {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 15px 16px;
  background: var(--c-snow);
  border: var(--home-line);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.page-home .update:hover,
.page-home .update:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--c-lake);
}

.page-home .update__time {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-wine);
}

.page-home .update__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.page-home .update__desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.62;
  color: #414850;
}

.page-home .update .tag {
  align-self: flex-start;
}

.page-home .updates__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-home .hero__inner {
    padding: 40px 0 46px;
  }

  .page-home .cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .archive__ways {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .updates__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .path__steps {
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: end;
    gap: 40px;
    padding: 52px 0 58px;
  }

  .page-home .hero__stats {
    gap: 14px;
  }

  .page-home .cats__figure {
    margin-bottom: 24px;
  }

  .page-home .cats__figure img {
    aspect-ratio: 3 / 1;
  }

  .page-home .band__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .band__stats {
    gap: 22px 20px;
  }

  .page-home .path__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 32px;
    align-items: start;
  }

  .page-home .path__figure {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .page-home .path__figure img {
    aspect-ratio: 3 / 4;
  }

  .page-home .member__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .member__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .archive__figure img {
    aspect-ratio: 2 / 1;
  }
}

@media (min-width: 1100px) {
  .page-home .hero__seal {
    display: block;
    position: absolute;
    right: 14px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: rgba(244, 241, 234, 0.5);
  }

  .page-home .cats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .updates__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .cat,
  .page-home .update {
    transition: none;
  }

  .page-home .cat:hover,
  .page-home .cat:focus-within,
  .page-home .update:hover,
  .page-home .update:focus-within {
    transform: none;
  }
}
