/* ==================================================
   博亚视界 /assets/site.css
   设计系统：门庭 · 秩序与洁净
   门楣（顶部声明）→ 门框（导航）→ 院落（内容）→ 基石（页脚）
   ================================================== */

/* ---------- 1. 重置与变量 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* 色彩系统 */
  --bg-ink: #0A1E2C;
  --bg-abyss: #071521;
  --bg-panel: #112836;
  --gold-bright: #E2C07E;
  --gold-shadow: #B8863B;
  --emerald: #1E9B77;
  --text-light: #EFE7D8;
  --text-dim: #A5B0AC;
  --line-gold: rgba(226, 192, 126, 0.35);
  --line-gold-strong: rgba(226, 192, 126, 0.65);
  --line-dark: rgba(10, 30, 44, 0.6);

  /* 字体系统 */
  --font-headings: 'Source Han Serif SC', 'Songti SC', Georgia, serif;
  --font-body: 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* 尺寸与动效 */
  --container-w: 1280px;
  --container-narrow-w: 880px;
  --radius: 8px;
  --radius-drawer: 12px 0 0 0;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lounge: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* 头部高度（门楣 + 门框） */
  --header-top-h: 34px;
  --header-main-h: 72px;
  --header-total: calc(var(--header-top-h) + var(--header-main-h));
}

@media (max-width: 720px) {
  :root {
    --header-top-h: 30px;
    --header-main-h: 62px;
  }
}

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
  background-color: var(--bg-ink);
  background-image:
    radial-gradient(ellipse at 16% -10%, rgba(226, 192, 126, 0.055), transparent 48%),
    linear-gradient(180deg, var(--bg-ink), var(--bg-abyss));
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-locked {
  overflow: hidden;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

::selection {
  background: rgba(226, 192, 126, 0.24);
  color: var(--text-light);
}

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

/* ---------- 2. 基础布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.container--narrow {
  max-width: var(--container-narrow-w);
}

.section {
  padding-block: clamp(48px, 8vw, 96px);
}

.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: fixed;
  top: -64px;
  left: 16px;
  z-index: 2000;
  padding: 10px 22px;
  background: var(--gold-bright);
  color: var(--bg-abyss);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:hover {
  text-decoration: none;
  color: var(--bg-abyss);
}
.skip-link:focus {
  top: 0;
}

/* ---------- 3. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease,
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-shadow));
  color: var(--bg-abyss);
  font-weight: 600;
  box-shadow: 0 2px 14px rgba(226, 192, 126, 0.18);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(226, 192, 126, 0.32);
  color: var(--bg-abyss);
}
.btn--primary:active {
  transform: translateY(0) scale(0.99);
}

.btn--outline {
  background: transparent;
  border-color: var(--line-gold);
  color: var(--gold-bright);
}
.btn--outline:hover {
  background: rgba(226, 192, 126, 0.08);
  border-color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(226, 192, 126, 0.14);
  color: var(--gold-bright);
}

/* ---------- 4. 标题区块与门牌标签 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 52px);
  max-width: 66ch;
}
.section-heading__title {
  margin-top: 10px;
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: 0.06em;
  line-height: 1.25;
}
.section-heading__desc {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 60ch;
}

.divider {
  border: none;
  height: 1px;
  margin: clamp(24px, 4vw, 40px) 0;
  background: linear-gradient(90deg, var(--line-gold), rgba(226, 192, 126, 0.06) 70%, transparent);
}

/* ---------- 5. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--gold-bright);
  text-decoration: none;
}
.breadcrumb__sep {
  color: var(--line-gold-strong);
  font-family: var(--font-data);
  font-size: 12px;
}
.breadcrumb__current {
  color: var(--gold-bright);
}

/* ---------- 6. 网格与卡片 ---------- */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.grid-12 > .span-4 { grid-column: span 4; }
.grid-12 > .span-6 { grid-column: span 6; }
.grid-12 > .span-7 { grid-column: span 7; }
.grid-12 > .span-8 { grid-column: span 8; }
.grid-12 > .span-12 { grid-column: span 12; }

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

.card {
  background: linear-gradient(165deg, var(--bg-panel) 0%, rgba(17, 40, 54, 0.88) 100%);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 2px 14px rgba(7, 21, 33, 0.25);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease,
              box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-gold-strong);
  box-shadow: 0 10px 34px rgba(7, 21, 33, 0.4), 0 0 22px rgba(226, 192, 126, 0.08);
}
.card:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 2px 10px rgba(7, 21, 33, 0.4);
  transition-duration: 0.12s;
}

/* ---------- 7. 正文与注释 ---------- */
.prose {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
}
.prose p {
  margin-bottom: 1.1em;
}
.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.55em;
  letter-spacing: 0.04em;
}
.prose ul,
.prose ol {
  margin: 0.8em 0 1.2em;
  padding-left: 1.4em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  border-left: 2px solid var(--gold-bright);
  background: rgba(226, 192, 126, 0.055);
  color: var(--text-dim);
  font-family: var(--font-headings);
  font-size: 15px;
  line-height: 1.8;
}
.prose code,
.data-text {
  font-family: var(--font-data);
  font-size: 0.92em;
  color: var(--gold-bright);
  background: rgba(226, 192, 126, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
}

.note {
  padding: 18px 22px;
  border-left: 2px solid var(--emerald);
  background: rgba(30, 155, 119, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}
.note strong {
  color: var(--emerald);
  font-weight: 600;
}

/* ---------- 8. 表格 ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: var(--bg-panel);
  scrollbar-color: var(--gold-shadow) var(--bg-abyss);
  scrollbar-width: thin;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  white-space: nowrap;
}
.table-wrap th,
.table-wrap td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(226, 192, 126, 0.12);
}
.table-wrap th {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  background: var(--bg-abyss);
}
.table-wrap td {
  color: var(--text-light);
}
.table-wrap tr:last-child td {
  border-bottom: none;
}
.table-wrap tbody tr:hover td {
  background: rgba(226, 192, 126, 0.045);
}

/* ---------- 9. 图片占位框 ---------- */
.image-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(226, 192, 126, 0.08), transparent 55%),
    var(--bg-panel);
  overflow: hidden;
}
.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(226, 192, 126, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 192, 126, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0.25) 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0.25) 80%);
  pointer-events: none;
}
.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(30, 155, 119, 0.1));
  pointer-events: none;
}
.image-frame__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 24px;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
}
.image-frame--wide .image-frame__content {
  min-height: 200px;
}
.image-frame--tall .image-frame__content {
  min-height: 380px;
}

/* ---------- 10. 页面底部说明块 ---------- */
.page-footer-note {
  margin-top: clamp(32px, 5vw, 56px);
  padding: 20px 24px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: var(--bg-panel);
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.page-footer-note a {
  color: var(--gold-bright);
}
.page-footer-note strong {
  color: var(--text-light);
  font-weight: 600;
}

/* ---------- 11. 头部（门楣 + 门框） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(7, 21, 33, 0.98), rgba(10, 30, 44, 0.94));
  border-bottom: 1px solid var(--line-gold);
  box-shadow: 0 2px 18px rgba(7, 21, 33, 0.18);
}

.site-header__top {
  position: relative;
  height: var(--header-top-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(226, 192, 126, 0.12);
  overflow: hidden;
}
.site-header__statement {
  flex: 1;
  padding-inline: clamp(16px, 3vw, 32px);
  font-family: var(--font-headings);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  pointer-events: none;
}
.site-header__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-shadow), var(--gold-bright) 65%, var(--emerald));
}

.site-header__main {
  height: var(--header-main-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand__plate {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-bright);
  background:
    linear-gradient(135deg, rgba(226, 192, 126, 0.14), transparent 62%),
    rgba(7, 21, 33, 0.55);
  box-shadow: 0 0 12px rgba(226, 192, 126, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-lounge);
}
.brand:hover .brand__plate {
  box-shadow: 0 0 22px rgba(226, 192, 126, 0.22);
  transform: scale(1.04);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-family: var(--font-headings);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-light);
  transition: color 0.25s ease;
}
.brand:hover .brand__name {
  color: var(--gold-bright);
}
.brand__tag {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-top: 3px;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  list-style: none;
}
.primary-nav__list a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text-light);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.primary-nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent 90%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
  color: var(--gold-bright);
}
.primary-nav__list a:hover::after,
.primary-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}
.primary-nav__list a:hover {
  text-decoration: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.account {
  position: relative;
}
.account__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, box-shadow 0.25s ease;
}
.account__trigger::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(30, 155, 119, 0.55);
}
.account__trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.25s ease;
}
.account__trigger:hover,
.account__trigger[aria-expanded="true"] {
  background: rgba(226, 192, 126, 0.08);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(226, 192, 126, 0.14);
}
.account__trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.account__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  padding: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(7, 21, 33, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out), visibility 0s linear 0.22s;
  z-index: 200;
}
.account__menu::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 16px;
  width: 10px;
  height: 10px;
  background: var(--bg-panel);
  border-left: 1px solid var(--line-gold);
  border-top: 1px solid var(--line-gold);
  transform: rotate(45deg);
}
.account__menu[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out), visibility 0s;
}
.account__menu ul {
  list-style: none;
}
.account__menu li + li {
  margin-top: 2px;
}
.account__menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-light);
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.account__menu a:hover {
  text-decoration: none;
  background: rgba(226, 192, 126, 0.08);
  color: var(--gold-bright);
  padding-left: 18px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle__line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold-bright);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.scrim {
  position: fixed;
  top: var(--header-total);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: rgba(7, 21, 33, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  pointer-events: none;
}
.scrim.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
  pointer-events: auto;
}

/* ---------- 12. 页脚（基石） ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 100px);
  background: var(--bg-abyss);
  border-top: 1px solid var(--line-gold);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-shadow), var(--gold-bright), var(--gold-shadow), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 64px);
}

.site-footer__brand {
  min-width: 0;
}
.site-footer__logo {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}
.site-footer__statement {
  margin-top: 10px;
  font-family: var(--font-headings);
  font-size: 15px;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.site-footer__about {
  margin-top: 14px;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-dim);
}

.site-footer__links {
  min-width: 0;
}
.site-footer__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(226, 192, 126, 0.16);
}

.site-footer__nav {
  list-style: none;
}
.site-footer__nav li {
  margin-bottom: 9px;
}
.site-footer__nav a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s ease, letter-spacing 0.25s ease;
}
.site-footer__nav a:hover {
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}
.site-footer__legal {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 192, 126, 0.1);
}
.site-footer__legal a {
  font-size: 13px;
  color: var(--text-dim);
}
.site-footer__legal a:hover {
  color: var(--gold-bright);
}
.site-footer__dot {
  margin-inline: 8px;
  color: var(--gold-shadow);
}

.site-footer__contact {
  min-width: 0;
}
.site-footer__contact ul {
  list-style: none;
}
.site-footer__contact li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
.site-footer__contact strong {
  color: var(--text-light);
  font-weight: 500;
}
.site-footer__note {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.85;
}

.site-footer a:hover {
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 22px;
  border-top: 1px solid rgba(226, 192, 126, 0.11);
  font-size: 13px;
  color: var(--text-dim);
}
.site-footer__year {
  font-family: var(--font-data);
  color: var(--gold-bright);
}
.site-footer__slogan {
  font-family: var(--font-headings);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* ---------- 13. 响应式（移动端抽屉与比例调整） ---------- */
@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-total);
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    z-index: 999;
    background: linear-gradient(180deg, var(--bg-abyss) 0%, var(--bg-ink) 100%);
    border-left: 1px solid var(--line-gold);
    border-radius: var(--radius-drawer);
    box-shadow: -12px 0 32px rgba(7, 21, 33, 0.55);
    padding: 28px 24px 40px;
    overflow-y: auto;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.42s var(--ease-out), visibility 0s linear 0.42s;
  }
  .primary-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.42s var(--ease-out), visibility 0s;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .primary-nav__list a {
    display: block;
    padding: 13px 14px;
    font-size: 16px;
    border-bottom: 1px solid rgba(226, 192, 126, 0.09);
    white-space: normal;
  }
  .primary-nav__list a::after {
    display: none;
  }
  .primary-nav__list a[aria-current="page"] {
    background: rgba(226, 192, 126, 0.08);
    border-left: 2px solid var(--gold-bright);
    padding-left: 18px;
    color: var(--gold-bright);
  }
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .site-footer__brand {
    max-width: 52ch;
  }
  .site-footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header__statement {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .site-header__main {
    gap: 10px;
  }
  .brand {
    gap: 10px;
  }
  .brand__plate {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .brand__name {
    font-size: 19px;
    letter-spacing: 0.1em;
  }
  .brand__tag {
    display: none;
  }
  .account__trigger {
    padding: 7px 10px;
    font-size: 13px;
  }
}

/* ---------- 14. 开门过渡 ---------- */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50.5vw;
  z-index: 9999;
  background: linear-gradient(180deg, var(--bg-abyss) 0%, var(--bg-ink) 100%);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
body::before {
  left: 0;
  border-right: 1px solid var(--line-gold);
}
body::after {
  right: 0;
  border-left: 1px solid var(--line-gold);
}
body.page-loaded::before {
  transform: translateX(-102%);
}
body.page-loaded::after {
  transform: translateX(102%);
}

/* ---------- 15. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body::before,
  body::after {
    content: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
