/* ============================================================
   艾尚电子站 · /assets/site.css
   共享外壳：reset、变量、中文排版、头部命令栏、页脚信息面板、
   通用按钮、面包屑、正文容器、蓝图网格与图片容器基础件
   ============================================================ */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
input, textarea, select { font: inherit; }

:root {
  /* 矿物 + 科技色彩体系 */
  --deep: #0B2545;
  --deep-dark: #071A31;
  --cyan: #22D3EE;
  --amber: #F59E0B;
  --violet: #A78BFA;
  --slate: #64748B;
  --moss: #4B7F6B;
  --clay: #C26A4A;
  --cream: #F6F3EC;
  --mist: #EAF4F4;
  --ink: #08131F;

  --line: rgba(11, 37, 69, 0.14);
  --line-soft: rgba(11, 37, 69, 0.08);
  --line-invert: rgba(234, 244, 244, 0.16);
  --text-muted: #4E5C70;

  --font-display: "Sora", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1440px;
  --gutter: clamp(18px, 4vw, 56px);
  --sp: 8px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.55vw + 14px, 18px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--deep);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5.2vw, 72px); }
h2 { font-size: clamp(27px, 3.1vw, 44px); }
h3 { font-size: clamp(19px, 1.5vw, 26px); letter-spacing: -0.012em; line-height: 1.3; }
h4 { font-size: clamp(16px, 1.1vw, 19px); letter-spacing: -0.005em; }
p { text-wrap: pretty; }

::selection { background: rgba(34, 211, 238, 0.32); color: var(--deep); }

/* ---------- 基础工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--deep);
  color: var(--cream);
  border-color: var(--deep);
}
.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--deep);
}

.btn--ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--line);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--mist);
  border-color: rgba(34, 211, 238, 0.7);
  color: var(--deep);
}

.btn--mail {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.btn--mail:hover,
.btn--mail:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--deep);
}
.btn--mail[data-copied] {
  background: var(--moss);
  border-color: var(--moss);
  color: #FFFFFF;
}

/* ---------- 章节 / 索引 / 正文容器 ---------- */
.section { padding-block: clamp(56px, 7vw, 110px); }
.section--tight { padding-block: clamp(28px, 3.4vw, 52px); }
.section--mist { background: var(--mist); }
.section--dark {
  background: var(--deep);
  color: rgba(234, 244, 244, 0.86);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-transform: uppercase;
}
.eyebrow__index { color: var(--clay); }

.prose {
  max-width: 68ch;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.85;
  color: #1B2B3C;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.9em; }
.prose ul, .prose ol { display: grid; gap: 0.5em; padding-left: 1.25em; }
.prose li::marker { color: var(--clay); }
.prose a {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.75);
}
.prose a:hover { background: rgba(34, 211, 238, 0.16); }
.prose strong { color: var(--deep); font-weight: 600; }

/* ---------- 面包屑 ---------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(100, 116, 139, 0.55);
}
.crumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.crumbs a:hover { color: var(--deep); border-bottom-color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--deep); }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: var(--grid-gap, clamp(16px, 2.2vw, 32px)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.col-2 { grid-column: span 2; }
.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-10 { grid-column: span 10; }
.col-12 { grid-column: span 12; }

/* ---------- 图片容器基础件 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(167, 139, 250, 0.28), transparent 62%),
    radial-gradient(110% 80% at 6% 96%, rgba(34, 211, 238, 0.24), transparent 60%),
    linear-gradient(150deg, var(--mist) 0%, #DDEBEE 58%, #E7E2F4 100%);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(to right, rgba(11, 37, 69, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 37, 69, 0.12) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
}
.media-frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--flat::after { display: none; }
.media-frame__index {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(246, 243, 236, 0.88);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* ---------- 面板与标签 ---------- */
.panel {
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: var(--mist);
}
.panel--deep {
  background: var(--deep);
  border-color: rgba(34, 211, 238, 0.2);
  color: rgba(234, 244, 244, 0.88);
}
.panel--deep h3, .panel--deep h4 { color: var(--cream); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.12);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.tag--amber {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.42);
  color: #7A4A02;
}
.tag--moss {
  background: rgba(75, 127, 107, 0.14);
  border-color: rgba(75, 127, 107, 0.38);
  color: #2F5B4A;
}
.tag--clay {
  background: rgba(194, 106, 74, 0.12);
  border-color: rgba(194, 106, 74, 0.35);
  color: #8A452C;
}

/* ---------- 章节索引（页面侧边使用） ---------- */
.section-index {
  display: grid;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.section-index a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.section-index a::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.22s var(--ease), opacity 0.22s var(--ease), background 0.22s var(--ease);
}
.section-index a:hover { color: var(--deep); }
.section-index a[aria-current="true"] { color: var(--deep); }
.section-index a[aria-current="true"]::before {
  width: 28px;
  opacity: 1;
  background: var(--cyan);
}

/* ---------- 复制邮箱组 ---------- */
.copy-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.copy-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--amber);
}
.copy-status:empty { display: none; }

/* ============================================================
   头部命令栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 243, 236, 0.95);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
}

.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.progress-rail__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 62%, var(--amber));
  transition: transform 0.12s linear;
}

/* 状态带 */
.strip {
  background: var(--deep);
  color: rgba(246, 243, 236, 0.82);
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  flex-wrap: wrap;
  min-height: 34px;
  padding-block: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.strip__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: rgba(234, 244, 244, 0.9);
}
.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(75, 127, 107, 0.24);
  animation: statusPulse 4.6s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(75, 127, 107, 0.24); }
  50% { box-shadow: 0 0 0 6px rgba(75, 127, 107, 0.08); }
}
.strip__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: rgba(234, 244, 244, 0.62);
}
.strip__sep { color: rgba(34, 211, 238, 0.55); }
.strip__place,
.strip__hours { white-space: nowrap; }

/* 工作台 */
.cmdbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: var(--deep);
}
.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  background:
    radial-gradient(circle at 74% 26%, rgba(34, 211, 238, 0.95) 0 3.4px, transparent 4.2px),
    radial-gradient(circle at 26% 76%, rgba(167, 139, 250, 0.9) 0 2.4px, transparent 3.2px),
    linear-gradient(140deg, #123A63, #0B2545 64%);
  box-shadow: inset 0 0 0 1px rgba(246, 243, 236, 0.06),
              0 8px 20px -14px rgba(11, 37, 69, 0.95);
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  background: rgba(34, 211, 238, 0.55);
}
.brand__mark::before { left: 8px; right: 8px; top: 50%; height: 1px; transform: translateY(-0.5px); }
.brand__mark::after { top: 8px; bottom: 8px; left: 50%; width: 1px; transform: translateX(-0.5px); opacity: 0.45; }

.brand__text { display: flex; flex-direction: column; line-height: 1.14; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--deep);
}
.brand__line {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(234, 244, 244, 0.72);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: rgba(34, 211, 238, 0.7); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.site-header[data-open] .nav-toggle__bars i:first-child { transform: translateY(2.75px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.nav-toggle__label { white-space: nowrap; }

/* 主导航 */
.primary-nav { min-width: 0; }
.primary-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}
.primary-nav__item { display: block; }
.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--deep);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--slate);
  transition: color 0.2s var(--ease);
}
.nav-label { white-space: nowrap; }
.primary-nav__link:hover { background: var(--mist); }
.primary-nav__link:hover .nav-index { color: var(--clay); }

.primary-nav__link[aria-current="page"] {
  background: var(--deep);
  color: var(--cream);
}
.primary-nav__link[aria-current="page"] .nav-index { color: var(--cyan); }
.primary-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(34, 211, 238, 0));
}

.cmdbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   页脚信息面板
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: rgba(234, 244, 244, 0.86);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.24), transparent 68%);
}
.footer__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(34, 211, 238, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.07) 1px, transparent 1px);
  background-size: clamp(80px, 12vw, 160px) 100%, 100% 96px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 82%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(44px, 6vw, 80px);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line-invert);
}

.footer__brand { min-width: 0; }
.brand--footer { color: var(--cream); }
.brand--footer .brand__name { color: var(--cream); font-size: 18px; }
.brand--footer .brand__line { color: rgba(34, 211, 238, 0.82); }
.brand--footer .brand__mark {
  border-color: rgba(34, 211, 238, 0.5);
  background:
    radial-gradient(circle at 74% 26%, rgba(34, 211, 238, 1) 0 3.4px, transparent 4.2px),
    radial-gradient(circle at 26% 76%, rgba(167, 139, 250, 0.95) 0 2.4px, transparent 3.2px),
    linear-gradient(140deg, #1A4775, #0E2C50 66%);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.14),
              0 14px 30px -20px rgba(34, 211, 238, 0.9);
}
.footer__note {
  max-width: 36ch;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(234, 244, 244, 0.66);
}

.footer__contact { min-width: 0; }
.footer__col-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(34, 211, 238, 0.85);
}
.footer__contact-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.footer__contact-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
}
.footer__contact-key {
  padding-top: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(234, 244, 244, 0.45);
}
.footer__contact-val {
  color: rgba(234, 244, 244, 0.92);
  overflow-wrap: anywhere;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line-invert);
}
.footer__col { min-width: 0; }
.footer__links { display: grid; gap: 12px; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(234, 244, 244, 0.78);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__link::before {
  content: "";
  width: 14px;
  height: 1px;
  background: rgba(34, 211, 238, 0.5);
  transition: width 0.22s var(--ease), background 0.22s var(--ease);
}
.footer__link:hover { color: var(--cream); transform: translateX(2px); }
.footer__link:hover::before { width: 24px; background: var(--cyan); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 24px 28px;
}
.footer__legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(234, 244, 244, 0.56);
}
.footer__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: rgba(234, 244, 244, 0.5);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: rgba(234, 244, 244, 0.85);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.to-top:hover {
  background: rgba(34, 211, 238, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
}
.to-top[data-visible] {
  border-color: rgba(34, 211, 238, 0.8);
  color: var(--cyan);
}

/* ---------- 显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 焦点 ---------- */
:focus-visible {
  outline: 2px solid #0E7490;
  outline-offset: 3px;
  border-radius: 4px;
}
.site-footer :focus-visible { outline-color: var(--cyan); }
.strip :focus-visible { outline-color: var(--amber); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .primary-nav__link { padding: 9px 9px; font-size: 14px; gap: 6px; }
  .cmdbar { gap: 14px; }
}

@media (max-width: 1080px) {
  .cmdbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "actions actions";
    padding-block: 10px;
  }
  .brand { grid-area: brand; }
  .nav-toggle { grid-area: toggle; display: inline-flex; }
  .primary-nav { grid-area: nav; display: none; }
  .cmdbar__actions { grid-area: actions; display: none; }

  .site-header[data-open] .primary-nav {
    display: block;
    padding-block: 10px 4px;
    border-top: 1px solid var(--line-soft);
    max-height: 62vh;
    overflow-y: auto;
  }
  .site-header[data-open] .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-header[data-open] .primary-nav__link {
    padding: 12px 10px;
    font-size: 15px;
    border-radius: 10px;
  }
  .site-header[data-open] .cmdbar__actions {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 14px;
  }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__note { max-width: 52ch; }
}

@media (max-width: 900px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid--12 > [class*="col-"] { grid-column: span 6; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .strip__inner { font-size: 10.5px; letter-spacing: 0.1em; }
  .strip__place,
  .strip__sep,
  .strip__hours { display: none; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__contact-list li { grid-template-columns: 44px minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--12 > [class*="col-"] { grid-column: span 2; }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .brand__line { display: none; }
  .brand__name { font-size: 16px; }
  .cmdbar__actions .btn { flex: 1 1 auto; }
  .to-top { align-self: stretch; justify-content: center; }
}

/* ---------- 降低动效 ---------- */
@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;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .progress-rail__bar { transition: none; }
}
