:root {
  --padding-22: calc(100vh / 22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 0.8;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Syndicat Grotesk";
  src: url("SyndicatGrotesk-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  background: #f5f5f5;
  color: #333333;
  font-family: "Syndicat Grotesk", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

/* 首屏：图片横移列表 */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.track {
  display: flex;
  align-items: center;
  height: 100vh;
  will-change: transform;
}

.track.no-anim {
  transition: none !important;
}

.slide {
  flex: 0 0 auto;
  display: block;
  height: 100vh;
  width: auto;
  transition: opacity .6s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.slide.active {
  opacity: 1;
}

/* 详情模式：隐藏主图以外的图片 */
body.detail .slide:not(.active) {
  opacity: 0;
}

/* 自定义鼠标文字 */
body.zone-cursor,
body.zone-cursor * {
  cursor: none !important;
}

.text-ui {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: var(--padding-22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 24px;
  color: #fff;
  transition: opacity .6s ease, visibility .6s ease;
}

/* 详情模式：隐藏文字层 */
body.detail .text-ui {
  opacity: 0;
  visibility: hidden;
}

.text-ui .studio-name,
.text-ui .selected-archive {
  margin-bottom: 24px;
  cursor: pointer;
}

.text-ui .studio-name:hover,
.text-ui .selected-archive:hover {
  text-decoration: underline;
}

.cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  font-size: 18px;
  letter-spacing: 0.25em;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
  white-space: nowrap;
}

.cursor-label.show {
  opacity: 1;
}

/* 下方内容区 */
.content {
  min-height: 70vh;
  margin: 0 auto;
}

.content-inner {
  padding-bottom: calc(var(--padding-22) * 2);
}

.content-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.content h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  margin-bottom: 24px;
}

.content p {
  font-size: 20px;
  font-weight: 300;
}

.content .contentText {
  position: relative;
  margin-top: var(--padding-22);
  /* 按单词换行 */
  word-break: break-word;
  line-height: normal;
}

.text-next {
  cursor: pointer;
  color: #333333;
  font-size: 16px;
  position: absolute;
  top: 0;
  transform: translateX(100%);
  right: calc(var(--padding-22) * -2);
}

.text-next:hover {
  text-decoration: underline;
}

#contentImg {
  font-size: 0;
}

#contentImg img {
  width: 100%;
  height: auto;
}