:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #f7f7f0;
  --dim: #8f8f88;
  --soft: #c9c7bc;
  --line: rgba(247, 247, 240, 0.18);
  --line-strong: rgba(247, 247, 240, 0.42);
  --panel: rgba(247, 247, 240, 0.035);
  --max: 1760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #050505 0%, #000 48%, #050505 100%);
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  letter-spacing: 0;
}

body.viewer-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.74;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 7px;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.backlight {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.backlight-line {
  position: absolute;
  display: block;
  opacity: 0.72;
  filter: blur(0.2px);
  mix-blend-mode: screen;
}

.backlight-line::before,
.backlight-line::after {
  position: absolute;
  inset: 0;
  content: "";
}

.backlight-line::before {
  background: linear-gradient(90deg, transparent, rgba(246, 246, 238, 0.9), transparent);
}

.backlight-line::after {
  filter: blur(22px);
  background: linear-gradient(90deg, transparent, rgba(246, 246, 238, 0.34), rgba(98, 168, 190, 0.2), transparent);
}

.backlight-line-left,
.backlight-line-right {
  top: 9vh;
  width: 1px;
  height: 74vh;
}

.backlight-line-left {
  left: clamp(18px, 3vw, 54px);
  animation: sideGlow 8s ease-in-out infinite;
}

.backlight-line-right {
  right: clamp(18px, 3vw, 54px);
  animation: sideGlow 8s ease-in-out infinite reverse;
}

.backlight-line-left::before,
.backlight-line-right::before {
  background: linear-gradient(180deg, transparent, rgba(246, 246, 238, 0.78), transparent);
}

.backlight-line-left::after,
.backlight-line-right::after {
  left: -22px;
  right: -22px;
  background: linear-gradient(180deg, transparent, rgba(246, 246, 238, 0.24), rgba(98, 168, 190, 0.16), transparent);
}

.backlight-line-top {
  left: 9vw;
  right: 9vw;
  top: clamp(54px, 8vw, 126px);
  height: 1px;
  animation: topGlow 9s ease-in-out infinite;
}

@keyframes sideGlow {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleY(0.92);
  }
  50% {
    opacity: 0.86;
    transform: scaleY(1);
  }
}

@keyframes topGlow {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-1.4vw);
  }
  50% {
    opacity: 0.72;
    transform: translateX(1.4vw);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - clamp(32px, 7vw, 96px)));
  margin: 0 auto;
  padding: clamp(66px, 8vw, 122px) 0 20px;
  pointer-events: none;
}

.site-header::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 176px;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.brand,
.nav {
  pointer-events: auto;
}

.brand {
  display: inline-grid;
  gap: 6px;
  min-width: 210px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-line {
  color: var(--dim);
  font-size: 13px;
}

.brand-cursor {
  position: relative;
  width: max-content;
  color: var(--ink);
  font-size: clamp(24px, 2.1vw, 38px);
  font-weight: 400;
}

.brand-cursor::after {
  display: inline-block;
  width: 0.46em;
  height: 0.88em;
  margin-left: 0.18em;
  content: "";
  border-right: 2px solid currentColor;
  animation: blink 0.65s steps(1) infinite;
  transform: translateY(0.08em);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 42px);
  color: var(--dim);
  font-size: 14px;
}

.nav a {
  padding: 6px 0;
  transition: color 0.24s ease, opacity 0.24s ease;
}

.nav a:hover {
  color: var(--ink);
}

main {
  width: min(var(--max), calc(100% - clamp(32px, 7vw, 96px)));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 168px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 86px) 0 clamp(72px, 8vw, 132px);
}

.hero::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(38px, 6vw, 96px);
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 246, 238, 0.78), transparent 38%, rgba(98, 168, 190, 0.26), transparent);
  box-shadow: 0 0 28px rgba(246, 246, 238, 0.18), 0 0 58px rgba(98, 168, 190, 0.1);
  opacity: 0.72;
}

.hero-kicker {
  margin-bottom: clamp(28px, 4vw, 58px);
  color: var(--dim);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(62px, 13vw, 238px);
  font-weight: 400;
  line-height: 0.86;
}

h2 {
  margin: 0;
  font-size: clamp(42px, 6.8vw, 126px);
  font-weight: 400;
  line-height: 0.94;
}

.work-flow {
  position: relative;
  min-width: 0;
  min-height: clamp(480px, 45vw, 660px);
  overflow: hidden;
  border: 1px solid rgba(247, 247, 240, 0.1);
  background:
    radial-gradient(circle at 48% 42%, rgba(246, 246, 238, 0.09), transparent 36%),
    radial-gradient(circle at 70% 72%, rgba(98, 168, 190, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 0 74px rgba(246, 246, 238, 0.045), 0 0 72px rgba(98, 168, 190, 0.07);
  perspective: 1200px;
  transform-style: preserve-3d;
}

.work-flow::before,
.work-flow::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
}

.work-flow::before {
  background:
    linear-gradient(90deg, #000 0%, transparent 12%, transparent 88%, #000 100%),
    linear-gradient(180deg, #000 0%, transparent 18%, transparent 78%, #000 100%);
}

.work-flow::after {
  background-image:
    linear-gradient(rgba(246, 246, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 246, 238, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.flow-item,
.flow-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z);
  pointer-events: none;
  animation-delay: var(--delay);
  animation-duration: var(--duration);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  will-change: transform, opacity;
}

.flow-item {
  width: var(--size);
  opacity: var(--opacity);
  filter: blur(var(--blur));
  transform-style: preserve-3d;
  animation-name: workFlowDrift;
}

.flow-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.76);
  border: 1px solid rgba(247, 247, 240, 0.22);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.42), 0 0 28px rgba(246, 246, 238, 0.07);
}

.flow-item::before {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid rgba(246, 246, 238, 0.18);
  transform: translate3d(8px, 8px, -24px);
}

.flow-dot {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(246, 246, 238, var(--opacity));
  box-shadow: 0 0 14px rgba(246, 246, 238, 0.4), 0 0 28px rgba(98, 168, 190, 0.18);
  animation-name: dotFlowDrift;
}

@keyframes workFlowDrift {
  0% {
    transform: translate3d(0, 0, -120px) rotateX(9deg) rotateY(-14deg) rotateZ(var(--rotate));
  }
  45% {
    opacity: calc(var(--opacity) * 0.72);
  }
  100% {
    transform: translate3d(var(--drift-x), var(--drift-y), 90px) rotateX(-7deg) rotateY(16deg) rotateZ(calc(var(--rotate) * -1));
  }
}

@keyframes dotFlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.72);
  }
  100% {
    transform: translate3d(var(--drift-x), var(--drift-y), 0) scale(1.25);
  }
}

.hero-side {
  display: grid;
  gap: clamp(30px, 4vw, 64px);
  min-width: 0;
  max-width: 560px;
}

.hero-side p,
.section-head p:last-child,
.lead {
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.hero-meta {
  display: grid;
  gap: 8px;
  color: var(--dim);
  font-size: 13px;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(84px, 11vw, 172px) 0;
  border-top: 1px solid var(--line);
}

.section::before {
  position: absolute;
  left: 0;
  top: -1px;
  width: min(42vw, 640px);
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 246, 238, 0.76), rgba(98, 168, 190, 0.28), transparent);
  box-shadow: 0 0 22px rgba(246, 246, 238, 0.2), 0 0 46px rgba(98, 168, 190, 0.12);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(360px, 0.54fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4.5vw, 84px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 104px);
}

.eyebrow {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
}

.category-stack {
  display: grid;
  gap: clamp(54px, 6.5vw, 92px);
}

.category-block {
  display: grid;
  grid-template-columns: minmax(190px, 0.24fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 86px);
}

.category-label {
  position: sticky;
  top: 172px;
  align-self: start;
  display: grid;
  gap: 12px;
  color: var(--dim);
}

.category-label span,
.category-label small {
  font-size: 12px;
  text-transform: uppercase;
}

.category-label h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 46px);
  font-weight: 400;
  line-height: 1.08;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(260px, 0.68fr) minmax(240px, 0.52fr) 42px;
  gap: clamp(18px, 2.8vw, 54px);
  width: 100%;
  padding: clamp(24px, 3.4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: color 0.25s ease, padding-left 0.3s ease, border-color 0.25s ease;
  overflow: hidden;
}

.work-row::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(246, 246, 238, 0.9), rgba(98, 168, 190, 0.34), transparent);
  opacity: 0;
  transform: translateX(-42%);
  transition: opacity 0.28s ease, transform 0.48s ease;
}

.work-row:hover {
  padding-left: clamp(10px, 1.2vw, 22px);
  border-color: var(--line-strong);
  color: #fff;
}

.work-row:hover::before {
  opacity: 1;
  transform: translateX(16%);
}

.work-no,
.work-desc,
.work-arrow {
  color: var(--dim);
}

.work-no {
  padding-top: 0.44em;
  font-size: 13px;
}

.work-title {
  font-size: clamp(32px, 4.6vw, 86px);
  line-height: 0.98;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.work-desc {
  align-self: center;
  max-width: 540px;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.72;
}

.work-arrow {
  align-self: start;
  justify-self: end;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.work-row:hover .work-arrow {
  color: var(--ink);
  transform: translate3d(6px, -6px, 0) rotate(8deg);
}

.video-section {
  display: grid;
  gap: clamp(36px, 6vw, 84px);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.video-grid video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #000;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 128px);
  align-items: start;
}

.about-identity {
  position: sticky;
  top: 172px;
  display: grid;
  gap: 18px;
  padding-top: 8px;
  color: transparent;
  font-size: clamp(74px, 10vw, 188px);
  font-weight: 400;
  line-height: 0.82;
  -webkit-text-stroke: 1px rgba(247, 247, 240, 0.56);
  text-transform: uppercase;
  transform-style: preserve-3d;
  animation: identityFloat 10s ease-in-out infinite;
}

@keyframes identityFloat {
  0%,
  100% {
    transform: rotateY(-7deg) rotateX(3deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateY(8deg) rotateX(-3deg) translate3d(0, -14px, 24px);
  }
}

.about-copy {
  max-width: 1180px;
}

.about-copy .eyebrow {
  margin-bottom: 26px;
}

.about-copy h2 {
  margin-bottom: clamp(28px, 4vw, 58px);
}

.lead {
  max-width: 960px;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.55;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 6vw, 88px);
  background: var(--line);
  border: 1px solid var(--line);
}

.info-grid div {
  min-height: 196px;
  padding: clamp(22px, 2.6vw, 40px);
  background: rgba(0, 0, 0, 0.82);
}

.info-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.info-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.78;
}

.viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  overflow-y: auto;
  padding: clamp(18px, 3vw, 48px);
  background: #000;
}

.viewer.active {
  display: block;
  animation: viewerIn 0.24s ease both;
}

@keyframes viewerIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.viewer-close {
  position: fixed;
  right: clamp(18px, 3.8vw, 58px);
  top: clamp(18px, 3.4vw, 52px);
  z-index: 82;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.viewer-close:hover {
  transform: rotate(90deg);
  border-color: var(--ink);
}

.viewer-panel {
  width: min(1520px, 100%);
  margin: 0 auto;
  padding: clamp(44px, 5vw, 82px) 0 86px;
}

.viewer-head {
  display: grid;
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 0.72fr) minmax(280px, 0.46fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(28px, 3.2vw, 52px);
  border-bottom: 1px solid var(--line);
}

.viewer-head h2 {
  font-size: clamp(34px, 4.6vw, 82px);
  line-height: 1.02;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.viewer-head p:last-child {
  margin: 0;
  color: var(--soft);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.78;
}

.viewer-images {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.viewer-images img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000;
}

.viewer-images video {
  width: 100%;
  max-height: min(86vh, 920px);
  object-fit: contain;
  background: #000;
}

@media (max-width: 1120px) {
  .hero-main,
  .section-head,
  .category-block,
  .about,
  .viewer-head {
    grid-template-columns: 1fr;
  }

  .category-label,
  .about-identity {
    position: static;
  }

  .work-row {
    grid-template-columns: 72px minmax(0, 1fr) 36px;
  }

  .work-desc {
    grid-column: 2 / -1;
    max-width: 720px;
  }

  .video-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    width: calc(100% - 32px);
    padding: 72px 0 14px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    flex: 0 0 100%;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  main {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .work-flow {
    min-height: 430px;
  }

  .hero-side p,
  .section-head p:last-child,
  .lead,
  .work-desc,
  .info-grid p {
    word-break: break-all;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .work-row {
    grid-template-columns: 54px minmax(0, 1fr) 28px;
    gap: 14px;
    padding: 24px 0;
  }

  .work-title {
    font-size: clamp(28px, 9vw, 54px);
  }

  .video-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .about-identity {
    font-size: clamp(68px, 23vw, 128px);
  }
}
