/* ============================================================
   PG娱乐中心 · 共享站点样式 /assets/site.css
   夜间机房 × 游戏厅档案库
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩体系 */
  --ink: #061426;
  --ink-2: #0B1E33;
  --slate: #24364D;
  --violet: #6C3BFF;
  --cyan: #2DE2E6;
  --amber: #FFB347;
  --orange: #FF7A3D;
  --mist: #A9B8C9;
  --ice: #E8F1FF;
  --mint: #5BE7A9;

  --hairline: rgba(169, 184, 201, 0.18);
  --hairline-strong: rgba(169, 184, 201, 0.32);
  --shadow-hard: 6px 6px 0 rgba(108, 59, 255, 0.18);
  --shadow-cta: 4px 4px 0 rgba(45, 226, 230, 0.32);

  /* 字体 */
  --font-display: "DIN Condensed", "Oswald", "Barlow Condensed", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;

  /* 间距节奏 */
  --gutter: 20px;
  --shell: 1360px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ice);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 84% -10%, rgba(108, 59, 255, 0.22), transparent 64%),
    radial-gradient(760px 460px at -6% 4%, rgba(45, 226, 230, 0.11), transparent 62%),
    repeating-linear-gradient(90deg, rgba(169, 184, 201, 0.05) 0 1px, transparent 1px 108px);
  background-attachment: fixed, fixed, scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: var(--violet);
  color: var(--ice);
}

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

/* ---------- 4. 通用工具 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container,
.header-rail__inner,
.nav-bar__inner,
.footer-top,
.footer-contact,
.footer-legal {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 14px;
  z-index: 999;
  display: inline-block;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-cta);
  text-decoration: none;
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

/* ---------- 6. 头部：双层信息导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 20, 38, 0.96);
  border-bottom: 1px solid var(--hairline-strong);
}

/* 上层：品牌说明轨道 */
.header-rail {
  background:
    linear-gradient(90deg, rgba(108, 59, 255, 0.20), rgba(45, 226, 230, 0.08) 44%, transparent 80%),
    var(--ink);
  border-bottom: 1px solid var(--hairline);
}

.header-rail__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 11px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ice);
  min-height: 44px;
}

.brand__mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 2px solid var(--cyan);
  background: linear-gradient(150deg, rgba(108, 59, 255, 0.95), rgba(45, 226, 230, 0.5));
  box-shadow: 4px 4px 0 rgba(255, 179, 71, 0.4);
  transform: skewX(-8deg);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--amber);
}

.brand:hover .brand__mark {
  transform: skewX(-8deg) translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(255, 179, 71, 0.55);
}

.brand__text {
  display: block;
  min-width: 0;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.1;
  color: var(--ice);
}

.brand__tag {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mist);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__entry {
  margin-inline-start: auto;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--mist);
  white-space: nowrap;
}

.brand__entry .mono {
  color: var(--cyan);
  font-size: 11.5px;
}

.legacy-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--orange);
  background: rgba(255, 122, 61, 0.09);
  border: 1.5px solid var(--orange);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.legacy-chip:hover,
.legacy-chip:focus-visible {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 122, 61, 0.18);
}

/* 下层：主要栏目轨道 */
.nav-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
}

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

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.primary-nav__list a {
  position: relative;
  display: inline-block;
  padding: 15px 14px;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.primary-nav__list a:hover {
  color: var(--ice);
  background: rgba(108, 59, 255, 0.14);
}

.primary-nav__list a:hover::after {
  transform: scaleX(1);
}

.primary-nav__list a[aria-current="page"] {
  color: var(--ice);
  background: rgba(45, 226, 230, 0.12);
}

.primary-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--amber);
}

.nav-bar__note {
  flex: none;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: rgba(169, 184, 201, 0.62);
  text-transform: uppercase;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  background: rgba(45, 226, 230, 0.08);
  border: 1.5px solid rgba(45, 226, 230, 0.5);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover {
  background: rgba(45, 226, 230, 0.16);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

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

.nav-toggle__label {
  line-height: 1;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(45, 226, 230, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

/* 阅读进度 */
.read-progress {
  height: 2px;
  background: rgba(169, 184, 201, 0.14);
}

.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 52%, var(--amber) 88%, var(--orange));
  transition: width 0.1s linear;
}

/* ---------- 7. 页脚：档案索引 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  background:
    linear-gradient(180deg, rgba(11, 30, 51, 0.72), var(--ink) 58%),
    var(--ink);
  border-top: 1px solid var(--hairline-strong);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 38%, var(--amber) 74%, var(--orange));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr);
  gap: 48px;
  padding-block: 56px 40px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ice);
}

.footer-brand__line {
  margin-top: 12px;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

.footer-brand__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-cta);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.footer-brand__cta:hover,
.footer-brand__cta:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(45, 226, 230, 0.45);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-col__title::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--cyan);
}

.footer-col__list {
  counter-reset: footer-index;
  display: grid;
  gap: 2px;
}

.footer-col__list li {
  counter-increment: footer-index;
}

.footer-col__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 4px;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px dashed rgba(169, 184, 201, 0.16);
  transition: color 0.18s var(--ease), padding-inline-start 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-col__list a::before {
  content: counter(footer-index, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(45, 226, 230, 0.75);
}

.footer-col__list a:hover,
.footer-col__list a:focus-visible {
  color: var(--ice);
  padding-inline-start: 8px;
  border-color: var(--cyan);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 26px;
  padding-block: 20px;
  border-top: 1px solid var(--hairline);
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-contact__item {
  font-size: 13.5px;
  color: var(--mist);
}

.footer-contact__item--note {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding-block: 16px 30px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(169, 184, 201, 0.7);
}

/* ---------- 8. 布局容器与网格 ---------- */
.layout {
  display: grid;
  gap: 24px;
}

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

/* ---------- 9. 文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--hairline);
}

.lead {
  max-width: 46ch;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.76;
  color: var(--mist);
}

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--ice);
}

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

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin-top: 1.8em;
}

.prose h2 { font-size: clamp(24px, 2.4vw, 34px); }
.prose h3 { font-size: clamp(19px, 1.8vw, 24px); }

.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.45);
}

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

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

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

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(169, 184, 201, 0.7);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__list li + li::before {
  content: "/";
  color: rgba(45, 226, 230, 0.6);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.breadcrumb a:hover { color: var(--cyan); }

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

/* ---------- 11. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(45, 226, 230, 0.42);
}

.btn--violet {
  background: var(--violet);
  color: #FFFFFF;
  box-shadow: 4px 4px 0 rgba(45, 226, 230, 0.28);
}

.btn--violet:hover,
.btn--violet:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(45, 226, 230, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(169, 184, 201, 0.42);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(45, 226, 230, 0.08);
}

.btn--legacy {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 rgba(255, 122, 61, 0.22);
}

.btn--legacy:hover,
.btn--legacy:focus-visible {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(255, 122, 61, 0.34);
}

/* ---------- 12. 卡片与标记 ---------- */
.card {
  position: relative;
  padding: 22px;
  background: var(--slate);
  border: 2px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card--legacy {
  border-left: 4px solid var(--orange);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 226, 230, 0.6);
    box-shadow: 6px 10px 0 rgba(45, 226, 230, 0.16);
  }
}

.card__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.card__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 800;
  line-height: 1.24;
  color: var(--ice);
}

.card__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(169, 184, 201, 0.8);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
  background: rgba(36, 54, 77, 0.7);
  border: 1px solid rgba(169, 184, 201, 0.32);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease);
}

.chip:hover {
  color: var(--ice);
  border-color: var(--cyan);
}

.chip[aria-pressed="true"],
.chip.is-active {
  color: var(--cyan);
  background: rgba(45, 226, 230, 0.16);
  border-color: var(--cyan);
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C3B2FF;
  background: rgba(108, 59, 255, 0.22);
  border: 1px solid rgba(108, 59, 255, 0.55);
  border-radius: var(--radius);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(91, 231, 169, 0.18);
}

.panel {
  padding: 24px;
  background: linear-gradient(160deg, rgba(36, 54, 77, 0.92), rgba(11, 30, 51, 0.94));
  border: 2px solid var(--hairline);
  border-radius: var(--radius);
}

/* ---------- 13. 图片容器基础规则 ---------- */
.media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(108, 59, 255, 0.22), rgba(45, 226, 230, 0.12)),
    var(--ink-2);
  border: 1px solid rgba(169, 184, 201, 0.22);
  border-radius: var(--radius);
}

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

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

.media__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  background: rgba(6, 20, 38, 0.82);
  border: 1px solid rgba(45, 226, 230, 0.5);
}

/* ---------- 14. 显现动效 ---------- */
[data-reveal] {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-js="on"] [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}

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

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 44px 32px;
  }
}

@media (max-width: 900px) {
  .header-rail__inner {
    gap: 12px;
    padding-block: 10px;
  }

  .brand__tag { display: none; }
  .brand__entry { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav-bar__inner {
    position: relative;
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 9px;
  }

  .nav-bar__note { display: none; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    flex: 1 0 100%;
    background: var(--ink-2);
    border-top: 1px solid var(--hairline-strong);
    border-bottom: 2px solid var(--violet);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.24s var(--ease), visibility 0.24s var(--ease);
  }

  .primary-nav__list {
    flex-direction: column;
    gap: 0;
    padding-block: 6px;
  }

  .primary-nav__list a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(169, 184, 201, 0.12);
  }

  .primary-nav__list a::after { display: none; }

  .primary-nav[data-open] {
    max-height: min(76vh, 620px);
    overflow-y: auto;
    visibility: visible;
    box-shadow: 0 26px 44px -20px rgba(0, 0, 0, 0.95);
  }

  .layout--2,
  .layout--3,
  .layout--rail {
    grid-template-columns: 1fr;
  }

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

  .site-footer { margin-top: 72px; }
}

@media (max-width: 600px) {
  :root { --gutter: 14px; }

  body { font-size: 15.5px; }

  .brand__name { font-size: 17px; letter-spacing: 0.12em; }

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

  .legacy-chip {
    padding: 7px 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-contact,
  .footer-legal {
    gap: 6px 18px;
  }

  .section-head {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .prose { font-size: 16px; }
}

/* ---------- 16. 动效尊重设置 ---------- */
@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;
  }

  [data-js="on"] [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn:hover,
  .footer-brand__cta:hover {
    transform: none;
  }
}
