/* ==========================================================================
   金宝搏中心 — 共享样式 /assets/site.css
   色彩：深墨蓝主底 · 金铜强调 · 暖白文字 · 青瓷绿/陶土状态
   形状：锐利直角 + 细线网格；仅浮岛导航与状态标签使用小圆角
   ========================================================================== */

:root {
  /* 色板 */
  --ink-0: #0B1A2A;
  --ink-1: #13283D;
  --ink-2: #1D3A52;
  --brass: #C8963E;
  --brass-hi: #E3B964;
  --paper: #F4EEDF;
  --paper-2: #E8DFCC;
  --celadon: #7FB7A3;
  --clay: #B06A4E;
  --stone: #7A7F85;

  /* 半透明阶 */
  --brass-08: rgba(200, 150, 62, 0.08);
  --brass-16: rgba(200, 150, 62, 0.16);
  --brass-32: rgba(200, 150, 62, 0.32);
  --stone-14: rgba(122, 127, 133, 0.14);
  --stone-24: rgba(122, 127, 133, 0.24);
  --stone-34: rgba(122, 127, 133, 0.34);
  --paper-72: rgba(244, 238, 223, 0.72);
  --paper-56: rgba(244, 238, 223, 0.56);
  --paper-42: rgba(244, 238, 223, 0.42);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  /* 尺度 */
  --shell-max: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius-pill: 999px;
  --radius-tag: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--ink-0);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 深层网格：整站坐标感，向下自然衰减 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--stone-14) 1px, transparent 1px),
    linear-gradient(90deg, var(--stone-14) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(130% 100% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.4) 62%, transparent 100%);
  mask-image: radial-gradient(130% 100% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.4) 62%, transparent 100%);
  opacity: 0.55;
}

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

button {
  font: inherit;
  color: inherit;
}

a {
  color: var(--brass-hi);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

/* --------------------------------------------------------------------------
   2. 中文排版
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.55em;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--paper);
}

h1 {
  font-size: clamp(30px, 5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1.14;
}

h2 {
  font-size: clamp(24px, 3.2vw, 38px);
}

h3 {
  font-size: clamp(19px, 2vw, 24px);
}

h4 {
  font-size: 17px;
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

li {
  margin: 0.22em 0;
}

strong {
  font-weight: 600;
  color: var(--paper);
}

small {
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3. 布局与通用组件
   -------------------------------------------------------------------------- */
#main-content {
  position: relative;
  z-index: 1;
  display: block;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--paper-72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  flex: 0 0 auto;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stone-24);
}

.section-head__no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--brass);
}

.section-head__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.02em;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--stone);
  white-space: nowrap;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.breadcrumb a {
  color: var(--paper-56);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--brass-hi);
  border-bottom-color: var(--brass-32);
}

.breadcrumb__sep {
  color: var(--brass);
  opacity: 0.75;
}

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

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-tag);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn--brass {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink-0);
}

.btn--brass:hover,
.btn--brass:focus-visible {
  background: var(--brass-hi);
  border-color: var(--brass-hi);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--brass-32);
  color: var(--paper);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--brass);
  color: var(--brass-hi);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* 堆叠面板：左侧金铜细棱 = 档案边缘 */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--stone-24);
  border-radius: var(--radius-tag);
  background: var(--ink-1);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brass) 0%, rgba(200, 150, 62, 0.05) 100%);
  opacity: 0.8;
  pointer-events: none;
}

/* 资料卡 */
.card {
  position: relative;
  display: block;
  padding: 22px;
  border: 1px solid var(--stone-24);
  border-radius: var(--radius-tag);
  background: var(--ink-1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: var(--brass-32);
    background: var(--ink-2);
    box-shadow: 0 20px 36px -26px rgba(0, 0, 0, 0.95);
  }
}

.card__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--paper-56);
}

.card__meta {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--stone);
}

/* 标签与编号 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--stone-34);
  border-radius: var(--radius-tag);
  background: var(--stone-14);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--paper-72);
}

.tag--brass {
  border-color: var(--brass-32);
  background: var(--brass-08);
  color: var(--brass-hi);
}

.tag--ok {
  border-color: var(--celadon);
  background: var(--celadon);
  color: var(--ink-0);
}

.tag--warn {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--ink-0);
}

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0.08em;
  color: var(--brass);
}

/* 图片容器基础规则（页面阶段放置 <img> 用） */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--stone-24);
  border-radius: var(--radius-tag);
  background:
    radial-gradient(120% 120% at 22% 12%, var(--brass-16), transparent 58%),
    linear-gradient(150deg, var(--ink-2) 0%, var(--ink-1) 62%, var(--ink-0) 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--stone-14) 1px, transparent 1px),
    linear-gradient(90deg, var(--stone-14) 1px, transparent 1px);
  background-size: 44px 44px;
}

.media-frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame__caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--stone);
}

/* 滚动显现（JS 接管后才生效，无 JS 时内容照常可读） */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

.has-reveal [data-reveal="shown"] {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. 页头
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 240;
  padding: 11px 20px;
  border-radius: var(--radius-tag);
  background: var(--brass);
  color: var(--ink-0);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translate(-50%, -160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 14px var(--gutter) 0;
  transition: padding 0.3s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 42, 0.96) 0%,
    rgba(11, 26, 42, 0.8) 58%,
    rgba(11, 26, 42, 0) 100%
  );
}

.site-header[data-scrolled="true"] {
  padding-top: 7px;
}

.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 140;
  overflow: hidden;
  background: var(--stone-24);
  pointer-events: none;
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--stone) 0%, var(--brass) 55%, var(--brass-hi) 100%);
  transition: width 0.12s linear;
}

.header-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* 品牌浮岛 */
.brand-island {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-island__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 12px;
  border: 1px solid var(--brass-32);
  border-radius: var(--radius-pill);
  background: rgba(19, 40, 61, 0.92);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.brand-island__link:hover,
.brand-island__link:focus-visible {
  border-color: var(--brass);
  background: rgba(29, 58, 82, 0.96);
}

.brand-island__mark {
  display: grid;
  gap: 3px;
  align-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0 4px;
  border: 1px solid var(--brass-32);
  border-radius: var(--radius-tag);
}

.brand-island__mark span {
  display: block;
  height: 1px;
  background: var(--brass);
}

.brand-island__mark span:nth-child(2) {
  width: 72%;
}

.brand-island__mark span:nth-child(3) {
  width: 46%;
}

.brand-island__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-island__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--paper);
}

.brand-island__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--paper-42);
}

/* 栏目胶囊 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--brass-32);
  border-radius: var(--radius-pill);
  background: rgba(19, 40, 61, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  margin: 0;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--paper-56);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--paper);
  background: var(--brass-08);
}

.site-nav__link[aria-current="page"] {
  color: var(--brass-hi);
  background: var(--brass-16);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 14px;
  height: 1px;
  background: var(--brass-hi);
  transform: translateX(-50%);
}

.site-nav__cta {
  margin-left: 4px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--brass);
  color: var(--ink-0);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  background: var(--brass-hi);
  transform: translateY(-1px);
}

.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 6px 0 8px;
  padding-right: 14px;
  border-right: 1px solid var(--stone-34);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--paper-42);
}

.header-status__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 0 3px rgba(127, 183, 163, 0.18);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--brass-32);
  border-radius: var(--radius-pill);
  background: rgba(19, 40, 61, 0.92);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--brass);
  color: var(--brass-hi);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid rgba(200, 150, 62, 0.28);
  background: linear-gradient(
    180deg,
    rgba(19, 40, 61, 0.55) 0%,
    rgba(13, 30, 47, 0.96) 26%,
    #0A1826 100%
  );
  color: var(--paper-56);
  font-size: 14px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(227, 185, 100, 0.9) 30%,
    rgba(227, 185, 100, 0.9) 70%,
    transparent 100%
  );
  opacity: 0.55;
}

.footer-shell {
  position: relative;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 46px) var(--gutter) 0;
}

.footer-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stone-24);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.footer-tab__label {
  white-space: nowrap;
  color: var(--brass);
}

.footer-tab__line {
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(122, 127, 133, 0.45) 0 6px,
    transparent 6px 12px
  );
}

.footer-tab__meta {
  white-space: nowrap;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr) minmax(250px, 1.15fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(26px, 3.5vw, 44px) 0;
}

.footer-brand__link {
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 150, 62, 0.3);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-brand__link:hover,
.footer-brand__link:focus-visible {
  color: var(--brass-hi);
  border-bottom-color: var(--brass);
}

.footer-brand__text {
  max-width: 34ch;
  margin: 0 0 16px;
  line-height: 1.8;
  color: var(--paper-56);
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-tags li {
  margin: 0;
  padding: 3px 9px;
  border: 1px solid var(--stone-34);
  border-radius: var(--radius-tag);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--paper-42);
}

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--brass);
}

.footer-col__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col__list li {
  margin: 0;
}

.footer-col__list a {
  display: inline-block;
  padding-block: 2px;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  color: var(--paper-56);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-col__list a:hover,
.footer-col__list a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--brass);
}

.footer-contact__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact__item {
  display: grid;
  gap: 4px;
  margin: 0;
}

.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.footer-contact__value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-72);
  word-break: break-word;
}

.footer-contact__note {
  margin: 16px 0 0;
  padding-left: 11px;
  border-left: 2px solid var(--stone-34);
  font-size: 12px;
  line-height: 1.75;
  color: var(--paper-42);
}

.copy-btn {
  justify-self: start;
  margin-top: 2px;
  padding: 3px 10px;
  border: 1px solid var(--brass-32);
  border-radius: var(--radius-tag);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--brass);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.copy-btn:hover,
.copy-btn:focus-visible {
  background: var(--brass-16);
  color: var(--brass-hi);
  border-color: var(--brass);
}

.copy-btn[data-copied="true"] {
  border-color: var(--celadon);
  background: var(--celadon);
  color: var(--ink-0);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--stone-24);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--paper-42);
}

.footer-legal p {
  margin: 0;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.footer-legal__links li {
  margin: 0;
}

.footer-legal__links a {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--stone-34);
  color: var(--paper-56);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-legal__links a:hover,
.footer-legal__links a:focus-visible {
  color: var(--brass-hi);
  border-bottom-color: var(--brass);
}

/* --------------------------------------------------------------------------
   6. 响应式
   -------------------------------------------------------------------------- */
@media (min-width: 1120px) {
  .header-status {
    display: flex;
  }
}

@media (max-width: 1080px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 14px;
    border-color: var(--brass-32);
    background: rgba(13, 30, 47, 0.985);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .header-status {
    display: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--paper-72);
  }

  .site-nav__link[aria-current="page"] {
    background: var(--brass-08);
    box-shadow: inset 2px 0 0 var(--brass-hi);
  }

  .site-nav__link[aria-current="page"]::after {
    display: none;
  }

  .site-nav__cta {
    margin: 6px 0 0;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal__links {
    margin-left: 0;
  }

  .footer-tab {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .footer-tab__line {
    display: none;
  }
}

@media (max-width: 620px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-island__name {
    font-size: 16px;
  }

  .brand-island__tag {
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }

  .brand-island__link {
    gap: 9px;
    padding: 7px 14px 7px 10px;
  }

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

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .brand-island__tag {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. 动效偏好
   -------------------------------------------------------------------------- */
@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 [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn:hover,
  .btn:focus-visible,
  .site-nav__cta:hover {
    transform: none;
  }
}
