/* Scoped to the production index; the existing portfolio grid stays intact. */
.production-process {
  padding: clamp(76px, 8vw, 132px) 5vw;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
  --pp-soft: #b2b2ae;
  --pp-ease: cubic-bezier(.2, .65, .3, 1);
}
.pp-kicker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--pp-soft);
  font: 12px/1.5 "Courier New", monospace;
  letter-spacing: .09em;
}
.pp-heading { margin: 44px 0 0; }
.pp-heading h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(44px, 5.7vw, 100px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.065em;
}
.pp-heading h2 > span { display: block; }
.pp-heading h2 .pp-heading-zh {
  margin-top: 22px;
  font-size: clamp(17px, 1.65vw, 25px);
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--pp-soft);
}
.pp-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  max-width: 1000px;
  margin: 30px 0 62px;
}
.pp-lead p, .pp-description p { margin: 0; }
.pp-lead p {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.65;
  color: #d2d2cd;
}
.pp-lead p[lang="zh-CN"] { font-size: 14px; line-height: 1.9; color: var(--pp-soft); }
.pp-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.pp-item { display: contents; }
.pp-stage {
  grid-row: 1;
  grid-column: var(--step);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 18px 25px 0;
  min-height: 146px;
  border: 0;
  border-top: 1px solid #53534f;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
  color: var(--pp-soft);
  transition: color 250ms ease;
  -webkit-tap-highlight-color: transparent;
}
.pp-number { font: 12px/1 "Courier New", monospace; letter-spacing: .08em; }
.pp-stage-en { font-size: clamp(15px, 1.35vw, 24px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.pp-stage-zh { font-size: 13px; line-height: 1.4; }
.pp-arrow {
  position: absolute;
  top: 59px;
  right: 14px;
  font-size: 14px;
  color: #73736f;
  transition: color 250ms ease;
}
.pp-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--pp-ease);
}
.pp-stage[aria-expanded="true"], .pp-stage:hover { color: var(--paper); }
.pp-stage[aria-expanded="true"]::after { transform: scaleX(1); }
.pp-stage[aria-expanded="true"] .pp-arrow { color: var(--paper); }
.pp-stage:focus-visible { outline: 1px solid var(--paper); outline-offset: -6px; }
.pp-toggle { display: none; }
.pp-panel {
  grid-row: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: grid-template-rows 320ms var(--pp-ease), opacity 200ms ease, visibility 320ms;
}
.pp-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pp-panel-clip { min-height: 0; overflow: hidden; }
.pp-detail {
  display: grid;
  grid-template-columns: .75fr 1.25fr 1fr;
  gap: 4vw;
  padding: 36px 0 42px;
  border-bottom: 1px solid var(--line);
  transform: translateY(8px);
  transition: transform 320ms var(--pp-ease);
}
.pp-panel.is-open .pp-detail { transform: none; }
.pp-detail-title { margin: 0; font-size: clamp(20px, 2vw, 32px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.pp-detail-title small { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; letter-spacing: 0; color: var(--pp-soft); }
.pp-description { max-width: 500px; }
.pp-description p { font-size: 16px; line-height: 1.65; }
.pp-description p[lang="zh-CN"] { margin-top: 18px; font-size: 14px; line-height: 1.8; color: var(--pp-soft); }
.pp-capabilities { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; align-content: start; }
.pp-capabilities li { font-size: 14px; line-height: 1.4; }
.pp-capabilities small { display: block; margin-top: 3px; color: var(--pp-soft); font-size: 12px; line-height: 1.5; }
.pp-statement { margin-top: 64px; }
.pp-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35em;
  margin: 0;
  font-size: clamp(23px, 2.85vw, 52px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.055em;
}
.pp-sequence i { color: #747470; font-style: normal; font-size: .75em; }
.pp-signoff { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; }
.pp-signoff p { margin: 0; font-size: 16px; line-height: 1.6; }
.pp-signoff p[lang="zh-CN"] { color: var(--pp-soft); font-size: 14px; }
@media (min-width: 761px) and (max-width: 1050px) {
  .pp-stage { padding-right: 8px; }
  .pp-stage-en { font-size: 15px; }
  .pp-arrow { right: 6px; top: 26px; font-size: 12px; }
  .pp-detail { grid-template-columns: .7fr 1.2fr 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .production-process { padding: 76px 2px 80px; scroll-margin-top: 74px; }
  .pp-kicker { font-size: 11px; gap: 16px; }
  .pp-kicker span:last-child { display: none; }
  .pp-heading { margin-top: 34px; }
  .pp-heading h2 { font-size: clamp(38px, 10.5vw, 76px); line-height: .99; letter-spacing: -.06em; }
  .pp-heading h2 .pp-heading-zh { margin-top: 17px; font-size: 16px; line-height: 1.7; }
  .pp-lead { grid-template-columns: 1fr; gap: 16px; margin: 25px 0 38px; }
  .pp-lead p { font-size: 16px; }
  .pp-lead p[lang="zh-CN"] { font-size: 14px; }
  .pp-timeline { display: block; position: relative; }
  .pp-timeline::before { content: ""; position: absolute; top: 33px; bottom: 34px; left: 13px; width: 1px; background: #42423f; }
  .pp-item { display: block; position: relative; }
  .pp-stage {
    width: 100%;
    display: grid;
    grid-template-columns: 29px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 20px 2px 20px 0;
    border-top: 0;
  }
  .pp-number { position: relative; z-index: 1; padding: 7px 0; background: var(--ink); font-size: 12px; }
  .pp-stage-en { font-size: 23px; grid-column: 2; grid-row: 1; }
  .pp-stage-zh { font-size: 13px; grid-column: 2; grid-row: 2; }
  .pp-stage .pp-number { grid-column: 1; grid-row: 1 / 3; }
  .pp-arrow { display: none; }
  .pp-toggle { display: block; grid-column: 3; grid-row: 1 / 3; font: 22px/1 "Courier New", monospace; margin-right: 8px; transition: transform 250ms ease; }
  .pp-stage[aria-expanded="true"] .pp-toggle { transform: rotate(45deg); }
  .pp-stage::after { left: 41px; right: 2px; height: 1px; }
  .pp-stage:focus-visible { outline-offset: -2px; }
  .pp-detail { grid-template-columns: 1fr; gap: 24px; margin-left: 41px; padding: 25px 0 32px; }
  .pp-detail-title { display: none; }
  .pp-description p { font-size: 16px; }
  .pp-description p[lang="zh-CN"] { margin-top: 13px; font-size: 14px; }
  .pp-capabilities { grid-template-columns: 1fr 1fr; gap: 16px 16px; }
  .pp-capabilities li { font-size: 14px; overflow-wrap: anywhere; }
  .pp-statement { margin-top: 42px; }
  .pp-sequence { max-width: 560px; gap: .22em; font-size: clamp(18px, 4.8vw, 34px); line-height: 1.4; }
  .pp-signoff { margin-top: 22px; display: grid; gap: 8px; }
  .pp-signoff p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .production-process *, .production-process *::before, .production-process *::after { transition: none !important; animation: none !important; }
}
