.page-products {
  color: var(--paper);
}

.page-products .pd-crumbs-wrap {
  padding-top: clamp(20px, 3vw, 34px);
}

/* ============ 首屏 ============ */
.page-products .pd-hero {
  position: relative;
  padding-top: clamp(30px, 5.5vw, 60px);
  padding-bottom: clamp(52px, 8vw, 104px);
  overflow: hidden;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 4%;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 224, 0.45));
  transform: rotate(-19deg);
  transform-origin: right center;
  pointer-events: none;
}

.page-products .pd-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6.4vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  max-width: 15em;
  color: var(--paper);
}

.page-products .pd-hero__split {
  margin-top: clamp(26px, 4.4vw, 50px);
  display: grid;
  gap: clamp(24px, 4vw, 46px);
}

.page-products .pd-hero__lead {
  font-size: clamp(16px, 1.3vw, 17px);
  line-height: 1.8;
  color: var(--paper);
  max-width: 34em;
  border-left: 2px solid rgba(53, 224, 224, 0.55);
  padding-left: clamp(16px, 2vw, 22px);
}

.page-products .pd-jump {
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-products .pd-jump__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin: 0 0 12px;
}

.page-products .pd-jump__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .pd-jump__list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px 11px 10px;
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  border-left: 3px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-products .pd-jump__list a:hover,
.page-products .pd-jump__list a:focus-visible {
  border-left-color: var(--cyan);
  background: rgba(53, 224, 224, 0.08);
}

.page-products .pd-jump__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* ============ 章节标题 ============ */
.page-products .pd-head {
  margin-bottom: clamp(26px, 3.6vw, 44px);
}

.page-products .pd-head .h-section {
  margin: 10px 0 0;
  max-width: 24em;
}

/* ============ 门类分布 ============ */
.page-products .pd-overview {
  display: grid;
  gap: clamp(26px, 4vw, 50px);
}

.page-products .pd-overview__fig {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}

.page-products .pd-overview__fig img,
.page-products .pd-kit__fig img,
.page-products .pd-cat__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-products .pd-overview__side .prose {
  margin-top: 0;
}

.page-products .pd-legend {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .pd-legend__item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 6px;
  background: var(--ink);
  font-size: 14px;
  color: var(--paper);
}

.page-products .pd-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 1px;
}

.page-products .pd-legend__dot--ball { background: var(--cyan); }
.page-products .pd-legend__dot--track { background: var(--moss); }
.page-products .pd-legend__dot--water { background: var(--stone); }
.page-products .pd-legend__dot--snow { background: var(--mute); }

.page-products .pd-legend__name {
  font-weight: 600;
}

.page-products .pd-legend__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
}

.page-products .pd-overview__foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mute);
}

/* ============ 门类区块 ============ */
.page-products .pd-cat {
  position: relative;
  padding-block: clamp(52px, 7.5vw, 100px);
  scroll-margin-top: 72px;
}

.page-products .pd-cat + .pd-cat {
  border-top: 1px solid var(--line);
}

.page-products .pd-cat__grid {
  display: grid;
  gap: clamp(22px, 3.6vw, 42px);
}

.page-products .pd-cat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(62px, 9vw, 104px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--paper);
  opacity: 0.14;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.page-products .pd-cat__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 2.9vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 14px 0 0;
  color: var(--paper);
}

.page-products .pd-cat__desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mute);
}

.page-products .pd-cat__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 224, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-products .pd-cat__link:hover,
.page-products .pd-cat__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.page-products .pd-cat:target .pd-cat__num {
  color: var(--cyan);
  opacity: 0.85;
}

.page-products .pd-cat__media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}

.page-products .pd-cat__media--cyan { border-color: rgba(53, 224, 224, 0.28); }
.page-products .pd-cat__media--track { border-color: rgba(127, 169, 140, 0.28); }
.page-products .pd-cat__media--water { border-color: rgba(92, 107, 120, 0.5); }
.page-products .pd-cat__media--snow { border-color: rgba(159, 179, 195, 0.34); }

/* 项目清单 */
.page-products .pd-projects {
  list-style: none;
  margin: clamp(18px, 2.6vw, 28px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .proj {
  position: relative;
  min-width: 0;
  background: var(--ink);
  padding: 15px 16px 15px 18px;
  border-left: 3px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-products .proj--wide {
  grid-column: span 2;
}

.page-products .proj__name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-products .proj__meta {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-products .proj:hover,
.page-products .proj:focus-within {
  background: var(--panel);
  border-left-color: var(--cyan);
  transform: translateY(-2px);
}

.page-products .proj:hover .proj__meta,
.page-products .proj:focus-within .proj__meta {
  opacity: 0.95;
  transform: none;
}

/* ============ 配套说明 ============ */
.page-products .pd-kit__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
}

.page-products .pd-kit__fig {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}

.page-products .pd-order {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .pd-order__step {
  background: var(--ink);
  padding: clamp(18px, 2.4vw, 26px) clamp(16px, 2vw, 24px);
  border-left: 3px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .pd-order__step:hover,
.page-products .pd-order__step:focus-within {
  background: var(--ink-2);
  border-left-color: var(--cyan);
}

.page-products .pd-order__no {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
  opacity: 0.55;
  margin-bottom: 10px;
}

.page-products .pd-order__step .h-sub {
  margin: 0 0 8px;
  color: var(--paper);
}

.page-products .pd-order__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mute);
}

/* ============ 选择入口 ============ */
.page-products .pd-start__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .pd-start__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: var(--ink-2);
  padding: clamp(22px, 2.8vw, 34px);
  text-decoration: none;
  color: var(--paper);
  border-top: 3px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .pd-start__card:hover,
.page-products .pd-start__card:focus-visible {
  background: var(--panel);
  border-top-color: var(--cyan);
  transform: translateY(-2px);
}

.page-products .pd-start__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.35;
  color: var(--paper);
}

.page-products .pd-start__text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mute);
}

.page-products .pd-start__go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-products .pd-start__foot {
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mute);
}

.page-products .pd-start__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 224, 0.4);
}

.page-products .pd-start__foot a:hover,
.page-products .pd-start__foot a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ============ 入场动效（渐进增强） ============ */
.is-js .page-products [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--rd, 0ms);
}

.is-js .page-products [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============ 断点 ============ */
@media (max-width: 559px) {
  .page-products .pd-projects {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-products .proj--wide {
    grid-column: auto;
  }
  .page-products .pd-legend__item {
    grid-template-columns: 10px minmax(0, 1fr);
    row-gap: 4px;
  }
  .page-products .pd-legend__meta {
    grid-column: 2;
  }
}

@media (hover: none) {
  .page-products .proj__meta {
    opacity: 0.62;
    transform: none;
  }
}

@media (min-width: 900px) {
  .page-products .pd-hero__split {
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.85fr);
    align-items: start;
  }

  .page-products .pd-overview {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    align-items: start;
  }

  .page-products .pd-kit__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }

  .page-products .pd-start__grid {
    grid-template-columns: 1.15fr 0.95fr 0.9fr;
  }
}

@media (min-width: 960px) {
  .page-products .pd-cat__grid {
    grid-template-columns: minmax(200px, 0.6fr) minmax(0, 1.9fr);
    gap: clamp(32px, 4.2vw, 64px);
    align-items: start;
  }

  .page-products .pd-cat__head {
    position: sticky;
    top: 32px;
  }
}

.page-products {
  --rd: 0.3s;
}
