/* ============================================================
   365赔率站 · 共享样式 /assets/site.css
   高原数据年鉴：夜空蓝底、湖青结构线、暖金数字
   ============================================================ */

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

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

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

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

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

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

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

table { border-collapse: collapse; }

:root {
  /* 品牌色板 */
  --night: #0E1B3C;
  --indigo: #172A5E;
  --lake: #0F9C97;
  --lake-soft: #8AD9D4;
  --wine: #7A2E3B;
  --gold: #E8B44A;
  --gold-soft: #F6DFA8;
  --paper: #F4F7FA;
  --ink: #101828;
  --slate: #5B6779;
  --moss: #2F6B4F;
  --warm: #FFFDF7;

  /* 结构线 */
  --line-dark: rgba(138, 217, 212, 0.26);
  --line-dark-soft: rgba(138, 217, 212, 0.13);
  --line-light: rgba(16, 24, 40, 0.14);
  --line-lake: rgba(15, 156, 151, 0.42);

  /* 字体 */
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Source Han Mono SC", "Noto Sans Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  /* 尺度 */
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --step: clamp(52px, 7vw, 104px);
  --cut: 22px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
}

h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(23px, 3.2vw, 32px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }

p { text-wrap: pretty; }

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

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lake-soft);
}

/* ---------- 基础工具类 ---------- */

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

.wrap {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.content-shell {
  width: 100%;
  max-width: calc(820px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.side-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--lake);
  text-transform: uppercase;
}

.text-link {
  color: var(--lake);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.text-link:hover { color: var(--indigo); }

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: absolute;
  left: 14px;
  top: -120px;
  z-index: 130;
  padding: 11px 20px;
  background: var(--gold);
  color: var(--night);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: top 0.22s ease;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   页头
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--night);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}

.header-band { padding: 16px 0 14px; }

.header-inner {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-glyph {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--lake);
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 28% 100%, 0 72%);
}
.brand-glyph::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 7px;
  height: 2px;
  background: var(--night);
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--warm);
}

.brand-tag {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--lake-soft);
  padding-left: 37px;
}

/* 导航 */

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

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: rgba(244, 247, 250, 0.74);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--lake-soft);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease-out, background-color 0.24s ease;
}
.nav-link:hover { color: var(--warm); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold);
}

/* 移动端按钮 */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--lake-soft);
  font-size: 13px;
  letter-spacing: 0.16em;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover { color: var(--gold); border-color: var(--gold); }

.nav-toggle-lines {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
}
.nav-toggle-lines::before { top: -5px; }
.nav-toggle-lines::after { top: 5px; }

/* 遮罩 */

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(14, 27, 60, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.site-header[data-nav-open="true"] .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

/* 全局检索索引带 */

.search-rail {
  background: var(--indigo);
  border-top: 1px solid var(--line-dark-soft);
  padding: 11px 0 10px;
}

.search-inner {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.search-label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--lake-soft);
}

.search-input {
  flex: 1 1 220px;
  min-width: 140px;
  padding: 9px 12px;
  background: rgba(255, 253, 247, 0.06);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--lake);
  color: var(--warm);
  font-size: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.search-input::placeholder { color: rgba(244, 247, 250, 0.44); }
.search-input:focus { background: rgba(255, 253, 247, 0.1); border-color: var(--lake-soft); }

.search-clear {
  flex: none;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--lake-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.search-clear:hover { color: var(--gold); border-color: var(--gold); }
.search-clear[hidden] { display: none; }

.search-hints {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.search-hints::-webkit-scrollbar { display: none; }

.search-hint { flex: none; }
.search-hint[hidden] { display: none; }

.search-hint-link {
  display: inline-block;
  padding: 4px 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--lake-soft);
  border: 1px solid var(--line-dark);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.search-hint-link:hover {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
}

.search-empty {
  flex: 1 1 100%;
  font-size: 13px;
  color: var(--gold-soft);
}
.search-empty[hidden] { display: none; }

/* 阅读进度刻度 */

.scroll-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--line-dark-soft);
}
.scroll-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--lake), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  position: relative;
  margin-top: var(--step);
  background: var(--indigo);
  color: var(--paper);
  border-top: 2px solid var(--gold);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 24px, transparent 24px 48px);
  opacity: 0.5;
}

.footer-grid {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: calc(var(--step) * 0.7) var(--gutter) calc(var(--step) * 0.5);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer-block { min-width: 0; }

.footer-brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--warm);
}

.footer-brand-line {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(244, 247, 250, 0.68);
  max-width: 34ch;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold-soft);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-dark-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  font-size: 14.5px;
  color: rgba(244, 247, 250, 0.76);
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-link:hover {
  color: var(--gold);
  border-left-color: var(--gold);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
  color: rgba(244, 247, 250, 0.76);
}
.footer-meta .mono {
  color: var(--gold-soft);
  font-size: 13.5px;
}

.footer-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(244, 247, 250, 0.52);
}

.footer-base {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid var(--line-dark-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: rgba(244, 247, 250, 0.6);
}
.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--lake-soft);
}
.footer-region {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}

/* ============================================================
   通用组件
   ============================================================ */

/* 彩色分区 */

.band {
  position: relative;
  padding-block: var(--step);
}
.band--night { background: var(--night); color: var(--paper); }
.band--indigo { background: var(--indigo); color: var(--paper); }
.band--wine { background: var(--wine); color: var(--paper); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--warm { background: var(--warm); color: var(--ink); }

.band--night::before,
.band--indigo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(115deg, transparent 47.9%, rgba(138, 217, 212, 0.09) 47.9%, rgba(138, 217, 212, 0.09) 48.2%, transparent 48.2%);
}

.band > * { position: relative; }

/* 章节标题组 */

.section-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2.4vw, 30px);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.section-index {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(40px, 7vw, 74px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: rgba(91, 103, 121, 0.3);
  transition: color 0.42s ease-out;
}
.section-index.is-active { color: var(--gold); }
.band--night .section-index,
.band--indigo .section-index { color: rgba(138, 217, 212, 0.28); }
.band--night .section-index.is-active,
.band--indigo .section-index.is-active { color: var(--gold); }

.section-title {
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 800;
}

.section-lead {
  margin-top: 8px;
  max-width: 62ch;
  font-size: 16px;
  color: var(--slate);
}
.band--night .section-lead,
.band--indigo .section-lead,
.band--wine .section-lead { color: rgba(244, 247, 250, 0.72); }

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--gold);
}

.btn--primary { background: var(--lake); border-color: var(--lake); color: #04201F; }
.btn--primary:hover { background: var(--lake-soft); border-color: var(--lake-soft); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

.btn--ghost { border-color: var(--lake); color: var(--lake); }
.btn--ghost:hover { background: var(--lake); color: var(--warm); }

.btn--ghost-light { border-color: var(--lake-soft); color: var(--lake-soft); }
.btn--ghost-light:hover { background: var(--lake-soft); color: var(--night); }

.btn--quiet { border-color: var(--line-light); color: var(--ink); }
.btn--quiet:hover { border-color: var(--ink); }

/* 面包屑 */

.breadcrumb { font-size: 13px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--slate);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "／";
  margin: 0 9px;
  font-family: var(--font-mono);
  color: var(--lake);
}

.breadcrumb-link {
  color: var(--slate);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.breadcrumb-link:hover { color: var(--lake); border-bottom-color: var(--lake); }

.breadcrumb-current { color: var(--ink); font-weight: 600; }

/* 切角面板 */

.cut-panel {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  background: var(--warm);
  border: 2px solid var(--line-light);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.cut-panel--lake { border-color: var(--lake); }
.cut-panel--dark {
  background: var(--night);
  border-color: var(--lake);
  color: var(--paper);
}

/* 数据表格 */

.data-table {
  width: 100%;
  font-size: 15px;
}

.data-table caption {
  padding-bottom: 12px;
  text-align: left;
  font-size: 13px;
  color: var(--slate);
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-light);
}

.data-table thead th {
  background: var(--night);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-bottom: 2px solid var(--lake);
  white-space: nowrap;
}
.data-table thead th:first-child { color: var(--warm); }

.data-table th[scope="row"] { font-weight: 700; }

.data-table tbody tr { transition: background-color 0.2s ease; }
.data-table tbody tr:hover { background: rgba(15, 156, 151, 0.07); }
.data-table tbody tr[data-collapsed="true"] { display: none; }

.cell-index { font-family: var(--font-mono); color: var(--slate); }
.num--price { color: var(--wine); font-weight: 700; font-size: 16px; }
.band--night .num--price,
.band--indigo .num--price { color: var(--gold); }

/* 时间轴 */

.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--lake), rgba(15, 156, 151, 0.1));
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border: 2px solid var(--lake);
  transform: rotate(45deg);
  transition: background-color 0.24s ease, border-color 0.24s ease;
}
.timeline-item[data-open="true"]::before {
  background: var(--gold);
  border-color: var(--gold);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--lake);
}
.timeline-title { margin-top: 4px; font-size: 17px; font-weight: 700; }
.timeline-body { margin-top: 8px; font-size: 15px; color: var(--slate); }
.timeline-toggle {
  margin-top: 6px;
  padding: 5px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--lake);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.timeline-toggle:hover { color: var(--indigo); }

/* 状态标记 */

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--moss);
  border: 1px solid rgba(47, 107, 79, 0.42);
  background: rgba(47, 107, 79, 0.08);
}
.status-tag--lake {
  color: var(--indigo);
  border-color: var(--line-lake);
  background: rgba(15, 156, 151, 0.1);
}
.status-tag--wine {
  color: var(--wine);
  border-color: rgba(122, 46, 59, 0.42);
  background: rgba(122, 46, 59, 0.07);
}

/* 图片容器 */

.figure-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--indigo);
  border: 2px solid var(--lake);
}
.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure-frame--wide { aspect-ratio: 21 / 9; }
.figure-frame--tall { aspect-ratio: 4 / 5; }
.figure-frame--square { aspect-ratio: 1 / 1; }

.figure-frame--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(138, 217, 212, 0.14) 0 2px, transparent 2px 13px);
  pointer-events: none;
}

.figure-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(to top, rgba(14, 27, 60, 0.9), transparent);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* 网格 */

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

/* ---------- 动效 ---------- */

body.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.42s ease-out, transform 0.42s ease-out;
}
body.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-block:last-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

  .nav-rail {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(330px, 88vw);
    padding: 96px 30px 36px;
    background: var(--indigo);
    border-left: 2px solid var(--lake);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 0.32s ease-out;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .nav-rail[data-open="true"] { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }

  .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line-dark-soft);
  }
  .nav-link::after {
    left: 0;
    right: auto;
    width: 30px;
    bottom: 10px;
  }

  .brand-tag { padding-left: 0; letter-spacing: 0.16em; }

  .header-band { padding: 14px 0 12px; }
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-block:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .section-head { flex-direction: column; gap: 8px; }
  .section-index { font-size: 44px; }

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

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; }

  .data-table { font-size: 14px; }
  .data-table th, .data-table td { padding: 10px 9px; }
}

/* ---------- reduced motion ---------- */

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

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

  .nav-rail { transition: none; }
  .scroll-fill { transition: none; }
}
