/* KEDE product datasheet — editorial, paper-like, SI-first */

.ds-page {
  background:
    linear-gradient(180deg, #f7f5f0 0%, #f3f1ec 28%, #f7f5f0 100%);
  color: #161513;
}

.ds-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: rgba(247, 245, 240, 0.88);
  border-bottom-color: rgba(22, 21, 19, 0.06);
}

.ds-page .site-wrap {
  padding-top: var(--nav-h);
  overflow-x: visible;
}

.ds-wrap {
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
}

.ds-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #8a8174;
}

.ds-kicker b {
  color: var(--gold);
  font-weight: 600;
}

.ds-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: 4.2rem 0 3.2rem;
}

.ds-hero h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.ds-hero h1 span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #8a8174;
}

.ds-lead {
  max-width: 42rem;
  margin-top: 1.35rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3f3a34;
}

.ds-lead-cn {
  margin-top: 0.7rem;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #6b645b;
}

.ds-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.ds-hero-media {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(22, 21, 19, 0.06);
  box-shadow: 0 24px 60px rgba(40, 32, 18, 0.06);
}

.ds-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  padding: 1.6rem 1.2rem;
  object-fit: contain;
  background: #fff;
}

.ds-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(22, 21, 19, 0.12);
  border-bottom: 1px solid rgba(22, 21, 19, 0.12);
}

.ds-stat {
  padding: 1.35rem 1.2rem 1.4rem;
  border-right: 1px solid rgba(22, 21, 19, 0.1);
  text-align: center;
}

.ds-stat:last-child {
  border-right: 0;
}

.ds-stat strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ds-stat span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a8174;
}

.ds-toc {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  display: flex;
  gap: 1.6rem;
  padding: 0.85rem 0;
  margin-top: 0.4rem;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 21, 19, 0.08);
}

.ds-toc a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a8174;
}

.ds-toc a:hover,
.ds-toc a.is-active {
  color: #161513;
}

.ds-section {
  padding: 4.4rem 0 1.2rem;
}

.ds-section h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.ds-rule {
  width: 2.4rem;
  height: 3px;
  margin: 0.85rem 0 1.3rem;
  background: var(--gold);
}

.ds-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}

.ds-prose p + p {
  margin-top: 0.9rem;
}

.ds-prose p {
  color: #3f3a34;
  font-size: 1.02rem;
  line-height: 1.75;
}

.ds-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.ds-point {
  padding: 1rem 0;
  border-top: 1px solid rgba(22, 21, 19, 0.1);
}

.ds-point:last-child {
  border-bottom: 1px solid rgba(22, 21, 19, 0.1);
}

.ds-point strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.ds-point span {
  display: block;
  margin-top: 0.25rem;
  color: #6b645b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ds-process {
  display: grid;
  gap: 3.4rem;
}

.ds-process-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ds-process-lede {
  max-width: 46rem;
  margin: 0.55rem 0 1.4rem;
  color: #6b645b;
  line-height: 1.65;
}

.ds-photos {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.ds-photos figure {
  margin: 0;
  overflow: hidden;
  background: #111;
}

.ds-photos figure:first-child {
  grid-row: 1 / span 2;
}

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

.ds-photos figure:first-child img {
  aspect-ratio: 4 / 5;
  min-height: 100%;
}

.ds-photos:has(> figure:nth-child(3)) {
  grid-template-rows: 1fr 1fr;
}

.ds-photos:has(> figure:nth-child(3)) figure {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.ds-photos:has(> figure:nth-child(3)) img {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.ds-photos:has(> figure:nth-child(3)) figure:first-child img {
  aspect-ratio: 4 / 5;
  height: auto;
}

.ds-photos:has(> figure:nth-child(3)) figure:not(:first-child) img {
  aspect-ratio: unset;
}

/* 两张工艺图：桌面端并排、等高 */
.ds-photos:has(> figure:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
}

.ds-photos:has(> figure:nth-child(2):last-child) figure:first-child {
  grid-row: auto;
}

.ds-photos:has(> figure:nth-child(2):last-child) figure {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.ds-photos:has(> figure:nth-child(2):last-child) img {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  aspect-ratio: unset;
}

.ds-photos:has(> figure:nth-child(2):last-child) figure:first-child img {
  aspect-ratio: unset;
  min-height: 0;
}

.ds-photos figcaption {
  padding: 0.55rem 0.7rem 0.7rem;
  background: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #8a8174;
}

.ds-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(6.6rem, 1fr);
  gap: 0;
  align-items: start;
  padding: 1.05rem 0.85rem 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(22, 21, 19, 0.07);
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(40, 32, 18, 0.06);
  scrollbar-width: thin;
}

.ds-step {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  row-gap: 0.38rem;
  padding: 0 0.18rem 0.25rem;
  text-align: center;
  scroll-snap-align: center;
}

.ds-step b {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #262626 0%, #111 100%);
  box-shadow:
    0 0 0 3px rgba(232, 180, 10, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.09);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.ds-step span {
  display: block;
  max-width: 6.3rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.24;
  color: #333;
  transition: color 0.2s var(--ease);
}

.ds-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(1.05rem - 0.75px);
  left: calc(50% + 1.35rem);
  width: calc(100% - 2.7rem);
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(232, 180, 10, 0.18) 0%,
    rgba(232, 180, 10, 0.92) 48%,
    rgba(232, 180, 10, 0.18) 96%
  );
  background-size: 200% 100%;
  animation: ds-flow-line 2.8s linear infinite;
}

.ds-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(1.05rem - 0.325rem);
  right: calc(1.35rem - 0.325rem);
  width: 0.58rem;
  height: 0.58rem;
  border-top: 1.8px solid var(--gold);
  border-right: 1.8px solid var(--gold);
  transform: rotate(45deg);
  animation: ds-arrow-pulse 1.8s var(--ease) infinite;
}

.ds-steps.reveal .ds-step {
  opacity: 0;
  transform: translateY(0.65rem) scale(0.97);
  transition:
    opacity 0.48s var(--ease),
    transform 0.48s var(--ease);
  transition-delay: calc(var(--step-index, 0) * 70ms);
}

.ds-steps.reveal.is-in .ds-step {
  opacity: 1;
  transform: none;
}

.ds-steps.reveal .ds-step:nth-child(1) { --step-index: 0; }
.ds-steps.reveal .ds-step:nth-child(2) { --step-index: 1; }
.ds-steps.reveal .ds-step:nth-child(3) { --step-index: 2; }
.ds-steps.reveal .ds-step:nth-child(4) { --step-index: 3; }
.ds-steps.reveal .ds-step:nth-child(5) { --step-index: 4; }
.ds-steps.reveal .ds-step:nth-child(6) { --step-index: 5; }
.ds-steps.reveal .ds-step:nth-child(7) { --step-index: 6; }
.ds-steps.reveal .ds-step:nth-child(8) { --step-index: 7; }
.ds-steps.reveal .ds-step:nth-child(9) { --step-index: 8; }
.ds-steps.reveal .ds-step:nth-child(10) { --step-index: 9; }

.ds-step:hover b {
  transform: translateY(-0.14rem) scale(1.05);
  box-shadow:
    0 0 0 4px rgba(232, 180, 10, 0.22),
    0 12px 22px rgba(0, 0, 0, 0.11);
}

.ds-step:hover span {
  color: #111;
}

@keyframes ds-flow-line {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}

@keyframes ds-arrow-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: rotate(45deg) translateX(0);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) translateX(0.08rem);
  }
}

.ds-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.4rem 0 1.1rem;
}

.ds-seg {
  display: inline-flex;
  padding: 0.18rem;
  border: 1px solid rgba(22, 21, 19, 0.16);
  background: #fff;
}

.ds-seg button {
  min-height: 2.15rem;
  padding: 0 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b645b;
}

.ds-seg button[aria-pressed="true"] {
  background: #161513;
  color: #fff;
}

.ds-hint {
  font-size: 0.82rem;
  color: #8a8174;
}

.ds-panel[hidden] {
  display: none !important;
}

.ds-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(22, 21, 19, 0.12);
  background: #fff;
}

.ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.ds-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #8a8174;
  background: #faf9f6;
  border-bottom: 1px solid rgba(22, 21, 19, 0.08);
}

.ds-table th,
.ds-table td {
  padding: 0.62rem 0.7rem;
  text-align: center;
  border-bottom: 1px solid rgba(22, 21, 19, 0.07);
  white-space: nowrap;
}

.ds-table thead th {
  border-bottom: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: normal;
  color: #fff;
  background: #161513;
}

.ds-table thead th small {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.55);
}

.ds-table tbody th {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #161513;
}

.ds-table th:first-child,
.ds-table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 8.6rem;
}

.ds-table thead th:first-child {
  z-index: 2;
}

.ds-table tbody tr:nth-child(even) td,
.ds-table tbody tr:nth-child(even) th {
  background: #faf8f4;
}

.ds-table tbody tr:nth-child(odd) td,
.ds-table tbody tr:nth-child(odd) th {
  background: #fff;
}

.ds-table tbody tr:hover td,
.ds-table tbody tr:hover th {
  background: #fff6d6;
}

.ds-table .group td {
  text-align: left;
  background: #efece4 !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5c564c;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.ds-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin-top: 0.4rem;
}

.ds-notes ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  text-align: left;
  color: #3f3a34;
  line-height: 1.7;
}

.ds-notes li + li {
  margin-top: 0.55rem;
}

.ds-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  margin: 3.2rem 0 4.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(22, 21, 19, 0.12);
  border-bottom: 1px solid rgba(22, 21, 19, 0.12);
}

.ds-cta h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.ds-cta p {
  margin-top: 0.3rem;
  color: #6b645b;
}

.ds-cta .ds-actions {
  margin-top: 0;
}

@media (max-width: 700px) {
  .ds-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ds-cta .ds-actions {
    margin-top: 1.2rem;
  }
}

[data-units="cgs"] .u-si {
  display: none;
}

[data-units="si"] .u-cgs {
  display: none;
}

@media (max-width: 980px) {
  .ds-hero,
  .ds-grid-2,
  .ds-notes,
  .ds-photos {
    grid-template-columns: 1fr;
  }

  .ds-photos figure:first-child {
    grid-row: auto;
  }

  .ds-photos:has(> figure:nth-child(3)) {
    grid-template-rows: none;
  }

  .ds-photos:has(> figure:nth-child(3)) figure {
    height: auto;
  }

  .ds-photos:has(> figure:nth-child(3)) figure:first-child img,
  .ds-photos:has(> figure:nth-child(3)) figure:not(:first-child) img,
  .ds-photos:has(> figure:nth-child(3)) img {
    flex: none;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .ds-photos:has(> figure:nth-child(2):last-child) figure {
    height: auto;
  }

  .ds-photos:has(> figure:nth-child(2):last-child) img {
    flex: none;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .ds-photos figure:first-child img,
  .ds-photos img {
    aspect-ratio: 16 / 10;
  }

  .ds-stats {
    grid-template-columns: 1fr 1fr;
  }

  .ds-stat:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .ds-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(22, 21, 19, 0.1);
  }

  .ds-steps {
    grid-auto-columns: minmax(5.8rem, 1fr);
    padding-inline: 0.65rem;
  }

  .ds-toc {
    overflow-x: auto;
    gap: 1.1rem;
  }
}

@media print {
  .ds-steps {
    overflow: visible;
    box-shadow: none;
  }

  .ds-step,
  .ds-step:not(:last-child)::after,
  .ds-step:not(:last-child)::before {
    animation: none;
    opacity: 1;
  }

  .site-header,
  .mobile-nav,
  .site-footer,
  .to-top,
  .ds-toc,
  .ds-actions,
  .ds-cta,
  .ds-toolbar {
    display: none !important;
  }

  .ds-page {
    background: #fff;
  }

  .ds-panel[hidden] {
    display: block !important;
  }

  .ds-page .site-wrap {
    padding-top: 0;
  }

  .ds-hero {
    padding-top: 0;
  }

  .ds-table-scroll {
    overflow: visible;
    border: 0;
  }

  .ds-table th:first-child,
  .ds-table td:first-child {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-steps.reveal .ds-step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ds-step:not(:last-child)::after,
  .ds-step:not(:last-child)::before {
    animation: none;
  }
}
