/* ==========================================================================
   8国际娱乐 · V8 — 共享样式表 /assets/site.css
   夜间娱乐中枢控制台 × 展览画册纸面嵌层
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0F14;
  --ink-2: #151B22;
  --ink-3: #0A0E13;
  --paper: #F1E5CF;
  --amber: #E8A33D;
  --amber-lift: #F2B255;
  --cyan: #35E0D0;
  --rose: #E4517D;
  --cobalt: #4C6FFF;
  --cobalt-lift: #93A7FF;
  --mist: #AEB8C4;
  --brown: #241A16;
  --white: #F7F4EC;

  --line-cyan: rgba(53, 224, 208, 0.22);
  --line-soft: rgba(174, 184, 196, 0.14);
  --line-amber: rgba(232, 163, 61, 0.5);

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-soft: 0 18px 44px -30px rgba(0, 0, 0, 0.95);
  --shadow-deep: 0 34px 72px -48px rgba(0, 0, 0, 1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(53, 224, 208, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 224, 208, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.75rem);
}

.page-main {
  position: relative;
  z-index: 1;
  padding-block: clamp(2rem, 5vw, 3.5rem) 0;
}

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(1.5rem, 3.5vw, 2.5rem); }

.stack > * + * { margin-top: var(--stack-gap, 1.25rem); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}

.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.start-2 { grid-column-start: 2; }
.start-5 { grid-column-start: 5; }
.start-6 { grid-column-start: 6; }
.start-7 { grid-column-start: 7; }

.rule {
  border: 0;
  height: 1px;
  background: var(--line-soft);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -5rem;
  left: clamp(1rem, 4vw, 2.5rem);
  z-index: 300;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.1rem;
  background: var(--amber);
  color: #1A1206;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -22px rgba(232, 163, 61, 0.95);
  transition: top 0.22s var(--ease);
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.985), rgba(11, 15, 20, 0.93));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--amber) 62%, var(--rose));
  pointer-events: none;
  will-change: transform;
}

/* 上层：品牌仪表条 */
.hud-bar { border-bottom: 1px solid rgba(174, 184, 196, 0.1); }

.hud-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  padding-block: 0.8rem;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-right: auto;
  min-width: 0;
}

.hud-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #1A1206;
  background: linear-gradient(150deg, var(--amber), #C9822A);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(232, 163, 61, 0.55), 0 10px 26px -14px rgba(232, 163, 61, 0.85);
}

.hud-text {
  display: grid;
  gap: 0.22rem;
  line-height: 1.15;
  min-width: 0;
}

.hud-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  white-space: nowrap;
}

.hud-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  color: rgba(174, 184, 196, 0.78);
  white-space: nowrap;
}

.hud-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(53, 224, 208, 0.07);
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  white-space: nowrap;
}

.hud-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(174, 184, 196, 0.75);
  white-space: nowrap;
}

.hud-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.16);
  animation: hud-pulse 2.8s var(--ease) infinite;
}

@keyframes hud-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex: 0 0 auto;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.utility-link {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--mist);
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.utility-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.header-cta { padding: 0.62rem 1.05rem; font-size: 0.84rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--cyan);
  background: rgba(53, 224, 208, 0.06);
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan);
  background: rgba(53, 224, 208, 0.14);
}

.nav-toggle-bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open] .nav-toggle-bars span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* 下层：栏目轨道 */
.nav-rail {
  background: linear-gradient(90deg, rgba(21, 27, 34, 0.92), rgba(15, 21, 28, 0.78));
  border-top: 1px solid rgba(174, 184, 196, 0.08);
}

.nav-rail-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0.1rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.82rem 0.95rem;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(53, 224, 208, 0.07);
}

.nav-link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--amber);
  background: rgba(232, 163, 61, 0.07);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: rgba(174, 184, 196, 0.55);
  transition: color 0.2s var(--ease);
}

.nav-link:hover .nav-index { color: var(--cyan); }
.nav-link[aria-current="page"] .nav-index { color: var(--amber); }

.nav-aside {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: rgba(174, 184, 196, 0.55);
  white-space: nowrap;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3.5rem, 9vw, 7rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(76, 111, 255, 0.16), transparent 58%),
    radial-gradient(90% 80% at 94% 8%, rgba(228, 81, 125, 0.12), transparent 60%),
    var(--ink-3);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--amber) 0 18%,
    var(--cobalt) 18% 30%,
    var(--cyan) 30% 46%,
    var(--rose) 46% 54%,
    transparent 54%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.75rem);
}

.footer-brand { grid-column: span 4; }
.footer-col { grid-column: span 2; }
.footer-contact { grid-column: span 4; }

.footer-mark {
  display: flex;
  align-items: baseline;
  gap: 0.32rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-mark-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--amber);
}

.footer-statement {
  margin-top: 0.9rem;
  max-width: 28ch;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mist);
}

.footer-slab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding: 0.4rem 0.72rem;
  background: rgba(232, 163, 61, 0.08);
  border: 1px solid var(--line-amber);
  border-radius: var(--radius);
}

.slab-version {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.slab-text {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(247, 244, 236, 0.72);
}

.footer-heading {
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
  border-bottom: 1px solid var(--line-soft);
}

.footer-links { display: grid; gap: 0.5rem; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--mist);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link::before {
  content: "";
  width: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.22s var(--ease), opacity 0.22s var(--ease);
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-link:hover::before {
  width: 17px;
  opacity: 1;
}

/* 奶油纸面联系速览卡 */
.footer-contact {
  position: relative;
  padding: 1.5rem 1.5rem 1.65rem;
  color: var(--brown);
  background-color: var(--paper);
  background-image: linear-gradient(0deg, rgba(36, 26, 22, 0.045) 1px, transparent 1px);
  background-size: 100% 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(36, 26, 22, 0.1);
}

.footer-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 52px;
  height: 4px;
  background: var(--rose);
}

.footer-contact .footer-heading {
  color: var(--brown);
  border-bottom-color: rgba(36, 26, 22, 0.18);
}

.contact-list { display: grid; gap: 0.78rem; }

.contact-item { display: grid; gap: 0.16rem; }

.contact-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: rgba(36, 26, 22, 0.58);
}

.contact-value {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--brown);
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}

.footer-baseline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-block: 1.2rem 2rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: rgba(174, 184, 196, 0.8);
}

.footer-note {
  max-width: 60ch;
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  color: rgba(174, 184, 196, 0.7);
}

/* ---------- 8. 通用组件 ---------- */
/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}

.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--amber);
  color: #1A1206;
  box-shadow: 0 12px 30px -20px rgba(232, 163, 61, 0.95);
}

.btn-primary:hover {
  background: var(--amber-lift);
  box-shadow: 0 16px 34px -18px rgba(232, 163, 61, 0.95);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-cyan);
}

.btn-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(53, 224, 208, 0.08);
}

.btn-line {
  background: transparent;
  color: var(--cyan);
  border-color: currentColor;
}

.btn-line:hover {
  color: var(--ink);
  background: var(--cyan);
}

/* 面包屑 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.06em;
  color: rgba(174, 184, 196, 0.7);
}

.breadcrumbs a {
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.breadcrumbs .sep { opacity: 0.45; }

.breadcrumbs [aria-current="page"] { color: var(--white); }

/* 标题体系 */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 8.6rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--white);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--white);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.side-note {
  display: inline-block;
  transform: rotate(-90deg);
  transform-origin: left center;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.28em;
  color: rgba(174, 184, 196, 0.6);
  white-space: nowrap;
}

.figure-caption {
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  color: rgba(174, 184, 196, 0.7);
}

/* 正文窄栏 */
.prose {
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.85;
  color: rgba(247, 244, 236, 0.86);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2.2em;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: var(--white);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--white);
}

.prose ul,
.prose ol { padding-left: 1.3em; }

.prose ul { list-style: square; }
.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.5em; }

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 224, 208, 0.42);
}

.prose a:hover { border-bottom-color: var(--cyan); }

.prose strong { color: var(--white); }

.link-inline {
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 224, 208, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-inline:hover {
  color: #7FF3E9;
  border-bottom-color: #7FF3E9;
}

/* 纸面与面板 */
.sheet {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--brown);
  background-color: var(--paper);
  background-image: linear-gradient(0deg, rgba(36, 26, 22, 0.04) 1px, transparent 1px);
  background-size: 100% 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(36, 26, 22, 0.1);
}

.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.5rem, 3.5vw, 2.5rem);
  width: 56px;
  height: 4px;
  background: var(--amber);
}

.sheet h2,
.sheet h3,
.sheet .section-title { color: var(--brown); }

.sheet p { color: rgba(36, 26, 22, 0.84); }

.sheet a {
  color: #8A4A00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel {
  position: relative;
  padding: clamp(1.25rem, 2.6vw, 1.9rem);
  background: linear-gradient(180deg, rgba(21, 27, 34, 0.96), rgba(15, 21, 28, 0.92));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.panel:hover {
  border-color: var(--line-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.panel--cut {
  -webkit-clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem 0.56rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  white-space: nowrap;
}

.tag--cyan { color: var(--cyan); background: rgba(53, 224, 208, 0.08); }
.tag--amber { color: var(--amber); background: rgba(232, 163, 61, 0.1); }
.tag--rose { color: var(--rose); background: rgba(228, 81, 125, 0.1); }
.tag--cobalt { color: var(--cobalt-lift); background: rgba(76, 111, 255, 0.12); }

/* 数字概览 */
.stat { display: grid; gap: 0.22rem; }

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

/* 可复用图片容器 */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(53, 224, 208, 0.16), transparent 55%),
    radial-gradient(100% 100% at 100% 100%, rgba(232, 163, 61, 0.15), transparent 62%),
    #101721;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 224, 208, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 224, 208, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}

.media img,
.media svg,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--banner { aspect-ratio: 21 / 9; }

.media--cut {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

/* 标签页 */
.tabs { display: block; }

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--line-soft);
}

.tab {
  position: relative;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease);
}

.tab:hover {
  color: var(--white);
  background: rgba(53, 224, 208, 0.07);
}

.tab[aria-selected="true"] {
  color: var(--white);
  background: rgba(232, 163, 61, 0.09);
  border-bottom-color: var(--amber);
}

.tabpanel { padding-top: 1.25rem; }
.tabpanel[hidden] { display: none; }

/* 显现 */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1080px) {
  .utility-nav { display: none; }
  .hud-status { display: none; }
  .footer-brand { grid-column: span 6; }
  .footer-col { grid-column: span 3; }
  .footer-contact { grid-column: span 12; }
}

@media (max-width: 1024px) {
  .nav-aside { display: none; }
  .nav-list { overflow-x: auto; scrollbar-width: thin; }
  .site-nav { overflow-x: auto; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 7rem; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 12; }
  .start-2, .start-5, .start-6, .start-7 { grid-column-start: auto; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav-rail {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.55rem 0 1rem;
    max-height: min(76vh, 32rem);
    overflow-y: auto;
    background: #0F151C;
    border-top: 1px solid var(--line-cyan);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 1);
  }

  .site-header[data-open] .nav-rail { display: block; }

  .nav-rail-inner { display: block; }

  .site-nav,
  .nav-list { overflow: visible; }

  .nav-list { flex-direction: column; gap: 0; }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.92rem 0.6rem;
    border-bottom: 1px solid var(--line-soft);
    border-left: 2px solid transparent;
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: var(--line-soft);
    border-left-color: var(--amber);
    padding-left: 0.85rem;
  }

  .hud-mark { width: 40px; height: 40px; font-size: 1.3rem; }
  .hud-title { font-size: 1.02rem; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }

  .footer-grid { gap: 1.6rem; }
  .footer-brand { grid-column: span 12; }
  .footer-col { grid-column: span 6; }
  .footer-contact { grid-column: span 12; }
  .footer-statement { max-width: 100%; }

  .footer-baseline { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .hud-sub { display: none; }
  .hud-badge { font-size: 0.64rem; padding: 0.24rem 0.5rem; }
  .header-cta { padding: 0.55rem 0.8rem; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .footer-col { grid-column: span 12; }
  .hud-meta { display: none; }
  .footer-mark { font-size: 1.2rem; }
  .footer-mark-num { font-size: 1.7rem; }
}

/* ---------- 10. 动效可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .has-reveal .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-progress { transition: none; }
}
