body[data-project-page="other-works"] {
  --page-bg: #050507;
  --line: rgba(255,255,255,.13);
  background: radial-gradient(ellipse 70vw 65vh at 82% 24%, rgba(60,43,105,.16), transparent 78%), radial-gradient(ellipse 68vw 70vh at 10% 73%, rgba(17,81,98,.12), transparent 80%), #050507;
  background-attachment: fixed;
}

body[data-project-page="other-works"] .other-showcase {
  min-height: auto;
  padding: clamp(110px, 8vw, 145px) 0 170px;
  border: 0;
  scroll-margin-top: 80px;
  background: radial-gradient(ellipse 780px 650px at 82% 0%, rgba(92,53,152,.16), transparent 100%), radial-gradient(ellipse 840px 620px at 14% 75%, rgba(24,83,101,.13), transparent 100%);
}
.other-showcase__intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
body.project-type-consistent[data-project-page="other-works"] .other-showcase__intro h1 { margin: 0; font-family: "Xiangxiang Display", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: clamp(62px, 7vw, 116px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.other-showcase__english { margin: 18px 0 0; color: rgba(255,255,255,.43); font-size: clamp(12px, 1.25vw, 18px); letter-spacing: .52em; }
.other-showcase__copy { max-width: 900px; min-height: 1.7em; margin: 34px 0 0; color: rgba(255,255,255,.58); font-size: clamp(17px, 1.45vw, 22px); line-height: 1.7; }
body[data-project-page="other-works"] .visual-jelly { width: max-content; max-width: 100%; gap: 14px; margin: 35px 0 0; }
body[data-project-page="other-works"] .visual-jelly__button { padding: 13px 24px; font-size: 22px; white-space: nowrap; }
body[data-project-page="other-works"] .visual-jelly__button[aria-checked="false"] { background: rgba(39,39,42,.68); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); }
body[data-project-page="other-works"] .visuals-section .other-gallery-panel { padding-top: 54px; padding-bottom: 0; }
.other-gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 20px; }
.other-gallery-card { min-width: 0; }
.other-gallery-card > a { display: block; }
.other-gallery-card__media { position: relative; aspect-ratio: 9 / 15; overflow: hidden; border-radius: 12px; background: transparent; }
#other-visual-panel .other-gallery-card__media { aspect-ratio: 1080 / 2339; }
#other-motion-panel .other-gallery-card__media { border-radius: 18px; }
.other-gallery-card a:focus-visible { outline: 2px solid #2dffb9; outline-offset: 5px; border-radius: 22px; }
.other-gallery-card__media img, .other-gallery-card__media video { width: 100%; height: 100%; object-fit: contain; }
.other-gallery-card__media img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.other-gallery-card:hover .other-gallery-card__media img { transform: scale(1.04); }
.other-gallery-card__media.contain img { object-fit: contain; padding: 14px; }
.other-gallery-card__media.motion { display: grid; place-items: center; }
.other-gallery-card__media.motion video { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 18px; clip-path: inset(0 round 18px); }
.other-gallery-card__caption { display: grid; gap: 7px; padding: 15px 3px 0; }
.other-gallery-card__caption span { color: rgba(255,255,255,.44); font-size: 12px; letter-spacing: .1em; }
.other-gallery-card__caption strong { color: #f4f7f2; font-size: clamp(19px, 1.55vw, 26px); font-weight: 600; line-height: 1.3; }
.other-footer { border-color: transparent; }

body[data-project-page="other-works"] .other-gallery-grid[hidden] { display: none !important; }
.drift-wall {
  position: relative;
  width: 100%;
  height: clamp(780px, 72vw, 1030px);
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
}
.drift-wall__plane {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: flex-start;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.drift-wall__col {
  position: relative;
  flex: 0 0 calc(var(--dw-tile-w) + var(--dw-gap));
  height: 0;
  transform-style: preserve-3d;
}
.drift-wall__track {
  display: flex;
  flex-direction: column;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.drift-wall__tile {
  position: relative;
  display: block;
  flex: 0 0 calc(var(--dw-tile-h) + var(--dw-gap));
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transform-style: preserve-3d;
}
.drift-wall__inner {
  position: absolute;
  inset: calc(var(--dw-gap) / 2);
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  opacity: 1;
  transform: translateZ(0);
  transition: transform .48s cubic-bezier(.22,1,.36,1);
}
#other-motion-panel .drift-wall__inner { border-radius: 18px; }
.drift-wall__inner.is-motion { display: grid; place-items: center; }
.drift-wall__fill {
  position: absolute;
  inset: -16px;
  display: block;
  background-position: center;
  background-size: cover;
  filter: blur(16px);
  opacity: .75;
}
.drift-wall__inner img,
.drift-wall__motion {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.drift-wall__inner.is-contain img { object-fit: contain; padding: 0; }
#other-motion-panel .drift-wall__motion { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 18px; clip-path: inset(0 round 18px); }
.drift-wall__tile:is(.is-active, :focus-visible) { z-index: 5; outline: none; }
.drift-wall__tile:is(.is-active, :focus-visible) .drift-wall__inner {
  z-index: 5;
  transform: translateZ(68px) scale(1.045);
}

.other-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 64px);
  background: rgba(4, 5, 11, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  cursor: zoom-out;
}
.other-lightbox[hidden], .other-lightbox__media[hidden] { display: none !important; }
.other-lightbox__media {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1280px);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  cursor: default;
}
.other-lightbox video.other-lightbox__media { border-radius: 18px; }
.other-lightbox__close {
  position: absolute;
  top: clamp(16px, 2.5vw, 36px);
  right: clamp(16px, 2.5vw, 36px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.other-lightbox__close:hover, .other-lightbox__close:focus-visible { background: rgba(255,255,255,.28); outline: none; }

@media (max-width: 760px) {
  .drift-wall { height: min(88vh, 760px); min-height: 540px; }
  .drift-wall__tile:is(.is-active, :focus-visible) .drift-wall__inner { transform: translateZ(36px) scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .drift-wall__inner { transition: none; }
}

@media (max-width: 1100px) {
  .other-gallery-grid { gap: 24px 14px; }
}
@media (max-width: 760px) {
  body[data-project-page="other-works"] .other-showcase { padding: 110px 0 105px; }
  .other-showcase__copy { margin-top: 24px; font-size: 16px; }
  body[data-project-page="other-works"] .visual-jelly { gap: 7px; margin-top: 25px; }
  body[data-project-page="other-works"] .visual-jelly__button { padding: 9px 12px; font-size: 15px; }
  body[data-project-page="other-works"] .visuals-section .other-gallery-panel { padding-top: 36px; }
  .other-gallery-grid { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2,auto); grid-auto-columns: minmax(180px,42vw); gap: 20px 14px; overflow-x: auto; padding: 0 2px 24px; scroll-snap-type: x proximity; scrollbar-color: rgba(255,255,255,.24) transparent; }
  .other-gallery-card { scroll-snap-align: start; }
  .other-gallery-card__media { border-radius: 17px; }
  .other-gallery-card__caption strong { font-size: 17px; }
}
@media (max-width: 480px) {
  .other-showcase__english { letter-spacing: .32em; }
}
@media (prefers-reduced-motion: reduce) {
  .other-gallery-card__media, .other-gallery-card__media img { transition: none; }
}
