/* ============================================================
   /assets/site.css — 欧宝娱乐主站 共享外壳与基础组件
   夜间球场导览台 · 深海蓝 / 荧光绿 / 活力橙 / 数据青
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
i { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- tokens ---------- */
:root {
  --navy: #061A2B;
  --navy-deep: #041420;
  --panel: #0B2740;
  --line: #1E5A8A;
  --ice: #F4FBFF;
  --green: #39FF88;
  --orange: #FF7A1A;
  --cyan: #18D6D6;
  --yellow: #FFD166;
  --pale: #E9F2F7;
  --muted: #8AA4B8;

  --rail-w: 96px;
  --bar-h: 60px;
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .3, 1);

  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(30, 90, 138, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 90, 138, .10) 1px, transparent 1px);
  background-size: 96px 96px;
  color: var(--ice);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  padding-left: var(--rail-w);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---------- helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  z-index: 200;
  display: inline-block;
  padding: 10px 20px;
  background: var(--green);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: top .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { top: 10px; }

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

/* ---------- 左侧品牌轨道 ---------- */
.header-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 42%, #08243A 100%);
  border-right: 1px solid var(--line);
}
.header-rail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 4px 0 0;
}
.brand__mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: rgba(11, 39, 64, .7);
  transition: border-color .2s var(--ease);
}
.brand__bar {
  position: absolute;
  left: 6px;
  height: 3px;
  background: var(--green);
  transform: skewY(-8deg);
  transition: width .22s var(--ease), background .22s var(--ease);
}
.brand__bar:nth-child(1) { top: 8px; width: 21px; }
.brand__bar:nth-child(2) { top: 15px; width: 13px; background: var(--orange); }
.brand__bar:nth-child(3) { top: 22px; width: 17px; background: var(--cyan); }
.brand:hover .brand__mark { border-color: var(--green); }
.brand:hover .brand__bar:nth-child(1) { width: 24px; }

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brand__name {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--ice);
}
.brand__line {
  writing-mode: vertical-rl;
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--muted);
}

.rail-legend {
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--muted);
  opacity: .75;
}

.rail-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.rail-index__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.rail-index__num {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--cyan);
}
.rail-index__label {
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--muted);
}

.rail-cta {
  writing-mode: vertical-rl;
  padding: 16px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--navy);
  background: var(--green);
  border: 1px solid var(--green);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.rail-cta:hover,
.rail-cta:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

/* ---------- 命令栏 ---------- */
.header-bar {
  background: rgba(6, 26, 43, .96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.6vw, 34px);
  height: var(--bar-h);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.header-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, .14);
}

/* ---------- 导航 ---------- */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
}
.site-nav__item { display: block; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 2px;
  font-size: 14px;
  letter-spacing: .06em;
  white-space: nowrap;
  color: var(--ice);
  transition: color .18s var(--ease);
}
.site-nav__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--muted);
  transition: color .18s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}
.site-nav__link:hover { color: var(--green); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link:hover .site-nav__index { color: var(--orange); }

.site-nav__link[aria-current="page"] { color: var(--green); font-weight: 500; }
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--orange); }

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ice);
  font-size: 12px;
  letter-spacing: .12em;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--green); color: var(--green); }
.nav-toggle__label { font-size: 12px; letter-spacing: .12em; }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 14px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--green);
  transform-origin: center;
  transition: transform .2s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
}
.site-header[data-open="true"] .nav-toggle {
  border-color: var(--orange);
  color: var(--orange);
}
.site-header[data-open="true"] .nav-toggle__bars span { background: var(--orange); }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transform: scaleX(var(--scroll, 0));
  transform-origin: left center;
  transition: transform .12s linear;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(30, 90, 138, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 90, 138, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-edge {
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--green) 42%, var(--cyan) 100%);
  transform: skewY(-.35deg);
  transform-origin: left center;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) var(--pad) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.7fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer-brand { display: block; }
.footer-brand__mark { margin-bottom: 16px; }
.footer-brand__name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ice);
}
.footer-brand__line {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
}
.footer-coord {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.footer-col { min-width: 0; }
.footer-col__title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(30, 90, 138, .5);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--cyan);
}
.footer-col__list { display: grid; gap: 4px; }

.footer-link {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-link::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--green);
  transform: translateX(4px);
}
.footer-link:hover::before,
.footer-link:focus-visible::before { transform: scaleX(1); }

.contact-list { display: grid; gap: 10px; }
.contact-list__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.contact-list__item--wide { grid-template-columns: 52px minmax(0, 1fr); }
.contact-list__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--muted);
}
.contact-list__value {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--ice);
  word-break: break-word;
}
.contact-list__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 30ch;
}

.copy-btn {
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.copy-btn:hover,
.copy-btn:focus-visible {
  color: var(--navy);
  background: var(--green);
  border-color: var(--green);
}
.copy-btn[data-copied="true"] {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--yellow);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 18px 0 26px;
  border-top: 1px solid rgba(30, 90, 138, .45);
}
.footer-copy,
.footer-icp {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal__link {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer-legal__link:hover,
.footer-legal__link:focus-visible {
  color: var(--green);
  border-color: var(--green);
}

/* ============================================================
   通用页面组件
   ============================================================ */
.section { padding: clamp(48px, 7vw, 96px) 0; }

.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cyan);
}
.section-index::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
}
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: .01em;
  color: var(--ice);
}
.section-title strong,
.section-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--green);
}
.section-lede {
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}
.crumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.crumbs__item + .crumbs__item::before { content: "/"; color: var(--line); }
.crumbs__link {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.crumbs__link:hover,
.crumbs__link:focus-visible { color: var(--green); border-color: var(--green); }
.crumbs__item[aria-current="page"] { color: var(--ice); }

/* 12 列网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* 面板与卡片 */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 30px);
}
.card {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 26px);
  overflow: hidden;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: var(--orange);
  transition: width .24s var(--ease), background .24s var(--ease);
}
.card:hover,
.card:focus-within { border-color: var(--green); }
.card:hover::after,
.card:focus-within::after { width: 100%; background: var(--green); }
.card__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
}
.card__title {
  margin-top: 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ice);
}
.card__text {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(11, 39, 64, .8);
  border: 1px solid var(--line);
  color: var(--ice);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.tag--green { color: var(--green); border-color: rgba(57, 255, 136, .5); }
.tag--orange { color: var(--orange); border-color: rgba(255, 122, 26, .5); }
.tag--cyan { color: var(--cyan); border-color: rgba(24, 214, 214, .5); }
.tag--yellow { color: var(--yellow); border-color: rgba(255, 209, 102, .5); }

/* 数据块 */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.stat__value {
  font-family: var(--mono);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--green);
}
.stat__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ice);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.4;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover,
.btn:focus-visible { border-color: var(--green); transform: translateX(2px); }
.btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
  font-weight: 700;
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}
.btn--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
  font-weight: 700;
}
.btn--accent:hover,
.btn--accent:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}
.btn--ghost { background: transparent; color: var(--ice); }
.btn--ghost:hover,
.btn--ghost:focus-visible { color: var(--green); }
.btn--sm { padding: 8px 14px; font-size: 12.5px; }

/* 媒体容器（页面阶段放置图片） */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--panel);
  background-image:
    linear-gradient(rgba(30, 90, 138, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 90, 138, .28) 1px, transparent 1px);
  background-size: 36px 36px;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 12px;
  background: rgba(6, 26, 43, .82);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--ice);
}

/* 滚动显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  .header-bar__status { display: none; }
}

@media (max-width: 1023px) {
  body {
    padding-left: 0;
    background-size: 64px 64px;
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px var(--pad);
    background: rgba(6, 26, 43, .97);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .header-rail {
    position: static;
    width: auto;
    height: auto;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
  }
  .header-rail::after { display: none; }

  .brand { flex-direction: row; align-items: center; gap: 10px; padding: 0; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__bar { left: 5px; height: 2px; }
  .brand__bar:nth-child(1) { top: 6px; width: 15px; }
  .brand__bar:nth-child(2) { top: 12px; width: 10px; }
  .brand__bar:nth-child(3) { top: 18px; width: 12px; }

  .brand__text { flex-direction: row; align-items: baseline; gap: 8px; }
  .brand__name { writing-mode: horizontal-tb; font-size: 14px; letter-spacing: .14em; }
  .brand__line { display: none; }
  .rail-legend,
  .rail-index { display: none; }

  .rail-cta {
    writing-mode: horizontal-tb;
    padding: 7px 12px;
    font-size: 11px;
    letter-spacing: .12em;
    white-space: nowrap;
  }

  .header-bar {
    position: static;
    flex: 0 0 auto;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .header-bar__inner {
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    justify-content: flex-end;
  }
  .header-bar__status { display: none; }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    max-height: 72vh;
    overflow-y: auto;
    padding: 6px var(--pad) 18px;
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--orange);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
  }
  .site-header[data-open="true"] .site-nav { display: block; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 2px;
    font-size: 15px;
    border-bottom: 1px solid rgba(30, 90, 138, .35);
  }
  .site-nav__link::after { display: none; }
  .site-nav__item:last-child .site-nav__link { border-bottom: 0; }
  .site-nav__link:hover { color: var(--green); }
  .site-nav__link[aria-current="page"] { color: var(--green); }
  .site-nav__link[aria-current="page"] .site-nav__index { color: var(--orange); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .span-4,
  .span-6,
  .span-8 { grid-column: span 12; }
}

@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-col--contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-list__item { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .contact-list__item--wide { grid-template-columns: 46px minmax(0, 1fr); }
  .rail-cta { display: none; }
}

@media (max-height: 720px) and (min-width: 1024px) {
  .rail-legend { display: none; }
  .brand__line { display: none; }
}

/* ---------- 动效可及性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-progress { transition: none !important; }
  .btn:hover,
  .btn:focus-visible,
  .footer-link:hover,
  .footer-link:focus-visible { transform: none; }
}
