.jx-page {
  --work-ink: #0a0a0a;
  --work-paper: #f7f7f5;
  --work-panel: #ecece8;
  --work-muted: #686863;
}

.jx-light {
  padding-top: clamp(54px, 5.4vw, 86px);
}

.jx-list-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  align-items: start;
  margin-bottom: clamp(48px, 5.2vw, 78px);
}

.jx-list-intro {
  grid-column: 1 / 5;
  max-width: 390px;
  margin: 0;
  color: #555550;
  font-size: 13px;
  line-height: 1.52;
}

.jx-work-filters {
  grid-column: 7 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(22px, 2.7vw, 42px);
  margin: -9px 0 0;
  padding: 9px 0 13px;
}

.jx-work-filter {
  position: relative;
  flex: 0 0 auto;
  appearance: none;
  padding: 0 0 9px;
  border: 0;
  color: #777772;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: color 220ms ease;
}

.jx-work-filter::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--work-ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
}

.jx-work-filter:hover,
.jx-work-filter:focus-visible,
.jx-work-filter.is-active {
  color: var(--work-ink);
  outline: none;
}

.jx-work-filter.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.jx-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 3.2vw, 52px);
  row-gap: clamp(72px, 7.4vw, 118px);
  align-items: start;
}

.jx-case {
  min-width: 0;
  border: 0;
  color: var(--work-ink);
  background: transparent;
  overflow: visible;
  scroll-margin-top: 70px;
}

.jx-case[hidden] {
  display: none;
}

.jx-layout-wide,
.jx-case[open] {
  grid-column: 1 / -1;
}

.jx-case[open] {
  background: var(--work-paper);
  overflow: hidden;
}

.jx-case[open] > .jx-case-summary {
  display: none;
}

.jx-case-summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.jx-case-summary::-webkit-details-marker {
  display: none;
}

.jx-case-summary:focus-visible {
  outline: 1px solid var(--work-ink);
  outline-offset: 7px;
}

.jx-case-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e6e6e2;
}

.jx-layout-wide .jx-case-cover {
  aspect-ratio: 16 / 5.6;
}

.jx-case-cover-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 820ms cubic-bezier(.2, .75, .2, 1), filter 420ms ease;
}

.jx-case-summary:hover .jx-case-cover-image,
.jx-case-summary:focus-visible .jx-case-cover-image {
  filter: saturate(1.03) contrast(1.01);
  transform: scale(1.025);
}

.jx-sequence-info {
  display: grid;
  grid-template-columns: minmax(170px, 1.35fr) minmax(118px, .86fr) minmax(96px, .72fr) minmax(112px, .78fr) 32px;
  grid-template-rows: auto auto;
  column-gap: clamp(18px, 2vw, 34px);
  row-gap: clamp(26px, 2.4vw, 38px);
  align-items: center;
  padding-top: clamp(22px, 2vw, 30px);
}

.jx-sequence-brand,
.jx-sequence-copy {
  min-width: 0;
}

.jx-case-logo {
  display: block;
  width: auto;
  max-width: min(164px, 100%);
  height: 28px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(0);
}

.jx-case-title {
  max-width: 620px;
  margin: 0;
  font-size: clamp(24px, 2.05vw, 32px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.jx-case-desc {
  max-width: 520px;
  margin: 10px 0 0;
  color: #555550;
  font-size: 13px;
  line-height: 1.5;
}

.jx-sequence-copy {
  grid-column: 1 / 4;
  grid-row: 1;
}

.jx-sequence-brand {
  grid-column: 1;
  grid-row: 2;
}

.jx-sequence-practice {
  grid-column: 2;
  grid-row: 2;
}

.jx-sequence-sector {
  grid-column: 3;
  grid-row: 2;
}

.jx-sequence-record {
  grid-column: 4;
  grid-row: 2;
}

.jx-sequence-meta {
  display: block;
  color: #343431;
  font-size: 11px;
  line-height: 1.36;
}

.jx-sequence-meta-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.jx-sequence-action {
  grid-column: 5;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  display: grid;
  width: 32px;
  height: 44px;
  place-items: center;
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
}

.jx-sequence-action img {
  width: 22px;
  height: 22px;
}

.jx-case-summary:hover .jx-sequence-action,
.jx-case-summary:focus-visible .jx-sequence-action {
  transform: translateX(5px);
}

.jx-layout-half .jx-sequence-info {
  grid-template-columns: minmax(138px, 1.25fr) minmax(96px, .8fr) minmax(72px, .62fr) minmax(84px, .68fr) 32px;
  grid-template-rows: auto auto;
  column-gap: clamp(13px, 1.45vw, 23px);
  row-gap: 26px;
}

.jx-layout-half .jx-sequence-brand {
  grid-column: 1;
  grid-row: 2;
}

.jx-layout-half .jx-sequence-copy {
  grid-column: 1 / -1;
  grid-row: 1;
}

.jx-layout-half .jx-sequence-practice {
  grid-column: 2;
  grid-row: 2;
}

.jx-layout-half .jx-sequence-sector {
  grid-column: 3;
  grid-row: 2;
}

.jx-layout-half .jx-sequence-record {
  grid-column: 4;
  grid-row: 2;
}

.jx-layout-half .jx-sequence-action {
  grid-column: 5;
  grid-row: 2;
}

.jx-layout-half .jx-case-title {
  margin-top: 0;
  font-size: clamp(22px, 1.65vw, 27px);
}

.jx-layout-half .jx-case-desc {
  max-width: 330px;
  font-size: 12px;
}

.jx-case-panel {
  display: block;
  padding: 0;
  border: 0;
  animation: jx-case-enter 520ms cubic-bezier(.2, .75, .2, 1) both;
}

.jx-gallery {
  position: relative;
  color: #f7f7f5;
  background: #080808;
  overflow: hidden;
}

.jx-gallery-head,
.jx-gallery-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding-inline: clamp(22px, 3vw, 48px);
}

.jx-gallery-head {
  padding-top: 6px;
}

.jx-gallery-foot {
  padding-bottom: 6px;
}

.jx-gallery-logo {
  display: block;
  width: auto;
  max-width: 176px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(0) invert(1);
}

.jx-gallery-count {
  color: #f7f7f5;
  opacity: .62;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.jx-case-close,
.jx-gallery-nav {
  appearance: none;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #f7f7f5;
  background: transparent;
  cursor: pointer;
  transition: opacity 220ms ease, transform 220ms ease;
}

.jx-case-close {
  justify-self: end;
}

.jx-case-close img,
.jx-gallery-nav img {
  width: 21px;
  height: 21px;
  filter: invert(1);
}

.jx-case-close:hover,
.jx-case-close:focus-visible {
  opacity: .62;
  transform: rotate(5deg);
  outline: none;
}

.jx-gallery-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jx-gallery-nav:disabled {
  opacity: .28;
  cursor: default;
}

.jx-gallery-track {
  display: flex;
  gap: clamp(14px, 1.2vw, 20px);
  padding: clamp(14px, 1.7vw, 28px) clamp(22px, 3vw, 48px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(22px, 3vw, 48px);
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.jx-gallery-track::-webkit-scrollbar {
  display: none;
}

.jx-gallery-slide {
  position: relative;
  flex: 0 0 min(84vw, 1240px);
  aspect-ratio: 16 / 9;
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  background: #1a1a19;
}

.jx-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.jx-gallery-caption-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.jx-story {
  padding: clamp(72px, 8vw, 124px) clamp(22px, 4vw, 64px) clamp(86px, 9vw, 140px);
  color: var(--work-ink);
  background: var(--work-paper);
}

.jx-story-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: clamp(64px, 7vw, 104px);
}

.jx-story-kicker {
  grid-column: 1 / 4;
  margin: 3px 0 0;
  color: var(--work-muted);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jx-story-title {
  grid-column: 4 / 9;
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .93;
}

.jx-story-summary {
  grid-column: 9 / -1;
  margin: 4px 0 0;
  color: var(--work-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
}

.jx-story-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 52px);
  padding: clamp(28px, 3vw, 46px);
  background: var(--work-panel);
}

.jx-story-meta-label,
.jx-story-block-label {
  display: block;
  margin-bottom: 14px;
  color: var(--work-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.jx-story-meta-value {
  display: block;
  max-width: 300px;
  font-size: 18px;
  line-height: 1.35;
}

.jx-story-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding-top: clamp(64px, 7vw, 104px);
}

.jx-story-block:nth-child(1) {
  grid-column: 1 / 5;
}

.jx-story-block:nth-child(2) {
  grid-column: 5 / 10;
}

.jx-story-block:nth-child(3) {
  grid-column: 10 / -1;
}

.jx-story-block p {
  margin: 0;
  color: #3f3f3b;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.46;
}

.jx-story-block:nth-child(2) p {
  color: var(--work-ink);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.jx-focus {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(92px, 10vw, 156px);
}

.jx-focus-label {
  grid-column: 1 / 4;
  margin: 3px 0 0;
  color: var(--work-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.jx-focus-list {
  grid-column: 4 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 66px);
}

.jx-focus-item-title {
  margin: 0 0 18px;
  font-size: clamp(20px, 1.65vw, 25px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.18;
}

.jx-focus-item p {
  margin: 0;
  color: var(--work-muted);
  font-size: 15px;
  line-height: 1.55;
}

@keyframes jx-case-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 991px) {
  .jx-list-intro {
    grid-column: 1 / 6;
  }

  .jx-work-filters {
    grid-column: 6 / -1;
    gap: 18px 26px;
  }

  .jx-sequence-info,
  .jx-layout-half .jx-sequence-info {
    grid-template-columns: minmax(150px, 1.22fr) minmax(110px, .84fr) minmax(84px, .65fr) minmax(96px, .72fr) 32px;
    grid-template-rows: auto auto;
    row-gap: 24px;
  }

  .jx-sequence-brand,
  .jx-layout-half .jx-sequence-brand {
    grid-column: 1;
    grid-row: 2;
  }

  .jx-sequence-copy,
  .jx-layout-half .jx-sequence-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .jx-sequence-practice,
  .jx-layout-half .jx-sequence-practice {
    grid-column: 2;
    grid-row: 2;
  }

  .jx-sequence-sector,
  .jx-layout-half .jx-sequence-sector {
    grid-column: 3;
    grid-row: 2;
  }

  .jx-sequence-record,
  .jx-layout-half .jx-sequence-record {
    grid-column: 4;
    grid-row: 2;
  }

  .jx-sequence-action,
  .jx-layout-half .jx-sequence-action {
    grid-column: 5;
    grid-row: 2;
  }

  .jx-layout-wide .jx-case-cover {
    aspect-ratio: 16 / 6.4;
  }

  .jx-story-intro {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .jx-story-kicker {
    grid-column: 1 / 3;
  }

  .jx-story-title,
  .jx-story-summary {
    grid-column: 3 / -1;
  }

  .jx-story-summary {
    margin-top: 26px;
  }

  .jx-focus-label {
    grid-column: 1 / 3;
  }

  .jx-focus-list {
    grid-column: 3 / -1;
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media screen and (max-width: 767px) {
  .jx-light {
    padding-top: 56px;
  }

  .jx-list-head {
    display: block;
    margin-bottom: 48px;
  }

  .jx-list-intro {
    max-width: 330px;
    margin-bottom: 36px;
  }

  .jx-work-filters {
    width: 100%;
    gap: 18px 24px;
    margin: 0;
    padding: 0;
  }

  .jx-work-grid {
    grid-template-columns: 1fr;
    row-gap: 72px;
  }

  .jx-layout-wide,
  .jx-case[open] {
    grid-column: auto;
  }

  .jx-case-cover,
  .jx-layout-wide .jx-case-cover {
    aspect-ratio: 4 / 3;
  }

  .jx-sequence-info,
  .jx-layout-half .jx-sequence-info {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: auto;
    gap: 13px 16px;
    padding-top: 21px;
  }

  .jx-sequence-brand,
  .jx-layout-half .jx-sequence-brand,
  .jx-sequence-copy,
  .jx-layout-half .jx-sequence-copy,
  .jx-sequence-meta,
  .jx-layout-half .jx-sequence-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .jx-sequence-action,
  .jx-layout-half .jx-sequence-action {
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: start;
  }

  .jx-sequence-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
  }

  .jx-case-title,
  .jx-layout-half .jx-case-title {
    margin-top: 4px;
    font-size: 26px;
  }

  .jx-case-desc,
  .jx-layout-half .jx-case-desc {
    max-width: 92%;
    font-size: 13px;
  }

  .jx-gallery-head,
  .jx-gallery-foot {
    min-height: 62px;
    padding-inline: 18px;
  }

  .jx-gallery-logo {
    max-width: 118px;
    height: 25px;
  }

  .jx-gallery-track {
    gap: 12px;
    padding: 18px;
    scroll-padding-inline: 18px;
  }

  .jx-gallery-slide {
    flex-basis: calc(100vw - 58px);
    aspect-ratio: 4 / 3;
  }

  .jx-story {
    padding-inline: 22px;
  }

  .jx-story-intro,
  .jx-story-body,
  .jx-focus {
    display: block;
  }

  .jx-story-kicker {
    margin-bottom: 44px;
  }

  .jx-story-title {
    font-size: 47px;
  }

  .jx-story-summary {
    margin-top: 32px;
  }

  .jx-story-meta {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }

  .jx-story-block + .jx-story-block {
    margin-top: 52px;
  }

  .jx-focus-label {
    margin-bottom: 38px;
  }

  .jx-focus-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  html:lang(zh) .jx-hero-title {
    font-size: 38px;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jx-case-cover-image,
  .jx-sequence-action,
  .jx-case-panel {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
