/* ==========================================================================
   MiniXok — 设计系统
   开源。开放 AI。向所有人开放。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 字体（自托管）
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo Black";
  src: url("/assets/fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. 设计变量
   -------------------------------------------------------------------------- */
:root {
  --brand-blue: #2948ff;
  --brand-ink: #101522;
  --brand-white: #ffffff;
  --brand-warm: #f7f6f2;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.55s;

  --step-0: 1rem;
  --step-1: clamp(1.05rem, 1.05vw + 0.78rem, 1.2rem);
  --step-2: clamp(1.35rem, 1.6vw + 0.9rem, 1.85rem);
  --step-3: clamp(1.8rem, 2.6vw + 1rem, 3.1rem);
  --step-4: clamp(2.3rem, 4.2vw + 1rem, 4.4rem);

  --radius-pill: 999px;
  --radius-card: 16px;
}

:root,
[data-theme="light"] {
  color-scheme: light;

  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #efede6;

  --ink: #101522;
  --ink-2: #475569;
  --ink-3: #5f6877;

  --line: rgba(16, 21, 34, 0.13);
  --line-strong: rgba(16, 21, 34, 0.22);

  --accent: #2948ff;
  --accent-hover: #1735d4;
  --accent-ink: #ffffff;
  --accent-text: #2948ff;
  --focus: #2948ff;

  --band-bg: #101522;
  --band-ink: #ffffff;
  --band-ink-2: #b4bdcc;
  --band-line: rgba(255, 255, 255, 0.14);
  --band-accent: #8a9bff;

  --shadow-nav: 0 18px 40px -30px rgba(16, 21, 34, 0.55);
  --glow: rgba(41, 72, 255, 0.16);
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #101522;
  --surface: #151b28;
  --surface-2: #0b0f18;

  --ink: #f7f6f2;
  --ink-2: #b7c0d0;
  --ink-3: #8d98ab;

  --line: rgba(247, 246, 242, 0.14);
  --line-strong: rgba(247, 246, 242, 0.24);

  --accent: #2948ff;
  --accent-hover: #4d67ff;
  --accent-ink: #ffffff;
  --accent-text: #9aa9ff;
  --focus: #9fb0ff;

  --band-bg: #f7f6f2;
  --band-ink: #101522;
  --band-ink-2: #475569;
  --band-line: rgba(16, 21, 34, 0.14);
  --band-accent: #2948ff;

  --shadow-nav: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
  --glow: rgba(41, 72, 255, 0.26);
}

/* --------------------------------------------------------------------------
   3. 基础样式
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg);
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--step-1);
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color var(--dur) var(--ease-soft),
    color var(--dur) var(--ease-soft);
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

img {
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brand-blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

:where(a, button, input, textarea):focus:not(:focus-visible) {
  outline: none;
}

html {
  scrollbar-color: var(--line-strong) var(--bg);
  caret-color: var(--accent);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--bg);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

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

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* 品牌标识 */
.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.logo--for-dark-bg {
  display: none;
}

[data-theme="dark"] .logo--for-light-bg {
  display: none;
}

[data-theme="dark"] .logo--for-dark-bg {
  display: block;
}

/* 反色区块会切换使用正确的标识版本 */
[data-theme="light"] .band .logo--for-light-bg {
  display: none;
}

[data-theme="light"] .band .logo--for-dark-bg {
  display: block;
}

[data-theme="dark"] .band .logo--for-dark-bg {
  display: none;
}

[data-theme="dark"] .band .logo--for-light-bg {
  display: block;
}

/* --------------------------------------------------------------------------
   4. 页头
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background-color: transparent;
  transition: background-color 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease-soft);
}

.site-header.is-scrolled {
  background-color: var(--bg);
  background-color: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--shadow-nav);
}

.site-header.is-open {
  background-color: var(--bg);
  box-shadow: var(--shadow-nav);
}

.nav-shell {
  width: 100%;
  max-width: var(--shell);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__word {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}

.brand__word span {
  color: var(--accent-text);
}

.nav {
  justify-self: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link .icon {
  width: 11px;
  height: 11px;
  opacity: 0.55;
}

.nav-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--ink);
  background: var(--line);
}

.theme-toggle .icon {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.theme-toggle {
  display: grid;
  place-items: center;
}

.icon--sun {
  opacity: 0;
  transform: rotate(-45deg) scale(0.7);
}

.icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="dark"] .icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="dark"] .icon--moon {
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
}

.menu-toggle {
  display: none;
}

.menu-toggle .icon {
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.menu-toggle .icon--close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.site-header.is-open .icon--menu {
  opacity: 0;
  transform: rotate(90deg);
}

.site-header.is-open .icon--close {
  opacity: 1;
  transform: rotate(0);
}

/* --------------------------------------------------------------------------
   5. 通用文字、按钮与链接
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.35s var(--ease);
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.4s var(--ease);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn:active {
  transform: scale(0.975);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--light {
  background: var(--brand-white);
  color: var(--brand-ink);
}

.btn--light:hover {
  background: #e8e6df;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
}

.link-arrow__label {
  position: relative;
}

.link-arrow__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.link-arrow:hover .link-arrow__label::after {
  transform: scaleX(1);
}

.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.section-title {
  font-size: var(--step-3);
}

.section-desc {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. 首屏
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vh, 64px));
  padding-bottom: clamp(20px, 4vh, 44px);
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  top: clamp(14%, 20vh, 26%);
  left: 50%;
  width: min(92vw, 860px);
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(
    circle at center,
    var(--glow) 0%,
    rgba(41, 72, 255, 0) 62%
  );
  pointer-events: none;
}

.hero__inner {
  width: 100%;
  max-width: 1120px;
  margin: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__parallax {
  will-change: transform;
}

.hero__mark {
  position: relative;
  width: clamp(180px, min(17vw, 24vh), 270px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: clamp(10px, 2vh, 28px);
}

.hero__mark::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--glow) 0%,
    rgba(41, 72, 255, 0) 70%
  );
  filter: blur(6px);
}

.hero__mark img {
  position: relative;
  width: 84%;
  height: 84%;
  object-fit: contain;
  animation: mark-float 9s ease-in-out infinite;
}

.hero__ring {
  position: absolute;
  inset: 4%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hero__ring--inner {
  inset: 17%;
  border-color: var(--line);
  opacity: 0.7;
}

.hero__orbit {
  position: absolute;
  inset: 0;
  animation: spin 34s linear infinite;
}

.hero__orbit span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(41, 72, 255, 0.1);
}

.hero__title {
  font-size: clamp(3.5rem, min(8.4vw, 11vh), 7.5rem);
  line-height: 0.93;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.075em;
  margin-bottom: -0.075em;
}

.hero__title .line > span {
  display: block;
  transform-origin: center bottom;
  animation: line-up 1.05s var(--ease) both;
}

.hero__title .line:nth-child(1) > span {
  animation-delay: 0.16s;
}

.hero__title .line:nth-child(2) > span {
  animation-delay: 0.25s;
}

.hero__title .line:nth-child(3) > span {
  animation-delay: 0.34s;
}

.hero__lead {
  max-width: 54ch;
  margin-top: clamp(18px, 3vh, 30px);
  color: var(--ink-2);
  font-size: clamp(1rem, 1.05vw + 0.76rem, 1.16rem);
  line-height: 1.6;
  animation: rise-in 0.9s var(--ease) 0.52s both;
}

.hero__actions {
  margin-top: clamp(24px, 3.6vh, 38px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  animation: rise-in 0.9s var(--ease) 0.64s both;
}

.hero__foot {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  min-height: 44px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  animation: rise-in 1s var(--ease) 0.9s both;
}

.hero__meta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: flex-end;
  color: var(--ink-3);
}

.scroll-cue__rail {
  position: relative;
  width: 1px;
  height: 38px;
  background: var(--line);
  overflow: hidden;
}

.scroll-cue__rail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 14px;
  background: var(--accent);
  animation: rail-drop 2.4s var(--ease-soft) infinite;
}

.scroll-cue:hover {
  color: var(--ink);
}

/* 首屏滚动视差由 JS 按需启用 */
html.has-parallax .hero__parallax {
  transform: translate3d(0, calc(var(--hp, 0) * 88px), 0);
}

html.has-parallax .hero__copy {
  transform: translate3d(0, calc(var(--hp, 0) * 46px), 0);
  opacity: calc(1 - var(--hp, 0) * 1.08);
}

.hero__copy {
  will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   7. 使命
   -------------------------------------------------------------------------- */
.mission {
  padding-top: clamp(96px, 13vw, 200px);
  padding-bottom: clamp(96px, 13vw, 190px);
}

.mission__statement {
  max-width: 1120px;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 3.9vw, 3.55rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--ink);
}

.mission__statement .word {
  transition: opacity 0.55s var(--ease-soft);
}

html.scrub-ready .mission__statement .word {
  opacity: 0.5;
}

html.scrub-ready .mission__statement .word.is-on {
  opacity: 1;
}

.mission__note {
  max-width: 54ch;
  margin-top: clamp(32px, 4vw, 56px);
  margin-left: auto;
  color: var(--ink-2);
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.08rem);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. 价值观
   -------------------------------------------------------------------------- */
.values {
  background: var(--surface);
  padding-block: clamp(96px, 12vw, 184px);
  transition: background-color var(--dur) var(--ease-soft);
}

.values__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}

.values__aside {
  position: sticky;
  top: calc(var(--nav-h) + 44px);
  align-self: start;
}

.values__title {
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 8ch;
}

.values__index {
  margin-top: clamp(30px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.values__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding-block: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.4s var(--ease);
}

.values__link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.values__link:hover,
.values__link.is-active {
  color: var(--ink);
}

.values__link.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.values__list {
  display: flex;
  flex-direction: column;
}

.value {
  display: grid;
  grid-template-columns: clamp(34px, 3.4vw, 54px) minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 22px);
  padding-block: clamp(44px, 5.2vw, 76px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.value:first-child {
  border-top: 0;
  padding-top: 0;
}

.value:last-child {
  padding-bottom: 0;
}

.value__num {
  padding-top: 0.42em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  transition: color 0.4s var(--ease);
}

.value:hover .value__num {
  color: var(--accent-text);
}

.value__title {
  font-size: clamp(1.55rem, 2.1vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.value__body {
  max-width: 48ch;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.08rem);
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   9. 项目区（反色区块）
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  background: var(--band-bg);
  color: var(--band-ink);
  transition: background-color var(--dur) var(--ease-soft),
    color var(--dur) var(--ease-soft);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: color-mix(in srgb, var(--band-ink) 12%, transparent);
  pointer-events: none;
  z-index: 0;
}

.projects__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(130px, 17vw, 220px);
}

.projects__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.projects__title {
  font-size: var(--step-3);
  color: var(--band-ink);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--band-ink-2);
}

.status__dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--band-accent);
}

.status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--band-accent);
  border-radius: 50%;
  opacity: 0;
  animation: status-ping 2.8s var(--ease-soft) infinite;
}

.projects__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.projects__statement {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--band-ink);
  text-wrap: balance;
}

.projects__body {
  max-width: 53ch;
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--band-ink-2);
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.08rem);
  line-height: 1.68;
}

.projects__manifest {
  margin-top: clamp(28px, 3.4vw, 42px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.projects__manifest li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--band-ink);
}

.projects__manifest li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--band-accent);
}

.projects__actions {
  margin-top: clamp(34px, 4vw, 52px);
}

.projects__actions .btn {
  background: var(--brand-blue);
  color: #fff;
}

.projects__actions .btn:hover {
  background: #1735d4;
}

.projects__actions .btn .icon {
  width: 18px;
  height: 18px;
}

.projects__actions .btn:hover .icon {
  transform: none;
}

/* 轨道状态图形 */
.orb {
  position: relative;
  width: min(100%, 500px);
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orb__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: spin 60s linear infinite;
}

.orb__rings circle {
  fill: none;
  stroke: var(--band-line);
  stroke-width: 1;
}

.orb__rings .orb__arc {
  stroke: var(--band-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.orb__rotor {
  position: absolute;
  inset: 6.2%;
  animation: spin 22s linear infinite reverse;
}

.orb__rotor span {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--band-accent);
}

.orb__mark {
  position: relative;
  width: 46%;
  aspect-ratio: 1;
  animation: mark-float 11s ease-in-out infinite;
}

.orb__mark::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--band-accent) 22%, transparent) 0%,
    transparent 68%
  );
}

.orb__mark img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   10. 最新动态 / 时间线
   -------------------------------------------------------------------------- */
.latest {
  padding-block: clamp(96px, 13vw, 190px);
}

.latest__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.latest__head {
  position: sticky;
  top: calc(var(--nav-h) + 44px);
}

.timeline {
  position: relative;
  padding-left: 42px;
  padding-top: 6px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}

.timeline.timeline-anim::before {
  transform: scaleY(0);
  transition: transform 1.3s var(--ease) 0.08s;
}

.timeline.timeline-anim.is-in::before {
  transform: scaleY(1);
}

.timeline__item {
  position: relative;
}

.timeline__item + .timeline__item {
  padding-top: clamp(44px, 6vw, 72px);
}

.timeline__marker {
  position: absolute;
  left: -45px;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px var(--bg);
}

.timeline.timeline-anim .timeline__marker {
  transform: scale(0);
  transition: transform 0.7s var(--ease) 0.55s;
}

.timeline.timeline-anim.is-in .timeline__marker {
  transform: scale(1);
}

.timeline__date {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-text);
}

.timeline__text {
  max-width: 30ch;
  margin-top: 18px;
  font-size: clamp(1.2rem, 1.3vw + 0.9rem, 1.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   11. 关于页
   -------------------------------------------------------------------------- */
.about-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 10vh, 120px));
  padding-bottom: clamp(64px, 9vw, 130px);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
}

.about-hero__title {
  font-size: clamp(3.2rem, min(7.2vw, 10vh), 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  animation: rise-in 1s var(--ease) 0.12s both;
}

.about-hero__lead {
  max-width: 44ch;
  margin-top: clamp(22px, 3vw, 34px);
  color: var(--ink-2);
  font-size: clamp(1.08rem, 0.55vw + 0.95rem, 1.32rem);
  line-height: 1.6;
  animation: rise-in 1s var(--ease) 0.24s both;
}

.about-hero__mark {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1;
  margin-left: auto;
  display: grid;
  place-items: center;
}

.about-hero__mark .hero__ring {
  inset: 2%;
}

.about-hero__mark .hero__ring--inner {
  inset: 18%;
}

.about-hero__mark img {
  position: relative;
  width: 55%;
  height: 55%;
  animation: mark-float 10s ease-in-out infinite;
}

.about-hero__mark .hero__orbit {
  animation-duration: 40s;
}

.chapter {
  padding-block: clamp(64px, 8vw, 108px);
}

.chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}

.chapter__label {
  position: sticky;
  top: calc(var(--nav-h) + 44px);
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
  letter-spacing: -0.03em;
  max-width: 10ch;
}

.chapter__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 66ch;
}

.chapter__body p {
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.35vw + 0.94rem, 1.12rem);
  line-height: 1.72;
}

.chapter__body strong {
  color: var(--ink);
  font-weight: 600;
}

.chapter--surface {
  background: var(--surface);
  transition: background-color var(--dur) var(--ease-soft);
  padding-block: clamp(72px, 9vw, 120px);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: clamp(38px, 4vw, 54px);
}

.about-value {
  position: relative;
  padding-left: 26px;
}

.about-value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.about-value h3 {
  font-size: clamp(1.35rem, 1.4vw + 1rem, 1.9rem);
  letter-spacing: -0.025em;
}

.about-value p {
  max-width: 58ch;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.68;
}

.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.audience__item {
  position: relative;
  padding-top: 22px;
}

.audience__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: var(--accent);
}

.audience__item h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.audience__item p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-close {
  padding-block: clamp(80px, 11vw, 160px);
}

.about-close__statement {
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.about-close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 36px;
  margin-top: clamp(26px, 3vw, 38px);
}

/* --------------------------------------------------------------------------
   12. 404 页面
   -------------------------------------------------------------------------- */
.notfound {
  min-height: 72vh;
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: clamp(72px, 10vw, 140px);
  text-align: center;
}

.notfound__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 26vw, 19rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--accent);
  animation: rise-in 0.9s var(--ease) 0.1s both;
}

.notfound__title {
  margin-top: clamp(24px, 4vw, 42px);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.notfound__desc {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1.02rem;
}

.notfound__actions {
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   13. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-2);
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(28px, 4vw, 44px);
  transition: background-color var(--dur) var(--ease-soft);
}

.footer__tagline {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.footer__mark {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 15.4vw, 13.2rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: opacity 0.4s var(--ease);
}

.footer__mark span {
  color: var(--accent);
}

.footer__mark:hover {
  opacity: 0.76;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: clamp(28px, 4vw, 40px);
}

.footer__mission {
  max-width: 38ch;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}

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

.footer__nav .icon {
  width: 10px;
  height: 10px;
  opacity: 0.55;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer__meta p:first-child {
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   14. 入场与显现动画
   -------------------------------------------------------------------------- */
.reveal-init {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal-init.is-in {
  opacity: 1;
  transform: none;
}

@keyframes line-up {
  from {
    transform: translate3d(0, 112%, 0) rotate(1.5deg);
  }
  to {
    transform: none;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mark-float {
  0%,
  100% {
    transform: translate3d(0, -3px, 0);
  }
  50% {
    transform: translate3d(0, 5px, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rail-drop {
  0% {
    transform: translateY(-14px);
  }
  55%,
  100% {
    transform: translateY(38px);
  }
}

@keyframes status-ping {
  0% {
    opacity: 0.55;
    transform: scale(0.8);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

/* --------------------------------------------------------------------------
   15. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .values__grid,
  .latest__grid,
  .about-hero__grid {
    grid-template-columns: 1fr;
  }

  .values__aside,
  .latest__head {
    position: static;
  }

  .values__index {
    display: none;
  }

  .values__title {
    max-width: none;
  }

  .value {
    min-height: 0;
    padding-block: clamp(36px, 6vw, 56px);
  }

  .value:first-child {
    padding-top: 0;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vw, 80px);
  }

  .orb {
    width: min(100%, 420px);
  }

  .projects__visual {
    order: 2;
  }

  .projects__copy {
    order: 1;
  }

  .chapter__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .chapter__label {
    position: static;
    max-width: none;
  }

  .about-hero__mark {
    margin-left: 0;
    width: min(100%, 250px);
    order: -1;
  }
}

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

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

  .nav {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: 100%;
    justify-self: stretch;
    display: none;
    padding: 8px var(--gutter) 36px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
  }

  .nav.is-open {
    display: block;
    animation: menu-in 0.4s var(--ease) both;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    min-height: 68px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    letter-spacing: -0.03em;
    color: var(--ink);
    border-top: 1px solid var(--line);
  }

  .nav__list li:first-child .nav__link {
    border-top: 0;
  }

  .nav__link .icon {
    width: 16px;
    height: 16px;
    margin-left: auto;
    opacity: 0.7;
  }

  .nav__link[aria-current="page"] {
    color: var(--accent-text);
  }

  .nav__link::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 34px);
  }

  .hero__mark {
    width: clamp(196px, 34vw, 250px);
  }

  .hero__foot {
    justify-content: center;
    text-align: center;
  }

  .hero__meta {
    display: none;
  }

  .scroll-cue {
    opacity: 0.85;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero__inner {
    padding-inline: var(--gutter);
  }

  .hero__title {
    font-size: clamp(3.1rem, 12.6vw, 4.5rem);
  }

  .hero__lead {
    max-width: 34ch;
  }

  .hero__actions {
    gap: 4px 22px;
  }

  .hero__actions .btn {
    min-height: 50px;
    padding: 0 24px;
  }

  .projects__head {
    align-items: center;
  }

  .projects__statement {
    max-width: 16ch;
  }

  .latest__grid {
    gap: 32px;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline__marker {
    left: -35px;
  }

  .audience {
    grid-template-columns: 1fr;
  }

  .notfound {
    padding-top: calc(var(--nav-h) + 48px);
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: clamp(2.5rem, 12.4vw, 4.5rem);
  }
}

@media (max-width: 520px) {
  .values,
  .chapter--surface {
    padding-block: 80px;
  }

  .value {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 38px;
  }

  .value__num {
    padding-top: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__meta {
    grid-column: auto;
  }

  .projects__manifest {
    gap: 8px 22px;
  }

  .hero__foot {
    padding-bottom: 6px;
  }
}

@media (max-height: 720px) and (min-width: 861px) {
  .hero__mark {
    width: clamp(170px, 18vw, 220px);
    margin-bottom: 4px;
  }

  .hero__title {
    font-size: clamp(3.2rem, min(7.4vw, 10.4vh), 6.4rem);
  }

  .hero__lead {
    margin-top: 16px;
  }

  .hero__actions {
    margin-top: 22px;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   16. 减少动态效果
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__title .line > span,
  .hero__lead,
  .hero__actions,
  .hero__foot {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .hero__mark img,
  .orb__mark,
  .about-hero__mark img,
  .scroll-cue__rail::after,
  .status__dot::after,
  .orb__rings,
  .orb__rotor,
  .hero__orbit {
    animation: none !important;
  }

  html.has-parallax .hero__parallax,
  html.has-parallax .hero__copy {
    transform: none;
    opacity: 1;
  }

  .reveal-init,
  .reveal-init.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .timeline.timeline-anim::before,
  .timeline.timeline-anim.is-in::before,
  .timeline.timeline-anim .timeline__marker,
  .timeline.timeline-anim.is-in .timeline__marker {
    transform: none;
    transition: none;
  }

  html.scrub-ready .mission__statement .word {
    opacity: 1;
  }
}

/* 打印样式 */
@media print {
  .site-header,
  .scroll-cue,
  .hero__orbit,
  .hero__glow,
  .orb {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .band {
    background: #fff;
    color: #000;
  }
}
