.page-home {
  --hm-offset: 6px;
  background: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  padding: 28px 0 44px;
  overflow: hidden;
}

.page-home .hm-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-home .hm-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.page-home .hm-hero__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hm-hero__lede {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.page-home .hm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 0;
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.page-home .hm-hero__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .hm-hero__stat dt {
  font-size: 13px;
  color: var(--graphite);
}

.page-home .hm-hero__stat dd {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.page-home .hm-hero__visual {
  margin: 0;
  border: 2px solid var(--ink-dark);
  border-radius: var(--r-card);
  box-shadow: var(--sh-2);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.page-home .hm-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- 服务分类 ---------- */
.page-home .hm-browse {
  padding: 52px 0 60px;
  background: var(--paper);
}

.page-home .hm-browse__head {
  max-width: 46em;
  margin-bottom: 30px;
}

.page-home .hm-browse__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.page-home .hm-browse__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hm-browse__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .hm-browse__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .hm-cat {
  border: 2px solid var(--ink-dark);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--sh-1);
  transition: transform var(--t-card) var(--ease), box-shadow var(--t-card) var(--ease);
}

.page-home .hm-cat:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}

.page-home .hm-cat[open] {
  box-shadow: 5px 5px 0 var(--blue);
}

.page-home .hm-cat__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.page-home .hm-cat__summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-cat__index {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.page-home .hm-cat__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.page-home .hm-cat__count {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--graphite);
  white-space: nowrap;
}

.page-home .hm-cat__mark {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink-dark);
  border-radius: var(--r-sm);
  background: var(--mist);
  transition: background var(--t-fast) var(--ease);
}

.page-home .hm-cat__mark::before,
.page-home .hm-cat__mark::after {
  content: "";
  position: absolute;
  background: var(--ink-dark);
  transition: opacity var(--t-fast) var(--ease);
}

.page-home .hm-cat__mark::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.page-home .hm-cat__mark::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}

.page-home .hm-cat[open] .hm-cat__mark {
  background: var(--lime);
}

.page-home .hm-cat[open] .hm-cat__mark::after {
  opacity: 0;
}

.page-home .hm-cat__body {
  padding: 0 18px 20px;
  border-top: 1px dashed var(--line);
  margin-top: 2px;
  padding-top: 16px;
}

.page-home .hm-cat__scene {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--graphite);
}

.page-home .hm-cat__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-home .hm-cat__list li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--mist);
  font-size: 13px;
  color: var(--ink);
}

.page-home .hm-cat__go {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease);
}

.page-home .hm-cat__go:hover {
  color: var(--blue-deep);
}

/* ---------- 当季面板 ---------- */
.page-home .hm-season {
  padding: 56px 0 60px;
  background: var(--ink-dark);
  color: var(--white);
}

.page-home .hm-season__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.page-home .hm-season__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.page-home .hm-season__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hm-season__lede {
  margin: 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .hm-season__figure {
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--blue-deep);
}

.page-home .hm-season__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .hm-season__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.page-home .hm-season__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color var(--t-card) var(--ease), transform var(--t-card) var(--ease);
}

.page-home .hm-season__card:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
}

.page-home .hm-season__cardtitle {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.page-home .hm-season__cardtext {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .hm-season__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 2px solid rgba(200, 255, 61, 0.4);
  padding-bottom: 2px;
}

.page-home .hm-season__link:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 年度归档 ---------- */
.page-home .hm-archive {
  padding: 56px 0 60px;
  background: var(--mist);
}

.page-home .hm-archive__head {
  max-width: 46em;
  margin-bottom: 26px;
}

.page-home .hm-archive__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.page-home .hm-archive__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hm-archive__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .hm-archive__band {
  margin: 0 0 24px;
  border: 2px solid var(--ink-dark);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--sh-1);
  background: var(--white);
}

.page-home .hm-archive__band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.page-home .hm-years {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 4px 2px 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .hm-year {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-home .hm-year__link {
  display: grid;
  gap: 8px;
  width: 152px;
  padding: 18px 15px 16px;
  border: 2px solid var(--ink-dark);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--line);
  text-decoration: none;
  transition: transform var(--t-card) var(--ease), box-shadow var(--t-card) var(--ease), background var(--t-fast) var(--ease);
}

.page-home .hm-year__link:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--sh-blue);
}

.page-home .hm-year__node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink-dark);
  background: var(--white);
}

.page-home .hm-year__node--lit {
  background: var(--lime);
}

.page-home .hm-year__num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.page-home .hm-year__label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--graphite);
}

/* ---------- 收藏 ---------- */
.page-home .hm-pin {
  padding: 56px 0 60px;
  background: var(--paper);
}

.page-home .hm-pin__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-home .hm-pin__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.page-home .hm-pin__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hm-pin__text {
  margin: 0 0 24px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .hm-pin__steps {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .hm-pin__steps li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .hm-pin__step {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.page-home .hm-pin__figure {
  margin: 0;
  border: 2px solid var(--ink-dark);
  border-radius: var(--r-card);
  box-shadow: var(--sh-2);
  overflow: hidden;
  background: var(--white);
}

.page-home .hm-pin__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 深色收尾 ---------- */
.page-home .hm-close {
  padding: 56px 0 68px;
  background: var(--ink-dark);
  color: var(--white);
}

.page-home .hm-close__title {
  margin: 0 0 30px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hm-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .hm-close__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--t-card) var(--ease);
}

.page-home .hm-close__block:hover {
  border-color: var(--lime);
}

.page-home .hm-close__k {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.page-home .hm-close__h {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

.page-home .hm-close__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .hm-close__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 2px solid rgba(200, 255, 61, 0.4);
  padding-bottom: 2px;
}

.page-home .hm-close__link:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hm-pin__steps li {
    align-items: center;
  }
}

@media (min-width: 768px) {
  .page-home .hm-browse__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

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

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

@media (min-width: 1024px) {
  .page-home .hm-hero {
    padding: 44px 0 72px;
  }

  .page-home .hm-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .hm-hero__visual img {
    max-height: 580px;
  }

  .page-home .hm-browse {
    padding: 68px 0 76px;
  }

  .page-home .hm-browse__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .hm-season {
    padding: 72px 0 78px;
  }

  .page-home .hm-season__head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 48px;
  }

  .page-home .hm-season__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
  }

  .page-home .hm-archive {
    padding: 72px 0 78px;
  }

  .page-home .hm-years {
    overflow: visible;
    flex-wrap: wrap;
    gap: 16px;
  }

  .page-home .hm-year {
    flex: 1 1 138px;
  }

  .page-home .hm-year__link {
    width: auto;
  }

  .page-home .hm-pin {
    padding: 72px 0 78px;
  }

  .page-home .hm-pin__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .hm-close {
    padding: 72px 0 84px;
  }
}

@media (min-width: 1200px) {
  .page-home .hm-hero__title {
    max-width: 12em;
  }
}

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

  .page-home .hm-cat:hover,
  .page-home .hm-season__card:hover,
  .page-home .hm-year__link:hover {
    transform: none;
  }
}
