:root {
  color-scheme: dark;
  --ink: #090a0c;
  --paper: #f1f0ec;
  --paper-muted: #c9c6bf;
  --copy-muted: #8d8d8c;
  --line: rgba(241, 240, 236, 0.16);
  --line-soft: rgba(241, 240, 236, 0.09);
  --lime: #d8ff6a;
  --sans: "Manrope", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 5px;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: clip;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 30px clamp(24px, 4.5vw, 72px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s ease, border-color 0.5s ease, padding 0.5s ease;
}

.site-header.is-scrolled {
  padding-top: 21px;
  padding-bottom: 21px;
  border-color: var(--line-soft);
  background: rgba(9, 10, 12, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(241, 240, 236, 0.46);
  border-radius: 50%;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.brand:hover .brand-mark {
  border-color: var(--lime);
  transform: rotate(15deg);
}

.brand-mark svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-cn {
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-en {
  color: var(--copy-muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.header-meta,
.header-contact,
.eyebrow,
.hero-footer {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--copy-muted);
}

.header-divider {
  width: 22px;
  height: 1px;
  background: var(--line);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper-muted);
}

.header-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 13px rgba(216, 255, 106, 0.9);
}

.header-contact {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  transition: color 0.3s ease;
}

.header-contact:hover {
  color: var(--lime);
}

.arrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 0.3s ease;
}

.header-contact:hover .arrow {
  transform: translate(2px, -2px);
}

.hero {
  position: relative;
  display: flex;
  min-height: max(720px, 100svh);
  align-items: center;
  padding: 146px clamp(24px, 8vw, 144px) 93px;
  background: var(--ink);
}

.hero-layout {
  display: block;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  min-height: 570px;
  max-width: 1120px;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  margin: 0 0 clamp(32px, 4.5vw, 72px);
  color: var(--copy-muted);
}

.eyebrow-line {
  display: inline-block;
  width: 31px;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 106, 0.75);
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(64px, 9.2vw, 158px);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.89;
}

.hero-title-line {
  display: block;
}

.hero-title-line--english {
  margin-top: 0.13em;
  color: transparent;
  font-size: 0.91em;
  -webkit-text-stroke: 1px rgba(241, 240, 236, 0.42);
  text-shadow: 0 0 34px rgba(241, 240, 236, 0.03);
}

.hero-title-line--english em {
  color: var(--paper);
  font-style: normal;
  -webkit-text-stroke: 0;
}

.hero-tagline {
  display: grid;
  gap: 3px;
  margin: clamp(37px, 5vw, 72px) 0 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.hero-tagline span:last-child {
  padding-left: 29px;
}

.hero-footer {
  position: absolute;
  right: clamp(24px, 4.5vw, 72px);
  bottom: 31px;
  left: clamp(24px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--copy-muted);
}

.hero-footer-index {
  color: var(--paper-muted);
}

.cursor-dot {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}

.cursor-dot.is-visible {
  opacity: 0.85;
}

.cursor-dot.is-hovering {
  width: 34px;
  height: 34px;
  background: rgba(216, 255, 106, 0.07);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(21px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero {
    padding-right: clamp(24px, 5vw, 64px);
    padding-left: clamp(24px, 5vw, 64px);
  }

}

@media (max-width: 980px) {
  .hero {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .hero-copy {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 22px 20px;
  }

  .header-meta {
    display: none;
  }

  .header-contact {
    font-size: 8px;
  }

  .hero {
    min-height: 800px;
    align-items: start;
    padding: 127px 20px 88px;
  }

  .hero-copy {
    display: block;
    min-height: auto;
  }

  .eyebrow {
    margin-bottom: 39px;
  }

  h1 {
    font-size: clamp(52px, 16.7vw, 112px);
    letter-spacing: -0.1em;
  }

  .hero-title-line--english {
    margin-top: 0.16em;
    font-size: 0.83em;
  }

  .hero-tagline {
    margin-top: 35px;
  }

  .hero-footer {
    right: 20px;
    bottom: 24px;
    left: 20px;
    font-size: 7px;
  }

  .hero-footer-note {
    max-width: 160px;
    line-height: 1.4;
  }

}

@media (max-width: 390px) {
  .hero {
    min-height: 750px;
  }

  .hero-footer-note {
    max-width: 130px;
  }
}

@media (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
