:root {
  --deep-space-blue: #0A1D4F;
  --night-blue: #0E2A5F;
  --gold-start: #B8860B;
  --gold-end: #FFD700;
  --accent-orange-red: #FF4500;
  --light-bg: #F0F4F8;
  --dark-muted: #121828;
  --text-main: #E8ECF1;
  --text-muted: #8A94A6;
  --success-green: #0F9D58;
  --font-heading: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --container-max: 1280px;
  --header-h: 82px;
  --radius-cut: 10px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.3px;
  background-color: var(--deep-space-blue);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--gold-end);
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent-orange-red);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  background: var(--accent-orange-red);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

/* ---------- 头部 ---------- */
.site-header {
  position: relative;
  background: rgba(10, 29, 79, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-brand__link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand__logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: skewX(-5deg);
}

.nav-brand__slogan {
  font-size: 0.68rem;
  letter-spacing: 3px;
  color: var(--text-main);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-brand__badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--deep-space-blue);
  background: var(--gold-end);
  padding: 2px 8px;
  border-radius: 30px;
  transform: skewX(-10deg);
  white-space: nowrap;
  letter-spacing: 1px;
}

.nav-command-bar {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-list__link {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  color: var(--text-main);
  border-radius: 4px;
  position: relative;
  letter-spacing: 0.5px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-list__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange-red), var(--gold-end));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-list__link:hover,
.nav-list__link:focus-visible {
  color: var(--gold-end);
  background: rgba(255, 215, 0, 0.06);
  transform: translateY(-1px);
}

.nav-list__link[aria-current="page"] {
  color: var(--gold-end);
  background: rgba(255, 215, 0, 0.08);
}

.nav-list__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  transition: background-color 0.25s var(--ease);
}

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-end);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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

/* ---------- 阅读进度 ---------- */
.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: transparent;
  z-index: 5;
  pointer-events: none;
}

.nav-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange-red), var(--gold-end));
  transition: width 0.05s linear;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark-muted);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--deep-space-blue) 0%, var(--accent-orange-red) 40%, var(--gold-end) 100%);
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px 28px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.footer-brand__logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: skewX(-5deg);
  display: inline-block;
  margin-bottom: 8px;
}

.footer-brand__slogan {
  font-size: 0.88rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-brand__statement {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 34em;
  line-height: 1.7;
}

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-end);
  border-left: 3px solid var(--accent-orange-red);
  padding-left: 12px;
  margin-bottom: 20px;
  transform: skewX(-10deg);
}

.footer-contact__list {
  display: grid;
  gap: 12px;
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
}

.footer-contact__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.footer-contact__value {
  font-size: 0.9rem;
  color: var(--text-main);
  word-break: break-word;
}

.footer-contact__value a {
  color: var(--text-main);
}

.footer-contact__value a:hover {
  color: var(--gold-end);
}

.footer-links__list {
  display: grid;
  gap: 10px;
}

.footer-links__list a {
  font-size: 0.9rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s var(--ease);
}

.footer-links__list a::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent-orange-red);
  display: block;
  transform: skewX(-20deg);
}

.footer-links__list a:hover {
  gap: 12px;
  color: var(--gold-end);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 215, 0, 0.12);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom__icp {
  letter-spacing: 1px;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-coord {
  position: relative;
}

.section-coord::before {
  content: attr(data-section-title);
  position: absolute;
  top: 12px;
  right: 24px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: top right;
  pointer-events: none;
  z-index: 0;
}

.section-active {
  background-color: rgba(255, 215, 0, 0.04);
  transition: background-color 0.4s var(--ease);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
  transform: skewX(-6deg);
}

.btn:hover {
  transform: skewX(-6deg) translateY(-2px);
}

.btn:active {
  transform: skewX(-6deg) translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--accent-orange-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 69, 0, 0.3);
}

.btn-primary:hover {
  background: #ff5a1f;
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 69, 0, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: var(--deep-space-blue);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.btn-gold:hover {
  color: var(--deep-space-blue);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.35);
}

/* ---------- 切角面板 ---------- */
.panel-cut {
  position: relative;
  background: var(--night-blue);
  border: 1px solid rgba(255, 215, 0, 0.18);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: 28px 32px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.panel-cut:hover {
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- 图例色块 ---------- */
.legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}

.legend-swatch--gold {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
}

.legend-swatch--orange {
  background: var(--accent-orange-red);
}

.legend-swatch--blue {
  background: var(--deep-space-blue);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

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

.breadcrumb__sep {
  color: var(--accent-orange-red);
  transform: rotate(20deg);
  display: inline-block;
}

.breadcrumb [aria-current="page"] {
  color: var(--gold-end);
  font-weight: 700;
}

/* ---------- 正文网格 ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.content-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 24px;
}

/* ---------- 路线列表 ---------- */
.list-route {
  display: grid;
  gap: 0;
}

.list-route > li {
  position: relative;
  padding: 18px 0 18px 26px;
  border-left: 2px solid rgba(255, 215, 0, 0.3);
  margin-left: 6px;
}

.list-route > li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--deep-space-blue);
  border: 2px solid var(--gold-end);
  transition: background-color 0.3s var(--ease);
}

.list-route > li:hover::before {
  background: var(--accent-orange-red);
}

.list-route__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.list-route__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 图片容器基础 ---------- */
.img-stage {
  position: relative;
  background: var(--night-blue);
  background-image: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 215, 0, 0.08) 50%, rgba(255, 215, 0, 0.08) 75%, transparent 75%, transparent);
  background-size: 24px 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 215, 0, 0.15);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.img-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 69, 0, 0.15) 50%, rgba(255, 215, 0, 0.2) 100%);
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.img-stage:hover::after {
  opacity: 1;
}

.img-stage--wide {
  aspect-ratio: 21 / 9;
}

.img-stage--square {
  aspect-ratio: 1 / 1;
}

.img-stage__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255, 215, 0, 0.35);
  font-size: 1.1rem;
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* ---------- 标题 ---------- */
.page-title,
.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: skewX(-5deg);
  line-height: 1.2;
  color: var(--text-main);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

p {
  margin-bottom: 1em;
}

.text-gold {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted {
  color: var(--text-muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .site-header__inner {
    height: var(--header-h);
    padding: 0 16px;
    gap: 12px;
  }

  .nav-command-bar {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(82vw, 330px);
    height: calc(100vh - var(--header-h));
    background: rgba(10, 29, 79, 0.98);
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: var(--shadow-1);
    transform: translateX(108%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    justify-content: flex-start;
    padding: 24px 16px;
    backdrop-filter: blur(20px);
  }

  .nav-command-bar[data-open] {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-list__link {
    font-size: 1.05rem;
    padding: 14px 18px;
    border-left: 2px solid transparent;
  }

  .nav-list__link[aria-current="page"] {
    border-left-color: var(--accent-orange-red);
    background: rgba(255, 215, 0, 0.06);
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-coord::before {
    display: none;
  }

  .content-aside {
    grid-template-columns: 1fr;
  }

  .panel-cut {
    padding: 20px 22px;
  }
}

@media (max-width: 560px) {
  .nav-brand__slogan {
    display: none;
  }

  .nav-brand__badge {
    font-size: 0.58rem;
    padding: 2px 6px;
  }

  .footer-brand__logo,
  .footer-brand__slogan {
    margin-bottom: 6px;
  }

  .footer-bottom__copyright {
    font-size: 0.75rem;
  }

  .footer-bottom__icp {
    font-size: 0.75rem;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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