.page-home {
  --home-rule: 1px solid var(--line);
  --home-rule-strong: 1px solid var(--line-strong);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  overflow: clip;
}
.page-home .home-hero .breadcrumb {
  padding-top: clamp(14px, 2.5vw, 24px);
}
.page-home .hero-shell {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  padding-block: clamp(20px, 3.5vw, 36px) clamp(26px, 4vw, 44px);
}
.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.page-home .hero-copy .display {
  margin: 0;
  font-size: clamp(32px, 7.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.page-home .hero-copy .lede {
  margin: 0;
  max-width: 56ch;
}
.page-home .hero-entries {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.page-home .entry-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 18px 24px;
  background: var(--paper-lift);
  border: var(--home-rule-strong);
  color: var(--ink);
  text-decoration: none;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}
.page-home .entry-tab::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--clay);
}
.page-home .entry-tab--pine::before {
  background: var(--pine);
}
.page-home .entry-tab:hover {
  transform: translateY(-3px);
  background: #fff;
}
.page-home .entry-tab__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--clay);
}
.page-home .entry-tab--pine .entry-tab__label {
  color: var(--pine);
}
.page-home .entry-tab__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
}
.page-home .entry-tab__note {
  font-size: 12px;
  color: rgba(20, 26, 23, 0.66);
}

.page-home .hero-visual {
  position: relative;
  min-height: 240px;
  background: var(--clay);
  border: var(--home-rule-strong);
  overflow: hidden;
  isolation: isolate;
}
.page-home .hero-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  z-index: 0;
}
.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(20, 26, 23, 0.12) 0%, rgba(20, 26, 23, 0.55) 100%);
  z-index: 1;
}
.page-home .hero-visual__num {
  position: absolute;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 26px);
  margin: 0;
  z-index: 2;
  font-size: clamp(92px, 22vw, 188px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--paper-lift);
}
.page-home .hero-visual__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.page-home .hero-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: clamp(18px, 3vw, 30px);
  padding-top: 14px;
  border-top: var(--home-rule-strong);
}
.page-home .hero-preview__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.page-home .hero-preview__num {
  font-size: 10px;
  color: var(--clay);
}
.page-home .hero-preview__link:hover {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

/* ---------- 粘性章节条 ---------- */
.page-home .home-jump {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--indigo);
}
.page-home .home-jump__inner {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .home-jump__inner::-webkit-scrollbar {
  display: none;
}
.page-home .home-jump__tag {
  flex: 0 0 auto;
  padding: 12px 12px 12px 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.page-home .home-jump__link {
  flex: 0 0 auto;
  padding: 12px 13px;
  font-size: 13px;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}
.page-home .home-jump__link:hover {
  color: var(--cyan);
}
.page-home .home-jump__link[aria-current="true"] {
  color: var(--ink);
  background: var(--amber);
  border-bottom-color: var(--amber);
  font-weight: 700;
}

/* ---------- 通用章节头 ---------- */
.page-home .section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 12px;
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}
.page-home .section-head .display,
.page-home .archive-head .display,
.page-home .home-round .display,
.page-home .weekend-copy .display,
.page-home .service-copy .display {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.16;
}

/* ---------- 双栏入口 ---------- */
.page-home .home-entries {
  padding-block: clamp(34px, 6vw, 72px);
}
.page-home .home-entries > .shell > .lede {
  max-width: 62ch;
  margin: 0;
}
.page-home .entry-grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(20px, 3vw, 30px);
}
.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: var(--home-rule-strong);
  min-width: 0;
}
.page-home .entry-card--light {
  background: var(--pine-pale);
}
.page-home .entry-card--dark {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--paper);
}
.page-home .entry-card .tag {
  align-self: flex-start;
}
.page-home .entry-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.3;
}
.page-home .entry-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}
.page-home .entry-card--dark .entry-card__text {
  color: rgba(244, 239, 228, 0.86);
}
.page-home .entry-card__version {
  margin: 0;
  font-size: clamp(44px, 9vw, 76px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cyan);
}
.page-home .entry-card__media {
  margin: 0;
  overflow: hidden;
  border: var(--home-rule);
  background: var(--paper-lift);
}
.page-home .entry-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 240ms var(--ease);
}
.page-home .entry-card:hover .entry-card__media img {
  transform: scale(1.03);
}
.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.65;
}
.page-home .entry-list li {
  position: relative;
  padding-left: 16px;
}
.page-home .entry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--pine);
}
.page-home .entry-card--dark .entry-list li::before {
  background: var(--cyan);
}
.page-home .entry-card--dark .entry-list {
  color: rgba(244, 239, 228, 0.9);
}
.page-home .entry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .entry-chips .chip {
  display: inline-block;
  padding: 6px 10px;
  border: var(--home-rule-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  transition: background 180ms var(--ease);
}
.page-home .entry-chips .chip:hover {
  background: rgba(20, 26, 23, 0.08);
}
.page-home .entry-chips .chip[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  font-weight: 700;
}
.page-home .entry-card .btn {
  align-self: flex-start;
  margin-top: 2px;
}

/* ---------- 第18轮数字 ---------- */
.page-home .home-round {
  padding-block: clamp(34px, 6vw, 72px);
}
.page-home .home-round .display {
  color: var(--paper);
}
.page-home .round-head {
  max-width: 50rem;
}
.page-home .home-round .eyebrow {
  color: var(--amber);
}
.page-home .round-note {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 239, 228, 0.8);
}
.page-home .stat-grid {
  list-style: none;
  margin: clamp(22px, 4vw, 34px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(244, 239, 228, 0.24);
  border: 1px solid rgba(244, 239, 228, 0.24);
}
.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: var(--ink);
}
.page-home .stat__num {
  font-size: clamp(38px, 8vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}
.page-home .stat__label {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(244, 239, 228, 0.78);
}
.page-home .round-foot {
  margin: clamp(16px, 3vw, 24px) 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--amber);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(244, 239, 228, 0.82);
  max-width: 62ch;
}

/* ---------- 周末连看 ---------- */
.page-home .weekend-grid {
  display: grid;
  gap: clamp(20px, 4vw, 36px);
  padding-block: clamp(32px, 5vw, 64px);
}
.page-home .weekend-copy > p {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(20, 26, 23, 0.82);
}
.page-home .steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0 24px;
  padding: 0;
}
.page-home .step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: var(--home-rule);
}
.page-home .step__num {
  padding: 4px 8px;
  background: var(--ink);
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.4;
}
.page-home .step__title {
  margin: 0 0 5px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.page-home .step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(20, 26, 23, 0.78);
}
.page-home .weekend-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--ink);
  color: var(--paper);
}
.page-home .board-badge {
  align-self: flex-start;
  padding: 4px 9px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.page-home .board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.page-home .board-cell {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 228, 0.28);
  background: rgba(244, 239, 228, 0.06);
}
.page-home .board-cell--on {
  background: var(--amber);
  border-color: var(--amber);
}
.page-home .board-cell--on::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: var(--ink);
}
.page-home .board-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(244, 239, 228, 0.78);
}

/* ---------- 赛场档案 ---------- */
.page-home .home-archive {
  padding-block: clamp(34px, 6vw, 72px);
}
.page-home .archive-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}
.page-home .archive-list {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
}
.page-home .archive-item {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--paper-lift);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.page-home .archive-item:hover {
  background: #fff;
  transform: translateY(-2px);
}
.page-home .archive-item > .tag {
  justify-self: start;
}
.page-home .archive-item__body {
  min-width: 0;
}
.page-home .archive-item .card__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}
.page-home .archive-item .card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(20, 26, 23, 0.7);
}
.page-home .archive-item__meta {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--clay);
  white-space: nowrap;
}

/* ---------- 服务与联络 ---------- */
.page-home .service-grid {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  padding-block: clamp(32px, 5vw, 64px);
}
.page-home .home-service .eyebrow {
  color: var(--paper-lift);
  opacity: 0.9;
}
.page-home .home-service .display {
  color: var(--paper-lift);
}
.page-home .service-copy > p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(244, 239, 228, 0.9);
}
.page-home .service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.page-home .home-service .btn--ghost {
  color: var(--paper-lift);
  border-color: rgba(244, 239, 228, 0.62);
}
.page-home .service-contact {
  margin: 16px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(244, 239, 228, 0.86);
  word-break: break-word;
}
.page-home .service-media {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(244, 239, 228, 0.35);
  overflow: hidden;
}
.page-home .service-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

/* ---------- 返回顶部 ---------- */
.page-home .to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--cyan);
  font-size: 12px;
  text-decoration: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .hero-entries {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .page-home .entry-tab:nth-child(2) {
    margin-top: 28px;
  }
  .page-home .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .archive-item {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
  }
  .page-home .archive-item > .tag {
    justify-self: stretch;
    text-align: center;
  }
}

@media (min-width: 900px) {
  .page-home .hero-shell {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }
  .page-home .hero-visual {
    min-height: 420px;
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  }
  .page-home .entry-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
  .page-home .entry-card--dark {
    margin-top: 34px;
  }
  .page-home .weekend-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
  }
  .page-home .service-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
  }
  .page-home .home-service .service-media img {
    min-height: 100%;
  }
}

@media (min-width: 1080px) {
  .page-home .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-tab,
  .page-home .archive-item,
  .page-home .entry-card__media img,
  .page-home .hero-preview__link,
  .page-home .home-jump__link {
    transition: opacity 160ms linear;
  }
  .page-home .entry-tab:hover,
  .page-home .archive-item:hover,
  .page-home .entry-card:hover .entry-card__media img {
    transform: none;
  }
}
</main>
