/* ============================================================
   领航国际指南 · 共享样式表 /assets/site.css
   深海蓝 + 琥珀金 · 航海图式非对称版面
   ============================================================ */

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

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

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

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

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

/* ---------- 2. 设计令牌 ---------- */
:root {
  --sea-900: #061826;
  --sea-800: #0A2A43;
  --sea-700: #16496F;
  --mist: #A9BECF;
  --sand: #F4EEE2;
  --paper: #FBF8F2;
  --amber: #D99A2B;
  --amber-bright: #F2C46B;
  --line: #6E8799;
  --ink: #102A3A;

  --hairline: rgba(169, 190, 207, 0.26);
  --hairline-dark: rgba(110, 135, 153, 0.34);

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

  --max: 1200px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.02vw, 17.5px);
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { max-width: 68ch; }

::selection {
  background: var(--amber);
  color: var(--sea-900);
}

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

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

/* ---------- 4. 跳至主要内容 ---------- */
.site-skip {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -160%);
  display: inline-block;
  padding: 10px 22px;
  background: var(--amber);
  color: var(--sea-900);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  border-radius: 0 0 12px 12px;
  transition: transform 0.22s ease;
}

.site-skip:focus,
.site-skip:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 0;
}

/* ---------- 5. 刊头 ---------- */
.masthead {
  position: relative;
  background-color: var(--sea-800);
  background-image:
    repeating-linear-gradient(90deg, rgba(169, 190, 207, 0.07) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(169, 190, 207, 0.05) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, #0A2A43 0%, #0A2A43 58%, #0C3150 100%);
  color: var(--paper);
  border-bottom: 1px solid rgba(217, 154, 43, 0.45);
}

.masthead__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.masthead :focus-visible {
  outline-color: var(--amber-bright);
}

/* 5.1 仪表条 */
.masthead__utility {
  border-bottom: 1px solid var(--hairline);
}

.masthead__utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  min-height: 46px;
  padding-block: 8px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(242, 196, 107, 0.42);
  border-radius: 999px;
  color: var(--amber-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.version-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 154, 43, 0.22);
}

.quick-note {
  max-width: 52ch;
  color: var(--mist);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

/* 5.2 报头品牌 */
.masthead__brand-row {
  display: flex;
  justify-content: center;
  padding-block: clamp(22px, 3.6vw, 42px) clamp(18px, 2.6vw, 30px);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.brand__mark {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(242, 196, 107, 0.62);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(169, 190, 207, 0.45);
  border-radius: 50%;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 15px;
  border-radius: 2px;
  background: var(--amber);
  transform: translate(-50%, -50%) rotate(32deg);
  transition: transform 0.3s ease;
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: rotate(16deg);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--paper);
}

.brand__tagline {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.2vw, 12.5px);
  letter-spacing: 0.22em;
  color: var(--mist);
}

/* 5.3 导航行 */
.masthead__nav-row {
  position: relative;
  border-top: 1px solid var(--hairline);
}

.masthead__nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  min-height: 58px;
  padding-block: 6px;
}

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

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 4px;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--line);
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--paper);
  background: rgba(242, 196, 107, 0.09);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__link:hover .site-nav__index,
.site-nav__link:focus-visible .site-nav__index {
  color: var(--amber-bright);
}

.site-nav__link[aria-current="page"] {
  color: var(--paper);
  background: rgba(242, 196, 107, 0.12);
}

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

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--amber-bright);
}

.masthead__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 20px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: var(--amber);
  color: var(--sea-900);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.masthead__cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-weight: 400;
}

.masthead__cta:hover,
.masthead__cta:focus-visible {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
  transform: translateX(2px);
}

/* 5.4 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(169, 190, 207, 0.42);
  border-radius: 10px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--amber);
  background: rgba(242, 196, 107, 0.1);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

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

/* 5.5 航线进度 */
.route-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(169, 190, 207, 0.18);
  overflow: hidden;
}

.route-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-bright));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 108px);
  background-color: var(--sea-900);
  background-image:
    repeating-linear-gradient(135deg, rgba(169, 190, 207, 0.05) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, #061826 0%, #08202F 100%);
  color: var(--paper);
  border-top: 1px solid rgba(217, 154, 43, 0.55);
}

.site-footer :focus-visible {
  outline-color: var(--amber-bright);
}

.footer__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 66px) var(--gutter) clamp(22px, 3vw, 32px);
}

.footer__lede {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  padding-bottom: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px dashed rgba(169, 190, 207, 0.32);
}

.footer__intro {
  max-width: 40ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.footer__tip {
  max-width: 46ch;
  color: var(--amber-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  padding-block: clamp(24px, 3.4vw, 42px);
}

.footer__col {
  min-width: 0;
}

.footer__col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.footer__col-title::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--amber);
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(251, 248, 242, 0.84);
  font-size: 14.5px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer__link::before {
  content: "›";
  font-family: var(--font-mono);
  color: var(--line);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--amber-bright);
}

.footer__link:hover::before,
.footer__link:focus-visible::before {
  color: var(--amber);
  transform: translateX(2px);
}

.footer__contact-list {
  display: grid;
  gap: 12px;
}

.footer__contact-item {
  display: grid;
  gap: 2px;
}

.footer__contact-label {
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.footer__contact-value {
  color: rgba(251, 248, 242, 0.9);
  font-size: 14.5px;
  line-height: 1.7;
  word-break: break-word;
}

.footer__contact-value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  color: var(--paper);
}

.footer__note {
  max-width: 78ch;
  margin-top: 4px;
  padding: 10px 0 10px 16px;
  border-left: 2px solid var(--amber);
  border-radius: 0 8px 8px 0;
  background: rgba(169, 190, 207, 0.07);
  color: rgba(169, 190, 207, 0.9);
  font-size: 12.5px;
  line-height: 1.85;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-left: auto;
}

.footer__legal-link {
  color: rgba(251, 248, 242, 0.78);
  transition: color 0.2s ease;
}

.footer__legal-link:hover,
.footer__legal-link:focus-visible {
  color: var(--amber-bright);
}

/* ---------- 7. 通用版式 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(38px, 6vw, 76px);
}

.section--sand {
  background: var(--sand);
}

.section--navy {
  background: var(--sea-800);
  color: var(--paper);
}

.section--navy:focus-visible,
.section--sand:focus-visible {
  outline-offset: -4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sea-700);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  line-height: 1.6;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--amber);
}

.section--navy .eyebrow { color: var(--amber-bright); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.9;
}

.section--navy .lede { color: var(--mist); }

.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 34px);
}

.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn::after {
  content: "→";
  font-family: var(--font-mono);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(3px);
}

.btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--sea-900);
}

.btn--amber:hover,
.btn--amber:focus-visible {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
}

.btn--ghost {
  background: transparent;
  border-color: var(--sea-700);
  color: var(--sea-800);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(22, 73, 111, 0.08);
  border-color: var(--amber);
  color: var(--sea-900);
}

.btn--onDark {
  background: transparent;
  border-color: rgba(251, 248, 242, 0.5);
  color: var(--paper);
}

.btn--onDark:hover,
.btn--onDark:focus-visible {
  border-color: var(--amber);
  color: var(--amber-bright);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  padding-block: clamp(14px, 2.2vw, 24px);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb__link {
  color: var(--sea-700);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumb__link:hover,
.breadcrumb__link:focus-visible {
  color: var(--sea-900);
  border-color: var(--amber);
}

.breadcrumb__current {
  color: var(--ink);
}

/* ---------- 10. 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover,
.card:focus-within {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -32px rgba(6, 24, 38, 0.85);
}

.card__index {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.card__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  font-weight: 800;
  line-height: 1.35;
}

.card__text {
  color: var(--sea-700);
  font-size: 14.5px;
  line-height: 1.8;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--sea-800);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.card__link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.card__link:hover,
.card__link:focus-visible {
  color: #8A5C10;
}

.card:hover .card__link::after,
.card__link:hover::after,
.card__link:focus-visible::after {
  transform: translateX(3px);
}

/* ---------- 11. 提示条 ---------- */
.note-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px 14px;
  padding: 15px 18px;
  border: 1px solid rgba(217, 154, 43, 0.34);
  border-radius: var(--radius-sm);
  background: var(--sand);
  font-size: 14.5px;
  line-height: 1.8;
}

.note-bar__label {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--sea-900);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  white-space: nowrap;
}

.note-bar--dark {
  background: rgba(169, 190, 207, 0.1);
  border-color: rgba(169, 190, 207, 0.32);
  color: var(--paper);
}

/* ---------- 12. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(110, 135, 153, 0.5);
  border-radius: 999px;
  background: rgba(169, 190, 207, 0.18);
  color: var(--sea-700);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.tag--amber {
  border-color: rgba(217, 154, 43, 0.5);
  background: rgba(217, 154, 43, 0.16);
  color: var(--sea-900);
}

/* ---------- 13. 信息块 ---------- */
.panel {
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  background: var(--paper);
}

.panel--sand {
  background: var(--sand);
  border-color: rgba(217, 154, 43, 0.3);
}

.panel--navy {
  background: var(--sea-800);
  border-color: rgba(169, 190, 207, 0.28);
  color: var(--paper);
}

.stat {
  display: grid;
  gap: 4px;
}

.stat__value {
  color: var(--sea-800);
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3;
}

.stat__label {
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.panel--navy .stat__value,
.section--navy .stat__value { color: var(--amber-bright); }

.panel--navy .stat__label,
.section--navy .stat__label { color: var(--mist); }

/* ---------- 14. 编号航线列表 ---------- */
.route-list {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.route-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(110, 135, 153, 0.26);
}

.route-list__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.route-list__num {
  padding-top: 2px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.route-list__body {
  display: grid;
  gap: 6px;
}

.route-list__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.45;
}

.route-list__text {
  color: var(--sea-700);
  font-size: 14.5px;
  line-height: 1.85;
}

.section--navy .route-list__text,
.panel--navy .route-list__text { color: var(--mist); }

/* ---------- 15. 图片容器 ---------- */
.figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.figure__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--figure-ratio, 16 / 9);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  background-color: var(--sand);
  background-image:
    linear-gradient(140deg, rgba(169, 190, 207, 0.34), rgba(244, 238, 226, 0.92)),
    repeating-linear-gradient(90deg, rgba(22, 73, 111, 0.12) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, rgba(22, 73, 111, 0.12) 0 1px, transparent 1px 30px);
}

.figure__img > img,
.figure__img > picture,
.figure__img > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--wide { --figure-ratio: 21 / 9; }
.figure--portrait { --figure-ratio: 4 / 5; }
.figure--square { --figure-ratio: 1 / 1; }

.figure__caption {
  padding-left: 10px;
  border-left: 2px solid var(--amber);
  color: var(--sea-700);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

/* ---------- 16. 折叠问答 ---------- */
.accordion {
  display: grid;
  gap: 10px;
}

.accordion__item {
  overflow: hidden;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.2s ease;
}

.accordion__item:hover,
.accordion__item:focus-within {
  border-color: rgba(217, 154, 43, 0.62);
}

.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: var(--sea-800);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.accordion__trigger:hover {
  color: var(--sea-900);
  background: rgba(244, 238, 226, 0.7);
}

.accordion__trigger::after {
  content: "+";
  margin-left: auto;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.22s ease;
}

.accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.accordion__index {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.accordion__panel {
  padding: 0 18px 18px;
  color: var(--sea-700);
  font-size: 14.5px;
  line-height: 1.85;
}

.accordion__panel[hidden] {
  display: none;
}

/* ---------- 17. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--split { grid-template-columns: 1fr; }
  .grid--thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }

  .masthead__nav-inner {
    gap: 10px;
    padding-block: 10px;
  }

  .site-nav {
    display: none;
    order: 3;
    flex: 1 1 100%;
    padding: 6px 0 8px;
    border-top: 1px solid var(--hairline);
  }

  .site-nav[data-open] {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list > li + li {
    border-top: 1px solid rgba(169, 190, 207, 0.14);
  }

  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 8px;
    font-size: 16px;
    border-radius: 0;
  }

  .site-nav__link::after {
    left: 8px;
    right: 8px;
    bottom: 0;
  }

  .masthead__cta {
    padding: 9px 16px;
    font-size: 13px;
  }

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

@media (max-width: 780px) {
  .grid--halves,
  .grid--thirds { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .masthead__utility-inner {
    justify-content: flex-start;
    gap: 6px;
  }

  .quick-note {
    flex: 1 1 100%;
    font-size: 11.5px;
  }
}

@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer__legal-links {
    margin-left: 0;
  }

  .note-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- 19. 减少动效 ---------- */
@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;
    transition-delay: 0ms !important;
  }

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

  .route-progress__bar {
    transition: none;
  }
}
