/* =========================================================
   长城新媒体 OPC 社区 · 官网样式
   ========================================================= */

:root {
  --paper: #f5f2ec;
  --paper-2: #ece7dd;
  --paper-3: #e4ded2;
  --ink: #121110;
  --ink-2: #2a2724;
  --ink-3: #4a453f;
  --muted: #7b746b;
  --line: rgba(18, 17, 16, 0.14);
  --line-soft: rgba(18, 17, 16, 0.08);
  --red: #d8232a;
  --red-deep: #a8161c;
  --gold: #a9833f;
  --white: #fdfcf9;
  --maxw: 1240px;
  --radius: 20px;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--red); color: var(--white); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  position: relative;
  padding: 120px 0;
}

/* ---------- 通用标题 ---------- */
.section-head { margin-bottom: 64px; }

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 26px;
}

.section-index span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.section-title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-lead {
  margin-top: 22px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-3);
}

.section-head--row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 60px;
}

.section-head--row .section-lead {
  margin-top: 0;
  padding-bottom: 8px;
  justify-self: end;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.text-link:hover { color: var(--red); border-color: var(--red); gap: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 30px;
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(18, 17, 16, 0.5);
}

.btn-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(216, 35, 42, 0.6);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(18, 17, 16, 0.04);
  transform: translateY(-2px);
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1001;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(245, 242, 236, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-mark svg { width: 28px; height: 28px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-text strong em {
  font-style: normal;
  color: var(--red);
}
.brand-text small {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-label { display: none; }

.nav > a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.3s var(--ease);
}

.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.35s var(--ease);
}

.nav > a:hover { color: var(--ink); }
.nav > a:hover::after, .nav > a.is-active::after { width: 100%; }
.nav > a.is-active { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 40px;
  background: var(--ink);
  color: var(--white) !important;
  font-size: 13.5px !important;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--red); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1002;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }

.nav-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 68px);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 25%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 80%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(216, 35, 42, 0.16) 0%, rgba(216, 35, 42, 0.05) 42%, transparent 68%);
  filter: blur(10px);
}

.hero-word {
  position: absolute;
  right: -2%;
  bottom: -9%;
  font-family: var(--font-sans);
  font-size: clamp(260px, 34vw, 560px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(18, 17, 16, 0.07);
  user-select: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 50px;
  min-height: 600px;
  padding-bottom: 70px;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 30px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(216, 35, 42, 0.14);
  animation: pulse 2.6s infinite;
}

.eyebrow-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(216, 35, 42, 0.14); }
  50% { box-shadow: 0 0 0 8px rgba(216, 35, 42, 0.04); }
}

.hero h1 {
  font-size: clamp(46px, 6.1vw, 82px);
  line-height: 1.14;
  font-weight: 750;
  letter-spacing: -0.035em;
  margin-bottom: 30px;
}

.hero h1 .hl {
  position: relative;
  color: var(--red);
  display: inline-block;
  padding: 0 0.06em;
}

.hero h1 .hl svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.28em;
  color: var(--red);
  opacity: 0.55;
}

.hero-desc {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-3);
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

/* Hero 视觉 */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orb-wrap {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.ring-1 { inset: 0; border-style: dashed; animation: spin 60s linear infinite; }
.ring-2 { inset: 9%; border-color: rgba(216, 35, 42, 0.22); }
.ring-3 { inset: 19%; border-color: var(--line-soft); }

@keyframes spin { to { transform: rotate(360deg); } }

.orb-spin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 40s linear infinite;
}

.orb-spin text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
}

.orb-core {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(216, 35, 42, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 70% 82%, rgba(169, 131, 63, 0.28) 0%, transparent 50%),
    var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(18, 17, 16, 0.55), inset 0 0 60px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.orb-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.orb-kicker {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.24em;
  color: rgba(253, 252, 249, 0.55);
  margin-bottom: 4px;
}

.orb-core strong {
  font-size: clamp(52px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.orb-cn {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(253, 252, 249, 0.72);
  margin-top: 8px;
}

.orb-line {
  width: 34px;
  height: 1px;
  background: var(--red);
  margin: 14px 0 10px;
}

.orb-year {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: rgba(253, 252, 249, 0.45);
}

.float-chip {
  position: absolute;
  padding: 8px 14px;
  background: rgba(253, 252, 249, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  box-shadow: 0 12px 26px -18px rgba(18, 17, 16, 0.4);
  animation: floaty 6s ease-in-out infinite;
}

.chip-1 { top: 7%; left: 4%; }
.chip-2 { top: 30%; right: -8%; animation-delay: -1.4s; }
.chip-3 { bottom: 20%; left: -9%; animation-delay: -2.8s; }
.chip-4 { bottom: 5%; right: 6%; animation-delay: -4.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 30px 28px 38px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-soft); }

.stat-num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.stat-label {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- 跑马灯 ---------- */
.marquee {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  padding: 15px 0;
  margin-top: 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.marquee i {
  font-style: normal;
  font-size: 8px;
  opacity: 0.62;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 关于 ---------- */
.about .section-head { max-width: 860px; }

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
  padding-bottom: 80px;
}

.about-note {
  position: relative;
  align-self: start;
  padding: 34px 0 0 34px;
  border-left: 2px solid var(--red);
}

.quote-mark {
  position: absolute;
  top: -6px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--red);
  opacity: 0.28;
}

.about-note > p {
  font-size: 19px;
  line-height: 1.85;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.about-note strong {
  color: var(--red);
  font-weight: 600;
  position: relative;
}

.about-note footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.note-line { width: 32px; height: 1px; background: var(--line); }

.about-text p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-3);
}

.about-text p + p { margin-top: 18px; }

.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.value-tags span {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 12.5px;
  color: var(--ink-3);
  transition: all 0.3s var(--ease);
}

.value-tags span:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* 1+N 模型 */
.model {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
}

.model-one, .model-n {
  display: flex;
  gap: 26px;
  padding: 46px;
}

.model-one {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.model-one::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 35, 42, 0.4), transparent 68%);
}

.model-n {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-left: none;
}

.model-label {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--red);
  flex-shrink: 0;
}

.model-one .model-label { color: #ef5a5f; }

.model-one h3, .model-n h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.model-one p, .model-n p {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(253, 252, 249, 0.68);
  max-width: 340px;
}

.model-n p { color: var(--ink-3); }

.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.model-list li {
  font-size: 11.5px;
  padding: 5px 12px;
  border: 1px solid rgba(253, 252, 249, 0.2);
  border-radius: 30px;
  color: rgba(253, 252, 249, 0.78);
}

.model-n .model-list li { border-color: var(--line); color: var(--ink-3); }

.model-connector {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.model-connector span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.3;
}
.model-connector span:nth-child(2) { opacity: 0.7; }
.model-connector span:nth-child(3) { opacity: 1; }

/* ---------- OPC资源库 ---------- */
.opc-resources { background: var(--paper-2); }

.plaza-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.plaza-tab {
  padding: 11px 28px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  transition: all 0.3s var(--ease);
}

.plaza-tab:hover { border-color: var(--ink); color: var(--ink); }

.plaza-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.plaza-tab-count {
  margin-left: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.6;
}

.plaza-panel { display: none; }
.plaza-panel.is-active { display: block; }

.plaza-filters { margin-bottom: 36px; }

.plaza-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.plaza-filter-label {
  flex-shrink: 0;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.plaza-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plaza-filter {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 12.5px;
  color: var(--ink-3);
  transition: all 0.3s var(--ease);
}

.plaza-filter:hover { border-color: var(--ink); color: var(--ink); }

.plaza-filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.plaza-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin-bottom: 24px;
}

.plaza-city {
  flex-shrink: 0;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: transparent;
  color: var(--ink-3);
  font-size: 13px;
  cursor: pointer;
}

.plaza-city:hover { border-color: var(--ink); color: var(--ink); }

.plaza-search {
  flex: 1;
  min-width: 0;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.plaza-search::placeholder { color: var(--muted); letter-spacing: 0.02em; }

.plaza-empty {
  padding: 52px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink-3);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.plaza-more {
  margin: 24px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.plaza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 16px;
}

.people-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.people-card:hover { border-color: var(--ink); transform: translateY(-3px); }

.people-card.is-hidden { display: none; }

.people-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.people-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  flex-shrink: 0;
}

.people-id { min-width: 0; flex: 1; }

.people-id h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.people-alias {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.people-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}

.people-badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--red);
  white-space: nowrap;
}

.people-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
}

.people-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.people-tags span {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper-2);
  font-size: 11px;
  color: var(--ink-3);
}

.people-works { padding-top: 2px; }

.people-works-label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.people-works p {
  margin: 0 0 7px;
  font-size: 13px;
  color: var(--ink);
}

.people-works a {
  font-size: 12px;
  color: var(--red);
  text-decoration: none;
}

.people-works a:hover { text-decoration: underline; }

.people-foot { margin-top: auto; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
  gap: 14px;
}

.case-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.case-card:hover { border-color: var(--ink); transform: translateY(-2px); }

.case-card.is-hidden { display: none; }

.case-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

.case-body { min-width: 0; flex: 1; }

.case-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.case-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.case-tag {
  flex-shrink: 0;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper-2);
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: right;
}

.case-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

.case-subhead {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
}

.case-subhead span {
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.case-subhead.is-hidden { display: none; }

/* ---------- 生态布局（深色） ---------- */
.dark {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.dark::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 35, 42, 0.18), transparent 65%);
  pointer-events: none;
}

.dark .section-index { color: rgba(253, 252, 249, 0.45); }
.dark .section-index span { border-color: rgba(253, 252, 249, 0.2); color: #ef5a5f; }
.dark .section-lead { color: rgba(253, 252, 249, 0.58); }

.city-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.city-card {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(253, 252, 249, 0.13);
  border-radius: var(--radius);
  background: rgba(253, 252, 249, 0.025);
  display: flex;
  flex-direction: column;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
  overflow: hidden;
}

.city-card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 35, 42, 0.2), transparent 66%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.city-card:hover {
  border-color: rgba(216, 35, 42, 0.5);
  transform: translateY(-5px);
}
.city-card:hover::before { opacity: 1; }

.city-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 38px;
  position: relative;
  z-index: 1;
}

.city-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  border: 1px solid rgba(253, 252, 249, 0.25);
  border-radius: 30px;
  color: rgba(253, 252, 249, 0.75);
}

.city-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(253, 252, 249, 0.35);
}

.city-card h3 {
  position: relative;
  z-index: 1;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.city-en {
  position: relative;
  z-index: 1;
  margin: 8px 0 20px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(253, 252, 249, 0.4);
}

.city-desc {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(253, 252, 249, 0.6);
  max-width: 460px;
}

.city-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 30px;
}

.city-tags li {
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(253, 252, 249, 0.07);
  color: rgba(253, 252, 249, 0.72);
}

.city-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(253, 252, 249, 0.3);
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}

.city-link:hover { color: #ef5a5f; border-color: #ef5a5f; gap: 14px; }

.city-card--more {
  justify-content: space-between;
  background: linear-gradient(140deg, rgba(216, 35, 42, 0.16), rgba(253, 252, 249, 0.02));
  border-color: rgba(216, 35, 42, 0.3);
}

.city-card--more .city-status { align-self: flex-start; }

.city-card--more h3 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin: 26px 0 18px;
}

.city-card--more .city-desc { color: rgba(253, 252, 249, 0.66); }
.city-card--more .city-status { border-color: rgba(239, 90, 95, 0.5); color: #ef5a5f; }

.partners {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(253, 252, 249, 0.12);
  align-items: center;
}

.partners-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(253, 252, 249, 0.4);
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}

.partners-list span {
  font-size: 13px;
  color: rgba(253, 252, 249, 0.62);
  transition: color 0.3s;
}
.partners-list span:hover { color: var(--white); }

/* ---------- 赋能 ---------- */
.empower-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.empower-card {
  position: relative;
  padding: 42px 36px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.45s var(--ease);
  overflow: hidden;
}

.empower-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.empower-card:hover { background: rgba(255, 255, 255, 0.55); }
.empower-card:hover::after { transform: scaleX(1); }

.empower-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 34px;
}

.empower-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.empower-icon {
  font-size: 20px;
  color: var(--red);
  transition: transform 0.5s var(--ease);
}

.empower-card:hover .empower-icon { transform: rotate(90deg); }

.empower-card h3 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.empower-card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-3);
  min-height: 76px;
}

.empower-tag {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
}

/* ---------- AI工具库 ---------- */
.resources { background: var(--paper-2); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13px;
  color: var(--ink-3);
  transition: all 0.3s var(--ease);
}

.filter:hover { border-color: var(--ink); color: var(--ink); }

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s, opacity 0.35s;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 24px 44px -30px rgba(18, 17, 16, 0.35);
}

.tool-card.is-hidden {
  display: none;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.icon-red { background: linear-gradient(140deg, #d8232a, #961116); }
.icon-blue { background: linear-gradient(140deg, #2f5bd6, #1a2f74); }
.icon-violet { background: linear-gradient(140deg, #6b4bd6, #35206e); }
.icon-ink { background: linear-gradient(140deg, #3b3833, #121110); }
.icon-cyan { background: linear-gradient(140deg, #1f8f96, #0e4a50); }
.icon-gold { background: linear-gradient(140deg, #bb8b3c, #7a561d); }

.tool-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
}

.tool-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-body p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

.tool-arrow {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: 15px;
  color: var(--muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.35s var(--ease);
}

.tool-card:hover .tool-arrow { opacity: 1; transform: translate(0, 0); color: var(--red); }

.resource-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.resource-foot p { font-size: 12.5px; color: var(--muted); }

/* ---------- 知识库 ---------- */
.insight-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
}

.featured-article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.featured-article:hover { border-color: var(--ink); transform: translateY(-4px); }

.cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--white);
}

.cover-1 {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, #d8232a 0%, #8a1015 62%, #2a0a0c 100%);
}

.cover-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 30px;
}

.cover-num {
  position: absolute;
  right: 24px;
  bottom: 6px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: clamp(80px, 12vw, 150px);
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: -0.06em;
}

.cover-art { position: absolute; inset: 0; }

.ca-ring {
  position: absolute;
  left: 10%;
  top: 50%;
  width: 260px;
  height: 260px;
  margin-top: -130px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.ca-ring-2 {
  left: 16%;
  width: 180px;
  height: 180px;
  margin-top: -90px;
  border-style: dashed;
}

.ca-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.1), 0 0 0 32px rgba(255, 255, 255, 0.06);
}

.featured-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}

.featured-body h3 {
  font-size: 25px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.featured-body h3 a { transition: color 0.3s; }
.featured-body h3 a:hover { color: var(--red); }

.featured-body > p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-3);
  margin-bottom: 26px;
}

.featured-body .text-link { margin-top: auto; align-self: flex-start; }

.article-list { display: flex; flex-direction: column; }

.article-item {
  position: relative;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}

.article-item:first-child { border-top: none; padding-top: 0; }
.article-item:last-child { padding-bottom: 0; }

.article-item:hover { padding-left: 10px; }

.article-cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.article-cover span {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: -0.05em;
}

.cover-2 { background: linear-gradient(145deg, #e0a640, #8a5a12); }
.cover-3 { background: linear-gradient(145deg, #46617e, #1d2e42); }
.cover-4 { background: linear-gradient(145deg, #5d6b45, #2b3320); }

.article-body h3 {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 8px;
}

.article-body h3 a { transition: color 0.3s; }
.article-body h3 a:hover { color: var(--red); }

.article-body p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-arrow {
  position: absolute;
  right: 0;
  top: 30px;
  font-size: 14px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.35s var(--ease);
}

.article-item:hover .article-arrow { opacity: 1; transform: none; color: var(--red); }

/* ---------- 动态 ---------- */
.events { background: var(--paper-2); }

.event-list { border-bottom: 1px solid var(--line); }

.event-row {
  display: grid;
  grid-template-columns: 108px 1fr 150px;
  align-items: center;
  gap: 34px;
  padding: 30px 20px 30px 0;
  border-top: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}

.event-row:hover { background: rgba(255, 255, 255, 0.45); padding-left: 18px; }

.event-date {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-date strong {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.event-date span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.event-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.event-type {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--red);
  padding: 3px 9px;
  border: 1px solid rgba(216, 35, 42, 0.3);
  border-radius: 30px;
}

.event-main h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.event-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.event-state {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.event-state.is-open { color: var(--red); }
.event-state.is-done { text-decoration: line-through; opacity: 0.6; }

.event-arrow {
  font-size: 16px;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.3s;
}

.event-row:hover .event-arrow { transform: translate(3px, -3px); color: var(--red); }

/* ---------- 入驻 ---------- */
.join { padding-bottom: 130px; }
.join .section-head { margin-bottom: 56px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 74px;
}

.step {
  position: relative;
  padding: 30px 30px 0 0;
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 26px;
}

.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 13px; line-height: 1.85; color: var(--muted); max-width: 230px; }

.join-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 50px 90px -60px rgba(18, 17, 16, 0.5);
}

.join-side {
  position: relative;
  background:
    radial-gradient(circle at 82% 8%, rgba(216, 35, 42, 0.4), transparent 46%),
    linear-gradient(160deg, #1c1a17, #0d0c0b 70%);
  color: var(--white);
  padding: 58px 50px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.join-side::after {
  content: "OPC";
  position: absolute;
  right: -20px;
  bottom: -50px;
  font-size: 190px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.join-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(253, 252, 249, 0.45);
  margin-bottom: 26px;
}

.join-side h3 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.join-desc {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(253, 252, 249, 0.6);
  margin-bottom: 36px;
  max-width: 330px;
}

.join-points { display: flex; flex-direction: column; gap: 14px; }

.join-points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  color: rgba(253, 252, 249, 0.78);
}

.join-points span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #ef5a5f;
}

.join-contact {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: rgba(253, 252, 249, 0.42);
}

.join-contact strong { font-size: 13.5px; color: rgba(253, 252, 249, 0.82); font-weight: 600; }

.join-form {
  position: relative;
  background: var(--white);
  padding: 54px 50px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field > span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.field > span em { color: var(--red); font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237b746b' fill='none' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
  cursor: pointer;
}

.field textarea { resize: vertical; min-height: 96px; line-height: 1.8; }

.field input::placeholder,
.field textarea::placeholder { color: #b3aca2; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.field .error {
  display: none;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.02em;
}

.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: var(--red); }
.field.is-invalid .error { display: block; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.7;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}

.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.check-error { margin-top: -16px; display: none; }
.check-error.is-visible { display: block; color: var(--red); font-size: 11px; }

.btn-submit { width: 100%; margin-top: 2px; }

.form-note { font-size: 11px; color: var(--muted); text-align: center; letter-spacing: 0.02em; }

.form-success[hidden] { display: none; }

.join-form.is-sent > *:not(.form-success) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.form-success {
  position: absolute;
  inset: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 3;
  animation: fadeUp 0.5s var(--ease);
}

.success-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 24px;
  margin-bottom: 22px;
}

.form-success h4 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.form-success p { font-size: 13.5px; color: var(--muted); max-width: 300px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- FAQ ---------- */
.faq { padding-top: 40px; }

.faq-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
}

.faq-head .section-title { margin-bottom: 28px; }
.faq-more { font-size: 13px; color: var(--muted); }
.faq-more .text-link { margin-left: 6px; font-size: 13px; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}

.faq-q:hover { color: var(--red); }

.faq-q i {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-q i::before,
.faq-q i::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.faq-q i::before { left: 0; top: 6.5px; width: 14px; height: 1px; }
.faq-q i::after { left: 6.5px; top: 0; width: 1px; height: 14px; }

.faq-item.is-open .faq-q i::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-a > p {
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-3);
}

.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > p { padding-bottom: 26px; max-width: 640px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(253, 252, 249, 0.7);
  padding: 74px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(253, 252, 249, 0.12);
}

.brand--footer .brand-text strong { color: var(--white); }
.brand--footer .brand-text small { color: rgba(253, 252, 249, 0.4); }
.brand--footer .brand-mark { background: var(--red); }

.footer-slogan {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(253, 252, 249, 0.5);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(253, 252, 249, 0.38);
  margin-bottom: 10px;
}

.footer-col a,
.footer-col span {
  font-size: 13px;
  color: rgba(253, 252, 249, 0.62);
  transition: color 0.3s;
  width: fit-content;
}

.footer-col a:hover { color: var(--white); }

.footer-word {
  font-size: clamp(120px, 24vw, 300px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(253, 252, 249, 0.1);
  text-align: center;
  padding: 30px 0 0;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(253, 252, 249, 0.1);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(253, 252, 249, 0.34);
}

.to-top { transition: color 0.3s; }
.to-top:hover { color: var(--white); }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -12px rgba(18, 17, 16, 0.5);
  transition: background 0.3s, transform 0.3s var(--ease), opacity 0.3s;
  opacity: 0;
  transform: translateY(10px);
}

.back-top[hidden] { display: none; }
.back-top.is-visible { opacity: 1; transform: none; }
.back-top:hover { background: var(--red); }

/* ---------- 进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .nav { gap: 22px; }
  .about-grid { gap: 50px; }
  .section-head--row { gap: 40px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
  .chip-2 { right: -2%; }
  .chip-3 { left: -2%; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .container { padding: 0 24px; }
  .section { padding: 90px 0; }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 90px 32px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0.5s;
    z-index: 1001;
  }

  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 22px;
  }

  .nav > a {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 10px 0;
    color: var(--ink);
  }

  .nav > a::after { display: none; }
  .nav .nav-cta { margin-top: 22px; font-size: 15px !important; height: 48px; padding: 0 26px; }

  .nav-toggle { display: block; }
  .nav-toggle.is-open span { background: var(--ink); }

  .hero { padding-top: calc(var(--header-h) + 52px); }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 60px; }
  .hero-visual { order: 2; margin-top: 26px; }
  .orb-wrap { width: min(360px, 88vw); }
  .hero-word { font-size: 52vw; bottom: auto; top: 6%; opacity: 0.7; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 20px 26px 0; }
  .stat + .stat { padding-left: 20px; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }

  .section-head--row { grid-template-columns: 1fr; gap: 0; }
  .section-head--row .section-lead { justify-self: start; margin-top: 20px; padding-bottom: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-note { position: static; }
  .model { grid-template-columns: 1fr; }
  .model-connector {
    flex-direction: row;
    padding: 16px 0;
    border-left: 1px solid var(--line-soft);
    border-right: 1px solid var(--line-soft);
    border-top: none;
    border-bottom: none;
  }
  .model-n { border-left: 1px solid var(--line-soft); }

  .city-grid { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; gap: 16px; }

  .empower-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid { grid-template-columns: 1fr 1fr; }

  .insight-grid { grid-template-columns: 1fr; gap: 44px; }
  .featured-article { max-width: 640px; }

  .event-row { grid-template-columns: 88px 1fr; gap: 22px; }
  .event-side { grid-column: 2; justify-content: flex-start; padding-top: 4px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 26px 26px 30px 0; }
  .step:nth-child(n+3) { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 30px; }

  .join-panel { grid-template-columns: 1fr; }
  .join-side { padding: 44px 36px; }
  .join-form { padding: 42px 36px; }
  .join-contact { margin-top: 32px; }

  .faq-inner { grid-template-columns: 1fr; gap: 30px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 74px 0; }
  .section-head { margin-bottom: 44px; }
  .section-title { font-size: clamp(30px, 8.4vw, 38px); }

  .plaza-tabs { gap: 8px; margin-bottom: 32px; }
  .plaza-tab { padding: 9px 20px; font-size: 13px; }
  .plaza-toolbar { flex-direction: column; align-items: stretch; max-width: none; }
  .plaza-filter-row { flex-direction: column; gap: 10px; }
  .plaza-filter-label { padding-top: 0; }

  .brand-text strong { font-size: 13px; }
  .brand-text small { font-size: 7.5px; }

  .hero h1 { font-size: clamp(38px, 11.5vw, 52px); }
  .hero-desc { font-size: 14.5px; }
  .hero-actions .btn { flex: 1; min-width: 150px; padding: 0 20px; }
  .hero-meta { font-size: 9.5px; gap: 9px; }
  .float-chip { font-size: 10px; padding: 6px 11px; }
  .chip-2 { right: 0; }
  .chip-3 { left: 0; }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 11px; }

  .about-note { padding-left: 24px; }
  .about-note > p { font-size: 17px; }
  .model-one, .model-n { padding: 30px; gap: 18px; flex-direction: column; }
  .model-one p, .model-n p { max-width: none; }
  .model-label { font-size: 42px; }
  .city-card { padding: 28px; }
  .city-card h3 { font-size: 36px; }

  .empower-grid { grid-template-columns: 1fr; }
  .empower-card { padding: 30px 26px; }
  .empower-card p { min-height: 0; }

  .tool-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .filter { padding: 8px 15px; font-size: 12px; }
  .resource-foot { flex-direction: column; align-items: flex-start; }

  .cover { aspect-ratio: 16 / 11; }
  .featured-body { padding: 24px; }
  .featured-body h3 { font-size: 21px; }
  .article-item { grid-template-columns: 84px 1fr; gap: 16px; padding: 22px 0; }
  .article-arrow { display: none; }
  .article-body h3 { font-size: 15.5px; }

  .event-row { grid-template-columns: 70px 1fr; gap: 16px; padding: 24px 0; }
  .event-date strong { font-size: 34px; }
  .event-date span { font-size: 8.5px; }
  .event-main h3 { font-size: 16px; line-height: 1.55; }
  .event-meta { flex-wrap: wrap; gap: 8px; font-size: 10.5px; }
  .event-side { gap: 14px; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 0 26px; border-top: 1px dashed var(--line); }
  .step:first-child { border-top: none; }
  .step:nth-child(n+3) { margin-top: 0; padding-top: 24px; }
  .step::before { display: none; }
  .step-num { margin-bottom: 10px; }
  .step p { max-width: none; }

  .join-side { padding: 36px 26px; }
  .join-side h3 { font-size: 30px; }
  .join-form { padding: 34px 24px; gap: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }

  .faq-q { font-size: 15px; padding: 21px 0; }

  .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { font-size: 9px; }
  .footer-word { font-size: 42vw; }

  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 合作方 ---------- */
.partner-section { background: var(--paper); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.3);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.partner-card:hover { border-color: var(--ink); transform: translateY(-4px); }

.partner-card--jd {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.partner-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.partner-card--jd .partner-role { color: rgba(253, 252, 249, 0.55); }

.partner-logo {
  margin: 30px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.partner-logo--xavvi {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.07em;
}

.partner-card p {
  margin-top: auto;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-3);
}

.partner-card--jd p { color: rgba(253, 252, 249, 0.68); }

.partner-card--more { border-style: dashed; background: transparent; }

.partner-card .text-link {
  align-self: flex-start;
  margin-top: 22px;
  font-size: 13px;
}

.partner-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.partner-step {
  padding: 28px;
  background: var(--paper);
}

.partner-step span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
}

.partner-step h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.partner-step p {
  font-size: 12.5px;
  color: var(--muted);
}

.partner-note {
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted);
}

.partner-note a {
  color: var(--red);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 960px) {
  .partner-grid,
  .partner-flow { grid-template-columns: 1fr; }
  .partner-card { min-height: 0; }
}

/* ---------- 文章详情页 ---------- */
.article-page { background: var(--paper); }

.article-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.article-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.article-topbar-link { font-size: 13px; }

.article-main { padding: 56px 0 110px; }

.article-shell {
  width: min(760px, calc(100% - 64px));
  margin: 0 auto;
}

.article-back {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}

.article-back:hover { color: var(--red); }

.article-head {
  padding-bottom: 34px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.article-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.article-lead {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-3);
}

.article-content {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-2);
}

.article-content h2 {
  margin: 48px 0 16px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.article-content h3 {
  margin: 34px 0 12px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

.article-content p { margin-bottom: 18px; }

.article-content ul,
.article-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.article-content li::marker { color: var(--red); }

.article-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--red);
  background: var(--paper-2);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.article-error {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-3);
}

.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.article-nav a:hover { border-color: var(--ink); transform: translateY(-2px); }

.article-nav span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.article-nav strong {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
}

.article-nav a.is-next { text-align: right; align-items: flex-end; }

.article-nav a:only-child {
  grid-column: 1 / -1;
  text-align: left;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .article-main { padding: 36px 0 76px; }
  .article-shell { width: calc(100% - 40px); }
  .article-head h1 { font-size: 28px; }
  .article-lead { font-size: 15px; }
  .article-content { font-size: 16px; }
  .article-content h2 { font-size: 21px; margin-top: 38px; }
  .article-topbar-link { display: none; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; align-items: flex-start; }
}

/* ---------- 内部知识库 ---------- */
.internal-page { background: var(--paper); }

.internal-main { padding: 56px 0 100px; }

.internal-head {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.internal-head h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.internal-head > p:last-child {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-3);
}

.internal-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.internal-user strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.internal-user button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.internal-user button:hover { border-color: var(--ink); color: var(--ink); }

.internal-wiki-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.internal-wiki-link small {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(253, 252, 249, 0.5);
}

.internal-wiki-link strong {
  display: block;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.internal-wiki-meta {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(253, 252, 249, 0.48);
}

.internal-wiki-link b {
  font-size: 28px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}

.internal-wiki-link:hover b { transform: translate(3px, -3px); }

.internal-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 44px 0 10px;
}

.internal-section-head h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.internal-section-head span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.internal-article-list { border-top: 1px solid var(--line); }

.internal-article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.internal-article-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.internal-article h3 {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.5;
  transition: color 0.3s;
}

.internal-article p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.internal-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.internal-article-arrow { font-size: 18px; color: var(--red); }

.internal-article:hover h3 { color: var(--red); }

.internal-empty {
  padding: 36px 0;
  font-size: 13px;
  color: var(--muted);
}

.internal-admin { margin-top: 8px; }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.admin-card:hover { border-color: var(--ink); transform: translateY(-3px); }

.admin-card strong { font-size: 16px; }

.admin-card span { font-size: 12.5px; color: var(--muted); }

.internal-badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(180, 35, 42, 0.08);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.admin-partner-grid { margin-bottom: 12px; }

.admin-empty {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.admin-empty p + p { margin-top: 6px; }

@media (max-width: 760px) {
  .internal-main { padding: 36px 0 76px; }
  .internal-head h1 { font-size: 34px; }
  .internal-user span { display: none; }
  .internal-wiki-link { flex-direction: column; align-items: flex-start; padding: 26px; }
  .internal-wiki-link b { align-self: flex-end; }
  .internal-article { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .internal-article-arrow { display: none; }
  .admin-grid { grid-template-columns: 1fr; }
}

/* ---------- 活动页 ---------- */
.page-hero {
  padding: calc(var(--header-h) + 92px) 0 52px;
}

.page-title {
  margin: 16px 0 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.page-lead {
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-3);
}

.activities { padding-top: 0; }

.activity-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.activity-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.activity-filter {
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-3);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.activity-filter:hover { border-color: var(--ink); color: var(--ink); }

.activity-filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.activity-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.28);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

a.activity-card:hover { border-color: var(--ink); transform: translateY(-4px); }

.activity-card.is-placeholder { border-style: dashed; }

.activity-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.activity-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 22px 22px 24px;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.activity-type {
  padding: 3px 9px;
  border: 1px solid rgba(216, 35, 42, 0.3);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.activity-body h2 {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
}

.activity-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.activity-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}

.activity-signup { font-size: 12.5px; font-weight: 600; color: var(--muted); }

.activity-card:not(.is-placeholder) .activity-signup { color: var(--red); }

.activity-card.is-placeholder .activity-body h2,
.activity-card.is-placeholder .activity-info { color: var(--muted); font-weight: 500; }

.activity-note {
  margin-top: 34px;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .activity-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .page-hero { padding: calc(var(--header-h) + 52px) 0 36px; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-toolbar { align-items: flex-start; }
}
