/* ==========================================================================
   新葡京中心 · 共享站点样式 /assets/site.css
   顺序：变量 → 重置 → 基础排版 → 通用组件 → 头部 → 页脚 → 响应式 → 无障碍
   ========================================================================== */

:root {
  /* 色彩 */
  --ink: #070E1A;
  --panel: #0E1B2E;
  --card: #16263D;
  --cyan: #22E0D6;
  --cyan-soft: #7CF2EA;
  --cyan-deep: #0B7F7A;
  --gold: #F2C14E;
  --magenta: #E8457C;
  --text: #E9EFF7;
  --muted: #9FB0C7;
  --line: #4A5D78;
  --line-soft: rgba(74, 93, 120, 0.34);

  /* 尺度 */
  --rail: 132px;
  --pad: clamp(18px, 4vw, 44px);
  --shell: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  /* 字体 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 运行时 */
  --progress: 0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

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

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

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

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

a { color: inherit; }

table { border-collapse: collapse; }

/* ---------- 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.012em;
  color: var(--text);
  background: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#main-content { display: block; outline: none; }

p { max-width: 38em; }

b, strong { font-weight: 700; }

::selection {
  background: rgba(34, 224, 214, 0.28);
  color: #FFFFFF;
}

/* ---------- 文字组件 ---------- */
.t-display {
  font-size: clamp(34px, 7vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.t-h3 {
  font-size: clamp(19px, 2.6vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.t-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.t-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}

.t-vertical {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.sr-only {
  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;
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(44px, 7vw, 84px);
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.grid > * { grid-column: span 12; min-width: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--cyan);
  border-radius: 0;
  color: var(--cyan);
  background: transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--solid {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04171B;
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  color: #04171B;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(34, 224, 214, 0.1);
  border-color: var(--cyan-soft);
  color: var(--cyan-soft);
}

.btn--gold {
  border-color: rgba(242, 193, 78, 0.72);
  color: var(--gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: rgba(242, 193, 78, 0.12);
  border-color: var(--gold);
}

/* ---------- 卡片与标签 ---------- */
.card {
  position: relative;
  padding: clamp(16px, 2.2vw, 22px);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 0;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.card:hover,
.card:focus-within {
  border-color: var(--cyan);
  background: #17293F;
}

.card--new::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  background: var(--magenta);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 0;
  white-space: nowrap;
}

.tag--cyan { color: var(--cyan); border-color: rgba(34, 224, 214, 0.6); }
.tag--gold { color: var(--gold); border-color: rgba(242, 193, 78, 0.6); }
.tag--magenta { color: var(--magenta); border-color: rgba(232, 69, 124, 0.6); }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.breadcrumbs__list > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__list > li:not(:last-child)::after {
  content: "/";
  color: var(--line);
}

.breadcrumbs__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible { color: var(--cyan-soft); }

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

/* ---------- 编号分割器 ---------- */
.divider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.divider__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.divider__body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.divider__title {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.divider__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

/* ---------- 图片容器（页面阶段放置图片/占位） ---------- */
.media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 0;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(34, 224, 214, 0.08), transparent 42%, rgba(7, 14, 26, 0.62)),
    repeating-linear-gradient(90deg, rgba(74, 93, 120, 0.16) 0 1px, transparent 1px 25%);
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

/* ---------- 阅读进度与返回顶部 ---------- */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(74, 93, 120, 0.3);
}

.scroll-meter__fill {
  display: block;
  width: calc(var(--progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  transition: width 0.1s linear;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
  background: rgba(14, 27, 46, 0.94);
  border: 1px solid var(--line);
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s linear, border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover,
.to-top:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan-soft);
}

/* ==========================================================================
   头部 · 垂直品牌轨道
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(14, 27, 46, 0.99), rgba(10, 20, 36, 0.96));
  border-bottom: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #04171B;
  background: var(--cyan);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.rail { display: flex; flex-direction: column; }

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--pad);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.brand-mark {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle-icon { display: grid; gap: 4px; width: 14px; }

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.18s var(--ease);
}

.site-header[data-open] .nav-toggle-bar:first-child { transform: translateY(2.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bar:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.site-header:not([data-nav-ready]) .nav-toggle { display: none; }

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  max-height: none;
  overflow: visible;
  padding-inline: var(--pad);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.site-header[data-nav-ready] .site-nav {
  max-height: 0;
  overflow: hidden;
  border-bottom-color: transparent;
  transition: max-height 0.28s var(--ease), border-color 0.28s var(--ease);
}

.site-header[data-nav-ready][data-open] .site-nav,
.site-nav[data-open] {
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  border-bottom-color: var(--line);
}

.nav-list { display: flex; flex-direction: column; }

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-soft);
  transition: background-color 0.18s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--cyan-soft); }

.nav-link:hover::after,
.nav-link:focus-visible::after { background: rgba(34, 224, 214, 0.55); }

.nav-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(34, 224, 214, 0.55);
}

.nav-label { display: inline-block; }

.nav-link[aria-current="page"] {
  color: var(--text);
  font-weight: 800;
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--cyan);
}

.nav-link[aria-current="page"]::after { background: var(--cyan); }

.nav-link[aria-current="page"] .nav-num { color: var(--gold); }

.nav-extra {
  display: grid;
  gap: 10px;
  padding-block: 16px 20px;
  border-top: 1px solid var(--line-soft);
}

.rail-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  text-decoration: none;
  border: 1px solid rgba(242, 193, 78, 0.5);
  border-radius: 0;
  background: rgba(242, 193, 78, 0.06);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.rail-badge:hover,
.rail-badge:focus-visible {
  border-color: var(--gold);
  background: rgba(242, 193, 78, 0.13);
}

.rail-badge__ver {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.rail-badge__note {
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.rail-cta {
  display: block;
  padding: 9px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  color: #04171B;
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 0;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.rail-cta:hover,
.rail-cta:focus-visible {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.rail-cta--ghost {
  color: var(--cyan);
  background: transparent;
  border-color: rgba(34, 224, 214, 0.45);
}

.rail-cta--ghost:hover,
.rail-cta--ghost:focus-visible {
  color: var(--cyan-soft);
  background: rgba(34, 224, 214, 0.1);
  border-color: var(--cyan);
}

.rail-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--muted);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  margin-top: clamp(40px, 7vw, 88px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 10% 0%, rgba(11, 127, 122, 0.2), transparent 62%),
    radial-gradient(70% 110% at 88% 0%, rgba(34, 224, 214, 0.09), transparent 60%),
    var(--ink);
  padding-top: clamp(32px, 5vw, 56px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brandline {
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 20em;
}

.footer-ver {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-ver__tag {
  padding: 1px 7px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(242, 193, 78, 0.55);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.footer-col__title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cyan);
}

.footer-list { display: grid; gap: 8px; }

.footer-link {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible { color: var(--text); }

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

.contact-list { display: grid; gap: 10px; }

.contact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.contact-val {
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-val--mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.footer-note {
  margin-top: 14px;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 1px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  padding-block: 18px 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-legal__icp { color: var(--muted); }

/* ==========================================================================
   显现（需 JS 添加 .js 才启用，避免无脚本时内容不可见）
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 768px) {
  .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-12 { grid-column: span 12; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }

  .t-vertical { letter-spacing: 0.3em; }
}

@media (max-width: 767px) {
  .t-vertical {
    writing-mode: horizontal-tb;
    letter-spacing: 0.18em;
  }

  .divider { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .divider__body { gap: 4px 12px; }
}

@media (min-width: 1024px) {
  body { font-size: 17px; padding-left: var(--rail); }

  .site-header {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--rail);
    height: 100dvh;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background:
      radial-gradient(130% 42% at 50% 0%, rgba(34, 224, 214, 0.16), transparent 72%),
      linear-gradient(180deg, #0E1B2E 0%, #0A1424 58%, #08111F 100%);
  }

  .rail {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .rail-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 14px 14px;
    border-bottom: 1px solid rgba(74, 93, 120, 0.3);
  }

  .brand-mark { font-size: 15px; letter-spacing: 0; }
  .brand-sub { font-size: 9px; letter-spacing: 0.16em; }

  .nav-toggle { display: none; }

  .site-nav,
  .site-header[data-nav-ready] .site-nav,
  .site-header[data-nav-ready][data-open] .site-nav,
  .site-nav[data-open] {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 14px 18px;
    background: none;
    border-bottom: 0;
    transition: none;
  }

  .nav-link {
    padding: 9px 0;
    font-size: 13px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .nav-link::after { background: rgba(74, 93, 120, 0.28); }

  .nav-link[aria-current="page"]::before {
    top: 6px;
    bottom: 6px;
    left: -14px;
  }

  .nav-num { font-size: 9.5px; }

  .nav-extra {
    gap: 8px;
    padding-block: 14px 0;
    border-top: 1px solid rgba(74, 93, 120, 0.3);
  }

  .rail-badge { padding: 6px 7px; }
  .rail-badge__ver { font-size: 12px; }
  .rail-badge__note { font-size: 9px; letter-spacing: 0; }

  .rail-cta { padding: 8px 4px; font-size: 11.5px; }

  .rail-note {
    margin-top: 6px;
    writing-mode: vertical-rl;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    line-height: 1.6;
    padding-left: 2px;
  }

  .scroll-meter {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .scroll-meter__fill {
    width: 100%;
    height: calc(var(--progress) * 100%);
    background: linear-gradient(180deg, var(--cyan-deep), var(--cyan));
    transition: height 0.1s linear;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.9fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .footer-brand { grid-column: auto; }

  .to-top { right: 24px; bottom: 26px; }

  .skip-link { left: calc(var(--rail) + 10px); }
}

/* ==========================================================================
   无障碍
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan-soft);
  outline-offset: 2px;
}

@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;
  }

  .to-top { transition: none; }
}
