/* 产品单页案例：四幕式作品叙事 */
.case-page.is-product-sheets {
  --ps-paper: var(--cs-paper);
  --ps-paper-deep: var(--cs-paper);
  --ps-ink: #171717;
  --ps-muted: #6f6a62;
  --ps-blue: #18283c;
  --ps-orange: #ee7438;
  --ps-max: 1240px;
}

.ps-story {
  position: relative;
  z-index: 4;
  overflow: clip;
  background: var(--ps-paper);
  color: var(--ps-ink);
}

.ps-progress { display: none; }

/* 本案例的四幕目录始终展示章节名，并跟随章节底色切换明暗。 */
@media (min-width: 1024px) {
  .case-page.is-product-sheets .cs-toc.is-product-toc {
    width: 190px;
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc a {
    color: rgb(23 23 23 / 58%);
    border-left-color: rgb(23 23 23 / 12%);
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc a i {
    color: rgb(23 23 23 / 42%);
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc li.is-active a {
    color: var(--ps-ink);
    border-left-color: var(--ps-orange);
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc li.is-active a i {
    color: var(--ps-orange);
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc[data-theme="dark"] a {
    color: rgb(255 255 255 / 62%);
    border-left-color: rgb(255 255 255 / 16%);
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc[data-theme="dark"] a i {
    color: rgb(255 255 255 / 54%);
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc[data-theme="dark"] li.is-active a {
    color: #fff;
    border-left-color: var(--ps-orange);
  }

  .case-page.is-product-sheets .cs-toc.is-product-toc[data-theme="dark"] li.is-active a i {
    color: var(--ps-orange);
  }
}

/* 中等桌面宽度没有足够的自然页边距，主动为完整目录让出左栏。 */
@media (min-width: 1024px) and (max-width: 1680px) {
  .case-page.is-product-sheets .ps-chapter.cs-section {
    padding-left: 220px;
  }
}

.ps-chapter.cs-section {
  max-width: none;
  margin: 0;
  padding: clamp(94px, 10vw, 156px) var(--gutter);
  border: 0;
}

.ps-chapter > * {
  width: min(100%, var(--ps-max));
  margin-right: auto;
  margin-left: auto;
}

.ps-chapter-head { margin-bottom: clamp(54px, 7vw, 96px); }

.ps-chapter .cs-num {
  margin: 0 0 20px;
  color: var(--ps-orange);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
}

.ps-chapter .cs-title {
  max-width: 16em;
  margin: 0;
  color: var(--ps-ink);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ps-thesis {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: start;
  max-width: 980px;
  margin: clamp(36px, 4vw, 56px) 0 0;
}

.ps-thesis strong,
.ps-thesis p,
.ps-disclosure p,
.ps-policy-model li,
.ps-flip-step p,
.ps-milestone p {
  font-family: var(--f-cjk);
}

.ps-thesis strong {
  color: var(--ps-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
}

.ps-thesis p {
  max-width: 34em;
  margin: 0;
  color: var(--ps-muted);
  font-size: 17px;
  line-height: 1.8;
}

.ps-context {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 6vw, 88px);
  margin-bottom: clamp(64px, 8vw, 108px);
}

.ps-context article { min-width: 0; }
.ps-context span { color: var(--ps-orange); font-family: var(--f-body); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.ps-context h3 { margin: 13px 0 15px; font-family: var(--f-cjk); font-size: 24px; font-weight: 600; line-height: 1.3; }
.ps-context p { max-width: 28em; margin: 0; color: var(--ps-muted); font-family: var(--f-cjk); font-size: 15.5px; line-height: 1.8; }

/* 第一幕：一处足够明确的 Before / After */
.ps-before-after { margin-top: 0; }

.ps-ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 520px;
  overflow: hidden;
  background: #d9dce1;
  cursor: ew-resize;
}

.ps-ba-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ps-ba-layer > span {
  position: absolute;
  bottom: 24px;
  left: 28px;
  color: #fff;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .08em;
  text-shadow: 0 1px 12px rgb(0 0 0 / 45%);
}

.ps-ba-layer.is-after {
  right: 0;
  left: var(--split);
  width: calc(100% - var(--split));
  background:
    radial-gradient(circle at 72% 28%, rgb(35 77 161 / 14%), transparent 38%),
    #d8dce3;
}

.ps-ba-layer.is-after img {
  width: min(474px, calc(100% - 56px));
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgb(32 40 52 / 18%));
}

.ps-ba-layer.is-before {
  right: auto;
  left: 0;
  width: var(--split);
  background: #d5d0c7;
}

.ps-legacy-sheet {
  width: min(474px, calc(100% - 56px));
  height: auto;
  aspect-ratio: 2611 / 3378;
  box-sizing: border-box;
  padding: 34px 30px;
  overflow: hidden;
  background: #f7f5ef;
  box-shadow: 0 20px 38px rgb(48 43 36 / 17%);
  color: #55514c;
}

.ps-legacy-sheet small { font-size: 8px; letter-spacing: .12em; }
.ps-legacy-sheet h3 { margin: 24px 0 10px; color: #292724; font-size: 22px; line-height: 1.25; }
.ps-legacy-sheet > p { margin: 0 0 18px; font-size: 9px; line-height: 1.7; }
.ps-legacy-sheet ul { margin: 17px 0 0; padding-left: 16px; font-size: 8px; line-height: 2; }
.ps-legacy-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.ps-legacy-columns i { display: block; height: 38px; background: linear-gradient(90deg, #b9b5ae 0 38%, #dedbd5 38%); }

.ps-ba-divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: rgb(255 255 255 / 88%);
  transform: translateX(-1px);
  pointer-events: none;
}

.ps-ba-divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 20px rgb(23 23 23 / 18%);
  transform: translate(-50%, -50%);
}

.ps-ba-divider i::before,
.ps-ba-divider i::after {
  position: absolute;
  top: 16px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #222;
  border-left: 1.5px solid #222;
  content: '';
}

.ps-ba-divider i::before { left: 10px; transform: rotate(-45deg); }
.ps-ba-divider i::after { right: 10px; transform: rotate(135deg); }

.ps-ba-stage input[type="range"] {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.ps-ba-tabs { display: none; }

.ps-scan-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 6vw, 84px);
  margin-top: 48px;
}

.ps-scan-points p { margin: 0; }
.ps-scan-points b { display: block; margin-bottom: 8px; color: var(--ps-orange); font-family: var(--f-body); font-size: 28px; font-weight: 500; }
.ps-scan-points span { color: var(--ps-muted); font-family: var(--f-cjk); font-size: 15px; line-height: 1.65; }

.ps-disclosure {
  margin-top: 64px;
  color: var(--ps-ink);
}

.ps-disclosure summary {
  width: fit-content;
  cursor: pointer;
  font-family: var(--f-cjk);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

.ps-disclosure summary::-webkit-details-marker { display: none; }
.ps-disclosure summary::after { margin-left: 10px; color: var(--ps-orange); content: '+'; }
.ps-disclosure[open] summary::after { content: '−'; }
.ps-disclosure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; max-width: 860px; padding-top: 28px; }
.ps-disclosure p { margin: 0; }
.ps-disclosure p b { display: block; margin-bottom: 7px; font-size: 17px; }
.ps-disclosure p span { color: var(--ps-muted); font-size: 15px; line-height: 1.75; }

/* 第二幕：制度证据采用深色档案台，不再套卡片 */
.ps-chapter.is-policy { background: var(--ps-blue); color: #f4efe5; }
.ps-chapter.is-policy .cs-title,
.ps-chapter.is-policy .ps-thesis strong { color: #f7f2e8; }
.ps-chapter.is-policy .ps-thesis p { color: rgb(247 242 232 / 62%); }

.ps-policy-lead {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(330px, .65fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.ps-zoom-media,
.ps-evidence-thumb,
.ps-system-preview,
.ps-scroll-flip,
.ps-field-image,
.ps-archive-sheet {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.ps-zoom-media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
}

.ps-zoom-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .4s var(--ease); }
.ps-zoom-media.is-policy-main { width: min(100%, 650px); aspect-ratio: 1.28 / 1; background: #d9d6cf; }
.ps-zoom-media.is-policy-main img { object-position: center 12%; }
.ps-zoom-media:hover img,
.ps-zoom-media:focus-visible img { transform: scale(1.018); filter: brightness(.76); }

.ps-zoom-icon {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  background: rgb(255 255 255 / 90%);
  color: #202020;
  box-shadow: 0 6px 18px rgb(0 0 0 / 14%);
  transition: transform .28s var(--ease);
}

.ps-zoom-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ps-zoom-media:hover .ps-zoom-icon,
.ps-zoom-media:focus-visible .ps-zoom-icon,
.ps-evidence-thumb:hover .ps-zoom-icon,
.ps-field-image:hover .ps-zoom-icon { transform: scale(1.08); }

.ps-media-note {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 72px 76px 20px 20px;
  background: linear-gradient(transparent, rgb(10 18 28 / 82%));
  color: rgb(255 255 255 / 76%);
  font-family: var(--f-cjk);
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.ps-media-note b { display: block; margin-bottom: 3px; color: #fff; font-size: 16px; }
.ps-zoom-media:hover .ps-media-note,
.ps-zoom-media:focus-visible .ps-media-note { opacity: 1; transform: none; }

.ps-minor-label {
  margin: 0 0 18px;
  color: rgb(255 255 255 / 44%);
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ps-policy-model ol { margin: 0; padding: 0; list-style: none; }
.ps-policy-model li { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: baseline; padding: 15px 0; }
.ps-policy-model li b { color: var(--ps-orange); font-size: 17px; font-weight: 600; }
.ps-policy-model li span { color: rgb(247 242 232 / 68%); font-size: 15px; line-height: 1.6; }

.ps-info-wrap { position: relative; margin-top: 28px; }
.ps-info-btn { padding: 0; border: 0; background: none; color: rgb(247 242 232 / 52%); font-family: var(--f-cjk); font-size: 12px; cursor: help; }
.ps-tooltip { position: absolute; z-index: 6; bottom: calc(100% + 12px); left: 0; width: min(300px, 82vw); margin: 0; padding: 15px 17px; background: var(--ps-paper); color: #45413b; font-family: var(--f-cjk); font-size: 12.5px; line-height: 1.65; opacity: 0; pointer-events: none; transform: translateY(5px); transition: .25s var(--ease); }
.ps-info-wrap:hover .ps-tooltip,
.ps-info-wrap:focus-within .ps-tooltip,
.ps-info-wrap.is-open .ps-tooltip { opacity: 1; transform: none; }

.ps-proof-scroll { margin-top: clamp(70px, 9vw, 120px); overflow: visible; }
.ps-proof-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ps-proof-track .ps-zoom-media { aspect-ratio: 1 / .78; background: #d9d6cf; }
.ps-proof-track .ps-zoom-media img { object-position: center 15%; }
.ps-proof-track .ps-zoom-media:nth-child(3) img { object-position: center; }
.ps-disclosure.is-dark { color: #f7f2e8; }
.ps-disclosure.is-dark p span { color: rgb(247 242 232 / 60%); }

/* 第三幕：产品系统与滚动翻面 */
.ps-chapter.is-system { background: var(--ps-paper-deep); }

.ps-system-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  gap: clamp(52px, 8vw, 116px);
  align-items: start;
}

.ps-system-preview {
  position: sticky;
  top: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  cursor: zoom-in;
  text-align: left;
}

.ps-system-sheet {
  display: grid;
  height: min(70vh, 670px);
  place-items: center;
  background: #dedfdc;
}

.ps-system-sheet img { display: block; width: auto; max-width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 18px 26px rgb(40 45 50 / 15%)); transition: opacity .24s var(--ease), transform .32s var(--ease); }
.ps-system-preview.is-changing img { opacity: .25; transform: translateY(8px); }
.ps-system-meta { display: block; width: 132px; padding-bottom: 4px; }
.ps-system-meta b { display: block; font-family: var(--f-cjk); font-size: 16px; line-height: 1.45; }
.ps-system-meta small { display: block; margin-top: 9px; color: var(--ps-muted); font-family: var(--f-body); font-size: 10px; line-height: 1.5; letter-spacing: .04em; }

.ps-system-index .ps-minor-label { color: var(--ps-muted); }
.ps-color-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ps-color-item { position: relative; display: block; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ps-ink); cursor: pointer; opacity: .52; transition: opacity .25s var(--ease), transform .25s var(--ease), filter .25s var(--ease); }
.ps-color-thumb { display: block; overflow: hidden; aspect-ratio: 420 / 543; background: #dedfdc; }
.ps-color-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ps-color-order { position: absolute; top: 6px; left: 6px; display: grid; width: 24px; height: 24px; place-items: center; background: rgb(247 244 237 / 90%); color: var(--ps-ink); font-family: var(--f-body); font-size: 9px; line-height: 1; }
.ps-color-item:hover,
.ps-color-item:focus-visible,
.ps-color-item.is-active { z-index: 1; opacity: 1; transform: translateY(-5px); filter: drop-shadow(0 12px 14px rgb(23 23 23 / 15%)); }
.ps-color-item.is-active::after { position: absolute; inset: -3px; border: 2px solid var(--product-color); content: ''; pointer-events: none; }

.ps-flip-story {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, .8fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: start;
  margin-top: clamp(120px, 16vw, 220px);
}

.ps-flip-visual { position: sticky; top: 108px; display: grid; justify-items: center; }
.ps-scroll-flip { width: min(100%, 440px); aspect-ratio: 2611 / 3378; cursor: pointer; perspective: 1800px; }
.ps-scroll-flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .88s cubic-bezier(.2,.72,.2,1); }
.ps-scroll-flip.is-back .ps-scroll-flip-inner { transform: rotateY(180deg); }
.ps-scroll-face { position: absolute; inset: 0; display: block; overflow: hidden; backface-visibility: hidden; box-shadow: 0 24px 50px rgb(31 31 29 / 16%); }
.ps-scroll-face.is-back { transform: rotateY(180deg); }
.ps-scroll-face img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ps-flip-visual > small { margin-top: 17px; color: var(--ps-muted); font-family: var(--f-body); font-size: 11px; letter-spacing: .08em; }
.ps-flip-copy { min-width: 0; }
.ps-flip-step { display: flex; min-height: 74vh; flex-direction: column; justify-content: center; opacity: .24; transition: opacity .4s var(--ease); }
.ps-flip-step.is-active { opacity: 1; }
.ps-flip-step > span { color: var(--ps-orange); font-family: var(--f-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ps-flip-step h3 { margin: 18px 0 24px; color: var(--ps-ink); font-family: var(--f-cjk); font-size: clamp(30px, 3.2vw, 46px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; }
.ps-flip-step p { max-width: 34em; margin: 0; color: var(--ps-muted); font-size: 17px; line-height: 1.8; }
.ps-flip-step p b { color: var(--ps-ink); }

/* 第四幕：横向时间轴、完整档案与现场 */
.ps-chapter.is-delivery { background: var(--ps-paper); }
.ps-chapter.is-delivery .cs-title { font-size: clamp(60px, 6.6vw, 84px); }

.ps-timeline-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 24px 0 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgb(23 23 23 / 26%) transparent;
}

.ps-timeline-track { display: flex; width: max-content; min-width: 100%; justify-content: center; gap: clamp(24px, 2.4vw, 36px); padding: 0 clamp(16px, 2vw, 28px) 20px; }
.ps-milestone { position: relative; width: clamp(280px, 23vw, 320px); flex: 0 0 auto; padding: 42px 0 0; border-top: 1px solid rgb(23 23 23 / 18%); scroll-snap-align: start; }
.ps-milestone::before { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ps-orange); content: ''; }
.ps-milestone time { color: var(--ps-orange); font-family: var(--f-body); font-size: 11px; letter-spacing: .08em; }
.ps-milestone h3 { margin: 13px 0 10px; font-family: var(--f-cjk); font-size: 22px; font-weight: 600; line-height: 1.35; }
.ps-milestone p { min-height: 78px; margin: 0; color: var(--ps-muted); font-size: 14.5px; line-height: 1.7; }
.ps-evidence-thumb { position: relative; display: block; width: 100%; height: 180px; margin: 26px auto 0; overflow: hidden; cursor: zoom-in; }
.ps-evidence-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: saturate(.88); transition: transform .4s var(--ease); }
.ps-evidence-thumb.is-wide img { object-position: center; }
.ps-evidence-thumb:hover img { transform: scale(1.025); }
.ps-evidence-thumb .ps-zoom-icon { right: 10px; bottom: 10px; width: 34px; height: 34px; }

.ps-archive { margin-top: clamp(100px, 13vw, 180px); }
.ps-archive-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.ps-archive-head .ps-minor-label { margin: 0; color: var(--ps-muted); }
.ps-archive-head h3 { margin: 0; font-family: var(--f-cjk); font-size: 30px; font-weight: 600; }
.ps-archive-head > div { text-align: right; }
.ps-archive-hint { margin: 8px 0 0; color: var(--ps-muted); font-family: var(--f-cjk); font-size: 13px; }
.ps-archive-wall {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: repeat(3, auto);
  gap: clamp(18px, 2.2vw, 28px);
  width: 100vw;
  min-height: clamp(720px, 64vw, 880px);
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 7vw, 98px) clamp(44px, 5vw, 78px) clamp(142px, 13vw, 188px);
  overflow: hidden;
  background: #ece9e2 url('../assets/work/ankki/archive-gallery-space.webp') center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%);
}
.ps-archive-wall::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 18%), transparent 24%, rgb(99 91 80 / 4%) 100%);
  content: '';
  pointer-events: none;
}
.ps-archive-row { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: clamp(14px, 2vw, 26px); min-height: 0; padding: 0 10px 12px; }
.ps-archive-row:last-child { justify-content: space-around; }
.ps-archive-row:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  border-radius: 1px;
  background: linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(198 207 212 / 70%));
  box-shadow: 0 1px 0 rgb(255 255 255 / 78%) inset, 0 8px 16px rgb(62 57 49 / 9%);
  content: '';
}
.ps-archive-slot { position: relative; z-index: 1; display: flex; align-items: end; justify-content: center; width: min(17%, 220px); transition: opacity .38s var(--ease), filter .38s var(--ease); }
.ps-archive-row:last-child .ps-archive-slot { width: min(17%, 220px); }
.ps-archive-acrylic {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 2611 / 3378;
  padding: 5px 5px 0;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 2px;
  background: linear-gradient(180deg, rgb(255 255 255 / 30%) 0%, rgb(255 255 255 / 7%) 42%, rgb(214 226 232 / 12%) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%), 0 12px 22px -13px rgb(70 64 56 / 22%);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.ps-archive-acrylic::after {
  position: absolute;
  right: 7px;
  bottom: -6px;
  left: 7px;
  height: 6px;
  border-radius: 1px;
  background: rgb(255 255 255 / 48%);
  box-shadow: 0 6px 12px rgb(70 64 56 / 12%);
  content: '';
}
.ps-archive-sheet { position: relative; z-index: 1; width: 100%; height: 92%; overflow: hidden; background: #fff; box-shadow: 0 7px 15px rgb(60 56 50 / 10%); cursor: zoom-in; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .25s var(--ease); }
.ps-archive-sheet:hover,
.ps-archive-sheet:focus-visible { z-index: 2; transform: translateY(-12px) scale(1.04); box-shadow: 0 18px 28px rgb(60 56 50 / 18%); }
.ps-archive-sheet img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-archive-sheet.is-away { visibility: hidden; pointer-events: none; }
.ps-archive-empty {
  position: absolute;
  z-index: 3;
  inset: 5px 5px 7px;
  display: none;
  place-items: center;
  border: 0;
  background: rgb(235 247 252 / 14%);
  color: rgb(74 166 222 / 82%);
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
}
.ps-archive-slot.is-empty .ps-archive-acrylic { border-color: rgb(110 196 240 / 84%); background: rgb(230 244 252 / 16%); box-shadow: 0 0 0 1.5px rgb(110 196 240 / 65%), 0 0 22px rgb(110 196 240 / 22%); }
.ps-archive-slot.is-empty .ps-archive-empty { display: grid; }
.ps-archive-wall.is-focused .ps-archive-slot:not(.is-empty) { opacity: .68; filter: saturate(.74); }
.ps-archive-wall.is-focused .ps-archive-slot:not(.is-empty) .ps-archive-sheet { pointer-events: none; }
.ps-archive-focus { position: absolute; z-index: 20; transform-origin: center; }
.ps-archive-focus[hidden] { display: none; }
.ps-archive-focus-card {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(154 216 246 / 92%);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 0 2px rgb(110 200 245 / 48%), 0 0 28px rgb(90 190 245 / 34%), 0 24px 54px rgb(50 60 70 / 18%);
}
.ps-archive-focus-card img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.ps-archive-focus-controls {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  padding: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 10px 24px rgb(50 50 50 / 11%);
  transform: translateX(-50%);
}
.ps-archive-focus-controls strong { max-width: 180px; overflow: hidden; padding: 0 9px; color: #262626; font-family: var(--f-cjk); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.ps-archive-focus-controls button { padding: 8px 12px; border-radius: 999px; background: rgb(23 23 23 / 6%); color: #292929; font-family: var(--f-cjk); font-size: 12px; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.ps-archive-focus-controls button:hover { background: var(--ps-orange); color: #fff; }

.ps-field-image { position: relative; display: block; width: min(100%, var(--ps-max)); aspect-ratio: 16 / 8.4; margin-top: clamp(90px, 12vw, 160px); overflow: hidden; cursor: zoom-in; text-align: left; }
.ps-field-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-field-image > span { position: absolute; right: 0; bottom: 0; left: 0; padding: 120px 84px 42px 42px; background: linear-gradient(transparent, rgb(8 11 15 / 88%)); color: rgb(255 255 255 / 70%); font-family: var(--f-cjk); font-size: 15px; line-height: 1.6; }
.ps-field-image > span b { display: block; margin-bottom: 5px; color: #fff; font-size: 28px; }
.ps-field-image > .ps-zoom-icon { font-style: normal; }

.ps-reflections { margin-top: clamp(96px, 12vw, 160px); }
.ps-reflections > .ps-minor-label { margin: 0 0 28px; color: var(--ps-orange); }
.ps-reflection-accordion { max-width: 980px; }
.ps-reflection-item + .ps-reflection-item { margin-top: clamp(34px, 4vw, 52px); }
.ps-reflection-item h3 { margin: 0; }
.ps-reflection-trigger { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 28px; width: 100%; padding: 0; background: transparent; color: var(--ps-ink); font-family: var(--f-cjk); font-size: clamp(25px, 2.5vw, 34px); font-weight: 600; line-height: 1.3; text-align: left; }
.ps-reflection-trigger i { position: relative; display: block; width: 34px; height: 34px; color: var(--ps-orange); }
.ps-reflection-trigger i::before,
.ps-reflection-trigger i::after { position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; background: currentColor; content: ""; transform: translate(-50%, -50%); }
.ps-reflection-trigger i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.ps-reflection-item.is-open .ps-reflection-trigger i::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.ps-reflection-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease); }
.ps-reflection-panel > div { overflow: hidden; }
.ps-reflection-panel p { max-width: 42em; margin: 0; padding-top: 20px; color: var(--ps-muted); font-family: var(--f-cjk); font-size: 17px; line-height: 1.8; }
.ps-reflection-item.is-open .ps-reflection-panel { grid-template-rows: 1fr; opacity: 1; }

.ps-final-statement { max-width: 860px; margin-top: clamp(96px, 12vw, 170px); margin-bottom: 0; padding: 0; border: 0; color: var(--ps-ink); font-family: var(--f-cjk); font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }

.ps-story button:focus-visible,
.ps-story summary:focus-visible { outline: 2px solid var(--ps-orange); outline-offset: 4px; }

@media (max-width: 900px) {
  .ps-thesis { grid-template-columns: 1fr; gap: 18px; }
  .ps-policy-lead { grid-template-columns: 1fr 1fr; gap: 38px; }
  .ps-system-lab { grid-template-columns: 1fr .72fr; gap: 34px; }
  .ps-system-meta { display: none; }
  .ps-color-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .ps-flip-story { grid-template-columns: .78fr 1fr; gap: 54px; }
  .ps-archive-wall { min-height: 720px; }
}

@media (max-width: 768px) {
  .case-page.is-product-sheets #nav { padding-top: 8px; }
  .case-page.is-product-sheets #nav .nav-inner { width: calc(100vw - 20px); max-width: none; }
  .case-page.is-product-sheets #nav .nav-pill { height: 42px; }
  .case-page.is-product-sheets #nav .nav-logo { padding-left: 16px; }
  .case-page.is-product-sheets #nav .nav-menu { width: 48px; }

  .ps-progress {
    position: fixed;
    z-index: 140;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    height: 2px;
    background: rgb(255 255 255 / 20%);
    pointer-events: none;
  }

  .ps-progress i { display: block; width: 100%; height: 100%; background: var(--ps-orange); transform: scaleX(0); transform-origin: left center; }
  .ps-progress span { position: fixed; top: 58px; right: 16px; color: #7b746a; font-family: var(--f-body); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; }
  .ps-progress span.is-dark { color: rgb(255 255 255 / 62%); }

  .ps-chapter.cs-section { padding: 72px 20px; }
  .ps-chapter-head { margin-bottom: 44px; }
  .ps-chapter .cs-num { margin-bottom: 15px; font-size: 11px; }
  .ps-chapter .cs-title { font-size: clamp(36px, 10.6vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
  .ps-thesis { margin-top: 28px; }
  .ps-thesis strong { font-size: 19px; line-height: 1.55; }
  .ps-thesis p { font-size: 16.5px; line-height: 1.8; }

  .ps-context { grid-template-columns: 1fr; gap: 32px; margin-bottom: 62px; }
  .ps-context h3 { margin: 9px 0 10px; font-size: 21px; }
  .ps-context p { font-size: 15px; line-height: 1.75; }

  .ps-ba-stage { aspect-ratio: 4 / 5; min-height: 0; cursor: default; }
  .ps-ba-stage input,
  .ps-ba-divider { display: none; }
  .ps-ba-layer.is-before,
  .ps-ba-layer.is-after { inset: 0; width: 100%; }
  .ps-before-after[data-mode="before"] .ps-ba-layer.is-before { z-index: 3; opacity: 1; }
  .ps-before-after[data-mode="before"] .ps-ba-layer.is-after { opacity: 0; }
  .ps-before-after[data-mode="after"] .ps-ba-layer.is-before { opacity: 0; }
  .ps-before-after[data-mode="after"] .ps-ba-layer.is-after { z-index: 3; opacity: 1; }
  .ps-ba-layer { transition: opacity .3s var(--ease); }
  .ps-ba-layer.is-after img,
  .ps-legacy-sheet { width: auto; max-width: calc(100% - 48px); height: 84%; }
  .ps-ba-layer > span { bottom: 16px; left: 16px; font-size: 10px; }
  .ps-ba-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .ps-ba-tabs button { padding: 12px 0; border: 0; border-bottom: 1px solid rgb(23 23 23 / 14%); background: none; color: var(--ps-muted); font-family: var(--f-cjk); font-size: 14px; }
  .ps-ba-tabs button.is-active { border-color: var(--ps-orange); color: var(--ps-ink); }

  .ps-scan-points { grid-template-columns: 1fr; gap: 25px; margin-top: 42px; }
  .ps-scan-points p { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
  .ps-scan-points b { margin: 0; font-size: 22px; }
  .ps-scan-points span { font-size: 14.5px; }
  .ps-disclosure { margin-top: 48px; }
  .ps-disclosure-grid { grid-template-columns: 1fr; gap: 22px; }

  .ps-policy-lead { grid-template-columns: 1fr; gap: 42px; }
  .ps-zoom-media.is-policy-main { aspect-ratio: 4 / 3; }
  .ps-policy-model li { grid-template-columns: 92px 1fr; gap: 15px; }
  .ps-policy-model li b { font-size: 15px; }
  .ps-policy-model li span { font-size: 14px; }
  .ps-media-note { display: none; }
  .ps-proof-scroll { width: calc(100% + 40px); margin: 58px -20px 0; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ps-proof-scroll::-webkit-scrollbar { display: none; }
  .ps-proof-track { display: flex; width: max-content; gap: 12px; }
  .ps-proof-track .ps-zoom-media { width: 76vw; flex: 0 0 auto; scroll-snap-align: center; }
  .ps-proof-scroll + .hscroll-dots { margin-top: 16px; }

  .ps-system-lab { display: block; }
  .ps-system-preview { position: relative; top: auto; display: block; }
  .ps-system-sheet { height: min(62vh, 520px); }
  .ps-system-meta { display: grid; grid-template-columns: 1fr auto; width: auto; margin-top: 14px; }
  .ps-system-meta small { margin: 0; text-align: right; }
  .ps-system-index { margin-top: 34px; }
  .ps-color-list { display: flex; width: calc(100% + 20px); gap: 10px; overflow-x: auto; padding: 5px 20px 18px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ps-color-list::-webkit-scrollbar { display: none; }
  .ps-color-item { width: 104px; flex: 0 0 104px; scroll-snap-align: start; }
  .ps-color-item:hover,
  .ps-color-item:focus-visible,
  .ps-color-item.is-active { transform: translateY(-3px); }

  .ps-flip-story { position: relative; display: block; margin-top: 110px; }
  .ps-flip-visual { position: sticky; z-index: 1; top: 96px; height: 52vh; align-content: start; padding-top: 4px; pointer-events: none; }
  .ps-scroll-flip { width: min(58vw, 244px); pointer-events: auto; }
  .ps-flip-visual > small { display: none; }
  .ps-flip-copy { position: relative; z-index: 2; margin-top: -10vh; }
  .ps-flip-step { min-height: 52vh; justify-content: flex-end; padding: 24vh 0 30px; background: linear-gradient(transparent, var(--ps-paper-deep) 48%); opacity: 0; }
  .ps-flip-step.is-active { opacity: 1; }
  .ps-flip-step h3 { margin: 13px 0 16px; font-size: 30px; }
  .ps-flip-step p { font-size: 16px; line-height: 1.75; }

  .ps-timeline-wrap { overflow: visible; padding: 0; }
  .ps-timeline-wrap[data-hscroll="desktop"] { overflow: visible; scroll-snap-type: none; }
  .ps-timeline-track,
  .ps-timeline-track[data-hscroll-track] { position: relative; display: grid !important; width: auto !important; min-width: 0; justify-content: stretch; flex-direction: initial !important; flex-wrap: initial !important; grid-template-columns: 1fr !important; gap: 0; padding: 0 0 0 28px; }
  .ps-timeline-track[data-hscroll-track] > * { width: auto; max-width: 100%; flex: none; }
  .ps-timeline-track::before { position: absolute; top: 8px; bottom: 10px; left: 5px; width: 1px; background: rgb(23 23 23 / 18%); content: ''; }
  .ps-milestone { width: auto; padding: 0 0 54px 20px; border: 0; }
  .ps-milestone::before { top: 5px; left: -27px; }
  .ps-chapter.is-delivery .cs-title { font-size: clamp(40px, 11vw, 48px); }
  .ps-milestone h3 { font-size: 20px; }
  .ps-milestone p { min-height: 0; font-size: 14px; }
  .ps-evidence-thumb { width: 98%; height: 148px; margin: 20px auto 0; }

  .ps-archive { margin-top: 74px; }
  .ps-archive-head { display: block; }
  .ps-archive-head h3 { margin-top: 8px; font-size: 26px; }
  .ps-archive-head > div { margin-top: 8px; text-align: left; }
  .ps-archive-hint { margin-top: 7px; font-size: 12.5px; }
  .ps-archive-wall { gap: 14px; width: calc(100% + 40px); min-height: 650px; margin-left: -20px; padding: 54px 16px 76px; background-position: 45% center; }
  .ps-archive-row { justify-content: space-between; gap: 7px; padding: 0 2px 10px; }
  .ps-archive-row:last-child { justify-content: space-between; }
  .ps-archive-slot { width: 22%; }
  .ps-archive-row:last-child .ps-archive-slot { width: 18%; }
  .ps-archive-acrylic { padding: 3px 3px 0; }
  .ps-archive-acrylic::after { right: 4px; bottom: -4px; left: 4px; height: 4px; }
  .ps-archive-sheet { height: 92%; }
  .ps-archive-empty { inset: 3px 3px 5px; font-size: 24px; }
  .ps-archive-focus-controls { top: calc(100% + 10px); max-width: calc(100vw - 24px); }
  .ps-archive-focus-controls strong { display: none; }
  .ps-archive-focus-controls button { padding: 8px 13px; font-size: 12px; }
  .ps-field-image { z-index: 2; width: calc(100% + 40px); aspect-ratio: 4 / 3; margin: -58px -20px 0; }
  .ps-field-image > span { padding: 80px 68px 24px 20px; font-size: 13px; }
  .ps-field-image > span b { font-size: 22px; }
  .ps-reflections { margin-top: 82px; }
  .ps-reflections > .ps-minor-label { margin-bottom: 24px; }
  .ps-reflection-item + .ps-reflection-item { margin-top: 32px; }
  .ps-reflection-trigger { grid-template-columns: minmax(0, 1fr) 28px; gap: 18px; font-size: 25px; }
  .ps-reflection-trigger i { width: 28px; height: 28px; }
  .ps-reflection-trigger i::before,
  .ps-reflection-trigger i::after { width: 18px; }
  .ps-reflection-panel p { padding-top: 16px; font-size: 16px; line-height: 1.8; }
  .ps-final-statement { margin-top: 82px; font-size: 26px; line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  .ps-story *,
  .ps-story *::before,
  .ps-story *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
