/*
 * MOTE Studio OS 官网入口（/welcome）
 * 背景：仅深空月球视频，无静态海报底图
 * 字体/玻璃框：对齐 StartDeck Command Input 质感
 */

:root {
  --w-bg: #04080d;
  /* 图2：极细黑体浅灰（非纯白） */
  --w-ink: #cfcfcf;
  --w-ink-soft: rgba(207, 207, 207, 0.82);
  --w-ink-muted: rgba(207, 207, 207, 0.62);
  --w-ink-faint: rgba(207, 207, 207, 0.4);
  --w-amber: #d7a85f;
  --w-amber-soft: rgba(215, 168, 95, 0.72);
  --w-amber-pale: #f6bf58;
  --w-line: rgba(210, 230, 239, 0.2);
  --w-line-soft: rgba(210, 230, 239, 0.1);
  --w-font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Avenir Next", system-ui, -apple-system, sans-serif;
  --w-font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --w-font-mono: "SF Mono", "Cascadia Code", "Menlo", "Consolas", ui-monospace, monospace;
  --w-font-serif-zh: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --w-shell: 1240px;
  --w-gutter: clamp(22px, 5vw, 72px);
  --w-nav-h: 72px;
  --w-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --w-glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 1px), rgba(5, 9, 14, 0.62);
  --w-glass-shadow: 0 24px 72px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --w-radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--w-nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--w-bg);
  color: var(--w-ink);
  font-family: var(--w-font-sans);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
  font-weight: inherit;
}

:focus-visible {
  outline: 1px solid var(--w-amber);
  outline-offset: 4px;
}

.w-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 18px;
  background: var(--w-bg);
  border: 1px solid var(--w-amber);
  font-size: 0.82rem;
}

.w-skip:focus {
  left: 16px;
  top: 16px;
}

.w-shell {
  width: 100%;
  max-width: var(--w-shell);
  margin-inline: auto;
  padding-inline: var(--w-gutter);
}

/* ---------------------------------------------------------------- 全页视频：纯色底，禁止静态海报 */

.w-cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #04080d;
}

.w-cosmos__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transition: opacity 1.1s var(--w-ease);
  filter: contrast(1.04) saturate(1.02) brightness(0.82);
  transform: translateZ(0);
  background: #04080d;
}

.w-cosmos__video.is-active {
  opacity: 1;
  z-index: 2;
}

.w-cosmos__video.is-standby {
  opacity: 0;
  z-index: 1;
}

/* 不再叠黑色遮罩；深空视频直接透出 */
.w-cosmos__veil {
  display: none;
}

/* 与主页 StartDeck / jinghe_global 同款品牌球呼吸 */
@keyframes brand-mote-orb-breathe {
  0%,
  100% {
    transform: scale(0.96);
    filter: brightness(0.98) saturate(1.06)
      drop-shadow(0 0 10px rgba(255, 215, 165, 0.55))
      drop-shadow(0 0 22px rgba(255, 195, 115, 0.38))
      drop-shadow(0 0 36px rgba(255, 175, 90, 0.22));
  }

  50% {
    transform: scale(1.04);
    filter: brightness(1.08) saturate(1.1)
      drop-shadow(0 0 14px rgba(255, 230, 185, 0.65))
      drop-shadow(0 0 30px rgba(255, 200, 120, 0.45))
      drop-shadow(0 0 48px rgba(255, 180, 95, 0.28));
  }
}

@keyframes brand-mote-dot-breathe {
  0%,
  100% {
    transform: scale(0.94);
    box-shadow: 0 0 10px rgba(215, 168, 95, 0.42);
    filter: brightness(0.98);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 14px rgba(255, 230, 185, 0.62),
      0 0 28px rgba(255, 195, 115, 0.35);
    filter: brightness(1.1);
  }
}

@keyframes brand-mote-o-ring-breathe {
  0%,
  100% {
    box-shadow:
      0 0 0 0.022em rgba(255, 255, 255, 0.82),
      0 0 0.2em rgba(255, 230, 185, 0.24),
      0 0 0.45em rgba(212, 165, 116, 0.14);
  }

  50% {
    box-shadow:
      0 0 0 0.026em rgba(255, 255, 255, 0.96),
      0 0 0.28em rgba(255, 230, 185, 0.4),
      0 0 0.58em rgba(255, 200, 120, 0.26);
  }
}

.w-page {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------- 玻璃框（Command Input 同款） */

.w-glass {
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 1px), rgba(5, 9, 14, 0.62);
  box-shadow: var(--w-glass-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(1.1);
  backdrop-filter: blur(30px) saturate(1.1);
}

/* ---------------------------------------------------------------- 顶栏 */

.w-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--w-ease), border-color 0.4s var(--w-ease), backdrop-filter 0.4s var(--w-ease);
}

.w-nav.is-scrolled {
  background: rgba(5, 9, 14, 0.72);
  border-bottom-color: var(--w-line-soft);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
}

.w-nav .w-nav__inner {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding-inline: clamp(16px, 4vw, 48px);
}

.w-nav__inner {
  min-height: var(--w-nav-h);
}

.w-brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.w-brand__orb {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  transform-origin: center center;
  filter: brightness(0.98) saturate(1.06)
    drop-shadow(0 0 10px rgba(255, 215, 165, 0.55))
    drop-shadow(0 0 22px rgba(255, 195, 115, 0.38))
    drop-shadow(0 0 36px rgba(255, 175, 90, 0.22));
  animation: brand-mote-orb-breathe 3.6s ease-in-out infinite;
  will-change: transform, filter;
}

.w-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.w-brand__word {
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  line-height: 1;
  color: var(--w-ink);
}

.w-brand__sub {
  font-family: var(--w-font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1;
  color: var(--w-ink-faint);
  text-transform: uppercase;
}

.w-nav__links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.w-nav__link {
  position: relative;
  padding-block: 6px;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--w-ink-soft);
  transition: color 0.3s var(--w-ease);
}

.w-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--w-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--w-ease);
}

.w-nav__link:hover,
.w-nav__link:focus-visible {
  color: var(--w-ink);
}

.w-nav__link:hover::after,
.w-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.w-nav__side {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.w-nav__enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--w-ink-soft);
  transition: color 0.3s var(--w-ease);
}

.w-nav__enter:hover {
  color: var(--w-ink);
}

.w-nav__enter-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff4d8, var(--w-amber) 42%, #6b4a26 100%);
  box-shadow: 0 0 10px rgba(215, 168, 95, 0.42);
  transform-origin: center center;
  animation: brand-mote-dot-breathe 3.6s ease-in-out infinite;
  will-change: transform, filter, box-shadow;
}

.w-nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--w-line);
  border-radius: 10px;
  background: rgba(5, 9, 14, 0.45);
  color: var(--w-ink-soft);
  cursor: pointer;
}

.w-nav__toggle span,
.w-nav__toggle span::before,
.w-nav__toggle span::after {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--w-ease), opacity 0.2s linear;
}

.w-nav__toggle span {
  margin-inline: auto;
  position: relative;
}

.w-nav__toggle span::before,
.w-nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.w-nav__toggle span::before {
  top: -5px;
}

.w-nav__toggle span::after {
  top: 5px;
}

.w-nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.w-nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}

.w-nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.w-nav__drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-block: 8px 20px;
  border-top: 1px solid var(--w-line-soft);
}

.w-nav__drawer a {
  padding-block: 13px;
  font-size: 0.9rem;
  font-weight: 200;
  letter-spacing: 0.14em;
  color: var(--w-ink-soft);
  border-bottom: 1px solid var(--w-line-soft);
}

/* ---------------------------------------------------------------- 按钮 */

.w-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding-inline: 26px;
  border: 1px solid rgba(215, 168, 95, 0.34);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 1px), rgba(5, 9, 14, 0.55);
  color: var(--w-ink);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 200;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 0.3s var(--w-ease), background 0.3s var(--w-ease), box-shadow 0.3s var(--w-ease);
}

.w-btn:hover {
  border-color: rgba(246, 191, 88, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 1px), rgba(7, 12, 18, 0.72);
  box-shadow: 0 0 28px rgba(215, 168, 95, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.w-btn--ghost {
  border-color: transparent;
  background: none;
  padding-inline: 4px;
  color: var(--w-ink-muted);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.w-btn--ghost:hover {
  background: none;
  border-color: transparent;
  color: var(--w-ink);
  box-shadow: none;
}

.w-arrow {
  flex: 0 0 auto;
  transition: transform 0.35s var(--w-ease);
}

.w-btn:hover .w-arrow,
.w-textlink:hover .w-arrow {
  transform: translateX(5px);
}

.w-textlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--w-ink-soft);
  transition: color 0.3s var(--w-ease);
}

.w-textlink:hover {
  color: var(--w-ink);
}

/* ---------------------------------------------------------------- 首屏 */

.w-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--w-nav-h) + 48px) 110px;
}

.w-hero__copy {
  position: relative;
  max-width: min(1240px, 78vw);
  padding: 8px 4px 12px;
}

.w-hero__copy::before {
  display: none;
}

.w-rule {
  width: 42px;
  height: 1px;
  background: linear-gradient(to right, var(--w-amber), rgba(215, 168, 95, 0));
  margin-bottom: 26px;
}

.w-hero__title {
  display: block;
}

.w-hero__mark {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-family: var(--w-font-sans);
  font-size: clamp(2.4rem, 5.6vw, 6.8rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.38em;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

.w-hero__mote {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.w-hero__letter {
  font-family: inherit;
  font-weight: 200;
  color: var(--w-ink);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--w-ink);
  filter: none;
  text-shadow: none;
}

.w-hero__studio-os {
  align-self: center;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 1em;
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: rgba(226, 201, 157, 0.88);
}

.w-hero__o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.72em;
  height: 0.72em;
  margin-inline: 0.08em 0.42em;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 0.022em rgba(255, 255, 255, 0.88),
    0 0 0.2em rgba(255, 230, 185, 0.28),
    0 0 0.45em rgba(212, 165, 116, 0.18);
  animation: brand-mote-o-ring-breathe 3.6s ease-in-out infinite;
  will-change: box-shadow;
}

.w-hero__o-orb {
  width: 82%;
  height: 82%;
  object-fit: contain;
  border-radius: 999px;
  transform-origin: center center;
  filter: brightness(0.98) saturate(1.06)
    drop-shadow(0 0 10px rgba(255, 215, 165, 0.55))
    drop-shadow(0 0 22px rgba(255, 195, 115, 0.38))
    drop-shadow(0 0 36px rgba(255, 175, 90, 0.22));
  animation: brand-mote-orb-breathe 3.6s ease-in-out infinite;
  will-change: transform, filter;
  user-select: none;
  -webkit-user-drag: none;
}

.w-hero__zh {
  display: block;
  margin-top: 18px;
  font-family: var(--w-font-sans);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 200;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--w-ink);
  text-shadow: none;
}

.w-hero__tagline {
  margin-top: 26px;
  font-size: clamp(0.95rem, 1.45vw, 1.12rem);
  font-weight: 200;
  letter-spacing: 0.2em;
  color: var(--w-ink-soft);
}

.w-hero__lede {
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  color: var(--w-ink-muted);
}

.w-hero__chain {
  margin-top: 18px;
  font-family: var(--w-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--w-ink-faint);
}

.w-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 42px;
}

.w-hero__cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--w-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--w-ink-faint);
  text-transform: uppercase;
}

.w-hero__cue-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(215, 168, 95, 0.55), rgba(215, 168, 95, 0));
  animation: w-cue 2.4s var(--w-ease) infinite;
}

@keyframes w-cue {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ---------------------------------------------------------------- 区块 */

.w-section {
  position: relative;
  padding-block: clamp(72px, 11vh, 130px);
}

.w-eyebrow {
  font-family: var(--w-font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--w-ink-muted);
  text-transform: uppercase;
}

.w-section__head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  padding: 0;
  text-align: center;
  background: none;
  box-shadow: none;
}

.w-section__title {
  margin-top: 18px;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 200;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--w-ink);
  text-shadow: none;
}

.w-section__lede {
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 200;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--w-ink-soft);
  text-shadow: none;
}

.w-section__lede strong {
  color: var(--w-ink);
  font-weight: 300;
}

/* ---------------------------------------------------------------- 品牌主张 */

.w-manifesto {
  padding-block: clamp(36px, 7vh, 80px);
}

.w-manifesto__panel {
  max-width: 640px;
  padding: clamp(26px, 3.5vw, 40px) clamp(22px, 3.5vw, 36px);
}

.w-manifesto__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(16px, 2.6vw, 24px);
  font-family: var(--w-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--w-ink-faint);
  text-transform: uppercase;
}

.w-manifesto__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 999px;
  transform-origin: center center;
  filter: brightness(0.98) saturate(1.06)
    drop-shadow(0 0 10px rgba(255, 215, 165, 0.55))
    drop-shadow(0 0 22px rgba(255, 195, 115, 0.38))
    drop-shadow(0 0 36px rgba(255, 175, 90, 0.22));
  animation: brand-mote-orb-breathe 3.6s ease-in-out infinite;
  will-change: transform, filter;
  user-select: none;
  -webkit-user-drag: none;
}

.w-manifesto__zh {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: 0.1em;
  color: var(--w-ink);
}

.w-manifesto__accent {
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--w-ink);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--w-ink);
  filter: none;
}

.w-manifesto__rule {
  width: min(72px, 18vw);
  height: 1px;
  margin: 0 0 clamp(12px, 2vw, 18px);
  border: 0;
  background: linear-gradient(90deg, rgba(207, 207, 207, 0.35), rgba(207, 207, 207, 0.06), transparent);
}

.w-manifesto__en1,
.w-manifesto__en2 {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  color: var(--w-ink-muted);
}

.w-manifesto__en1 {
  margin-bottom: 0.3em;
}

.w-manifesto__en2 span {
  font-weight: 200;
  letter-spacing: 0.16em;
  color: var(--w-ink-soft);
}

/* ---------------------------------------------------------------- MOTE ORIGINAL */

.w-original {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.45fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.5vw, 40px);
}

.w-original__index {
  margin-top: 14px;
  font-family: var(--w-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--w-ink-faint);
}

.w-original__title {
  margin-top: 10px;
  font-family: var(--w-font-sans);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--w-ink);
}

.w-original__latin {
  margin-top: 10px;
  font-family: var(--w-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--w-ink-faint);
  text-transform: uppercase;
}

.w-original__desc {
  margin-top: 22px;
  max-width: 34em;
  font-size: 0.84rem;
  font-weight: 200;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--w-ink-muted);
}

.w-original__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 24px;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--w-ink-muted);
}

.w-original__meta-sep {
  width: 1px;
  height: 10px;
  background: var(--w-line);
}

.w-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--w-ink-soft);
}

.w-status__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.w-original__cta {
  margin-top: 30px;
}

.w-original__still {
  position: relative;
  aspect-ratio: 2.39 / 1;
  overflow: hidden;
  border: 1px solid var(--w-line-soft);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
}

.w-original__still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--w-ease);
}

.w-original:hover .w-original__still img {
  transform: scale(1.06);
}

.w-original__still::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4, 8, 13, 0.4), rgba(4, 8, 13, 0) 40%),
    linear-gradient(to top, rgba(4, 8, 13, 0.3), rgba(4, 8, 13, 0) 48%);
}

/* ---------------------------------------------------------------- 方法 / 剧组 */

.w-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: clamp(36px, 5vw, 56px) 0 0;
}

.w-step {
  position: relative;
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.8vw, 22px) clamp(24px, 2.6vw, 32px);
  transition: border-color 0.3s var(--w-ease), transform 0.3s var(--w-ease);
}

.w-step:hover {
  border-color: rgba(246, 191, 88, 0.34);
  transform: translateY(-1px);
}

.w-step__num {
  font-family: var(--w-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--w-ink-faint);
  text-transform: uppercase;
}

.w-step__name {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  color: var(--w-ink);
}

.w-step__desc {
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 200;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--w-ink-muted);
}

.w-crew {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
}

.w-crew__card {
  padding: clamp(18px, 2vw, 24px);
  transition: border-color 0.3s var(--w-ease), transform 0.3s var(--w-ease);
}

.w-crew__card:hover {
  border-color: rgba(246, 191, 88, 0.34);
  transform: translateY(-1px);
}

.w-crew__role {
  font-size: 0.92rem;
  font-weight: 200;
  letter-spacing: 0.08em;
  color: var(--w-ink);
}

.w-crew__en {
  margin-top: 6px;
  font-family: var(--w-font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  color: var(--w-ink-faint);
  text-transform: uppercase;
}

.w-crew__map {
  margin: 10px 0 0;
  font-size: 0.68rem;
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--w-ink-muted);
}

.w-inline-link {
  color: var(--w-ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.w-inline-link:hover {
  color: var(--w-ink);
}

/* ---------------------------------------------------------------- 正在使用的能力 */

.w-caps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
}

.w-cap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.8vw, 22px) clamp(22px, 2.4vw, 28px);
  transition: border-color 0.3s var(--w-ease), transform 0.3s var(--w-ease);
}

.w-cap:hover {
  border-color: rgba(246, 191, 88, 0.34);
  transform: translateY(-1px);
}

.w-cap__num {
  margin: 0;
  font-family: var(--w-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--w-ink-faint);
  text-transform: uppercase;
}

.w-cap__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  color: var(--w-ink);
}

.w-cap__outcome {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.76rem;
  font-weight: 200;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--w-ink-muted);
}

.w-cap__link {
  margin-top: 8px;
  align-self: flex-start;
}

/* ---------------------------------------------------------------- 关于 / 加入 */

.w-about__head {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(32px, 4.5vw, 48px) clamp(22px, 4vw, 40px);
  text-align: center;
}

.w-join {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(26px, 3.5vw, 40px);
}

.w-join__title {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 200;
  line-height: 1.4;
  letter-spacing: 0.12em;
  margin-top: 16px;
  color: var(--w-ink);
}

.w-join__desc {
  margin-top: 16px;
  max-width: 40em;
  font-size: 0.84rem;
  font-weight: 200;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--w-ink-muted);
}

.w-join__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

/* ---------------------------------------------------------------- 页脚 */

.w-foot {
  position: relative;
  border-top: 1px solid var(--w-line-soft);
  padding-block: 40px 28px;
  background: rgba(5, 9, 14, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.w-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.w-foot__brand {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--w-ink-muted);
}

.w-foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--w-ink-muted);
}

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

.w-foot__copy {
  width: 100%;
  font-family: var(--w-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--w-ink-faint);
}

/* 登录页同源备案：页脚最下方居中 */
.w-foot__beian,
#jinghe-site-footer.w-foot__beian {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.12em 0.06em;
  width: 100%;
  max-width: var(--w-shell);
  box-sizing: border-box;
  margin: 22px auto 0;
  padding: 0 var(--w-gutter);
  text-align: center;
  font-size: 0.5625rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: rgba(207, 207, 207, 0.32);
  background: none;
}

#jinghe-site-footer.w-foot__beian a {
  color: rgba(180, 188, 204, 0.52);
  text-decoration: none;
  white-space: nowrap;
}

#jinghe-site-footer.w-foot__beian a:hover {
  color: rgba(210, 218, 232, 0.78);
}

#jinghe-site-footer.w-foot__beian .jinghe-foot-sep {
  color: rgba(255, 255, 255, 0.1);
  font-weight: 200;
  font-size: 0.75em;
  padding: 0 0.35em;
  user-select: none;
}

#jinghe-site-footer.w-foot__beian .jinghe-mps-beian img {
  width: 9px !important;
  height: 11px !important;
  opacity: 0.85;
}

/* ---------------------------------------------------------------- 入场 */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--w-ease), transform 0.9s var(--w-ease);
}

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

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 1080px) {
  .w-hero__copy {
    max-width: 640px;
  }

  .w-original {
    grid-template-columns: 1fr;
  }

  .w-original__still {
    aspect-ratio: 16 / 9;
    order: -1;
  }

  .w-steps,
  .w-crew {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .w-caps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --w-nav-h: 62px;
  }

  .w-nav .w-nav__inner {
    grid-template-columns: 1fr auto;
  }

  .w-nav__links,
  .w-nav__enter {
    display: none;
  }

  .w-nav__toggle {
    display: block;
  }

  .w-nav.is-open {
    background: rgba(5, 9, 14, 0.94);
    border-bottom-color: var(--w-line-soft);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .w-nav.is-open .w-nav__drawer {
    display: flex;
  }

  .w-cosmos__video {
    object-position: 58% 36%;
  }

  .w-hero {
    min-height: 92svh;
    align-items: flex-end;
    padding-bottom: 72px;
  }

  .w-hero__copy {
    max-width: none;
  }

  .w-hero__cue {
    display: none;
  }

  .w-steps,
  .w-caps,
  .w-crew {
    grid-template-columns: 1fr;
  }

  .w-join {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .w-hero__mark {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .w-hero__studio-os {
    letter-spacing: 0.08em;
  }
}

/* ---------------------------------------------------------------- 居中登录弹层（嵌入原登录面板） */

html.w-login-open {
  overflow: hidden;
}

.w-login {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.w-login[hidden] {
  display: none !important;
}

.w-login.is-open {
  pointer-events: auto;
}

.w-login__scrim {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(2, 5, 10, 0.42);
  opacity: 0;
  transition: opacity 0.28s var(--w-ease);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.w-login.is-open .w-login__scrim {
  opacity: 1;
}

.w-login__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 32px));
  height: min(640px, calc(100svh - 56px));
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 0.5px solid rgba(245, 158, 11, 0.55);
  /* 0.34 再加深一半以上 → ~0.58，接近原深色可读区间 */
  background: rgba(8, 10, 18, 0.58);
  box-shadow:
    0 0 0 0.5px rgba(245, 158, 11, 0.12) inset,
    0 24px 80px rgba(0, 0, 0, 0.48);
  -webkit-backdrop-filter: blur(46px) saturate(1.12);
  backdrop-filter: blur(46px) saturate(1.12);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s var(--w-ease), opacity 0.3s var(--w-ease);
  outline: none;
}

.w-login.is-open .w-login__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.w-login__chrome {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

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

.w-login__close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(207, 207, 207, 0.2);
  border-radius: 10px;
  background: rgba(5, 9, 14, 0.72);
  color: var(--w-ink-soft);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.w-login__close:hover {
  color: var(--w-ink);
  border-color: rgba(207, 207, 207, 0.4);
}

.w-login__frame {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent !important;
  color-scheme: normal;
  display: block;
}

@media (max-width: 520px) {
  .w-login {
    padding: 0;
    align-items: end;
  }

  .w-login__dialog {
    width: 100vw;
    height: min(92svh, 780px);
    border-radius: 18px 18px 0 0;
  }
}

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

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

  .w-cosmos__video,
  .w-original__still img,
  .w-arrow,
  .w-hero__cue-line,
  .w-step,
  .w-cap,
  .w-crew__card,
  .w-brand__orb,
  .w-hero__o,
  .w-hero__o-orb,
  .w-manifesto__mark,
  .w-nav__enter-dot,
  .w-login__scrim,
  .w-login__dialog {
    transition: none !important;
    animation: none !important;
  }
}
