/* =========================================================
   site.css — 澳门黄金金版 · 共享外壳与通用组件
   ========================================================= */

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

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

body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol {
  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; }

table { border-collapse: collapse; width: 100%; }

th, td { text-align: left; }

/* ---------- 2. Variables ---------- */
:root {
  --ink: #0B0D0C;
  --ink-2: #121614;
  --ink-3: #1C221F;
  --gold: #C9A24B;
  --gold-lt: #E8CE8F;
  --amber: #E08A2E;
  --jade: #1F6F5C;
  --mint: #4FB79A;
  --mist: #D9DED8;
  --paper: #F3F1EA;
  --blue: #7FA6A0;

  --txt: #D9DED8;
  --txt-dim: #98A49E;
  --line: rgba(127, 166, 160, 0.20);
  --line-soft: rgba(127, 166, 160, 0.12);
  --line-strong: rgba(127, 166, 160, 0.36);
  --gold-line: rgba(201, 162, 75, 0.45);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;

  --rail: 0px;
  --gutter: 20px;
  --maxw: 1320px;
  --hdr-h: 94px;

  --dur: 220ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
}

@media (min-width: 1100px) {
  :root { --rail: 46px; --gutter: 32px; }
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(127, 166, 160, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 166, 160, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.005em;
  padding-left: var(--rail);
  -webkit-font-smoothing: antialiased;
}

main { display: block; min-height: 50vh; }

#main-content:focus { outline: none; }

[data-section] { scroll-margin-top: calc(var(--hdr-h) + 20px); }

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

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

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* ---------- 4. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-6); }
.section--tight { padding-block: var(--sp-4); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--sp-1);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: var(--sp-4);
}

.section-head__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--paper);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--gold-lt);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.btn:hover { background: rgba(201, 162, 75, 0.14); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--mist);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-lt);
  background: rgba(201, 162, 75, 0.10);
}

.btn--sm {
  padding: 7px 13px;
  font-size: 12.5px;
}

/* ---------- 6. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: currentColor;
}

.tag--stable {
  color: var(--mint);
  border-color: rgba(79, 183, 154, 0.5);
  background: rgba(31, 111, 92, 0.18);
}

.tag--pending {
  color: var(--amber);
  border-color: rgba(224, 138, 46, 0.5);
  background: rgba(224, 138, 46, 0.12);
}

.tag--link {
  color: var(--gold-lt);
  border-color: var(--gold-line);
  background: rgba(201, 162, 75, 0.10);
}

/* ---------- 7. Panel ---------- */
.panel {
  position: relative;
  background: var(--ink-3);
  border: 1px solid var(--line);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 12, 0.55);
}

.panel__code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 8. Data table ---------- */
.data-table {
  font-size: 14px;
  line-height: 1.6;
}

.data-table caption {
  caption-side: top;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(18, 22, 20, 0.8);
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr {
  transition: background var(--dur) var(--ease);
}

.data-table tbody tr:hover { background: rgba(201, 162, 75, 0.06); }

.data-table tbody tr:hover td:first-child {
  box-shadow: inset 2px 0 0 var(--gold);
}

.data-table td:first-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--gold-lt);
}

/* ---------- 9. Prose ---------- */
.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--txt);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.prose h2 { font-size: clamp(22px, 2.6vw, 28px); }
.prose h3 { font-size: clamp(18px, 2vw, 20px); }

.prose ul,
.prose ol {
  padding-left: 1.25em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.4em; }

.prose a {
  color: var(--gold-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-line);
}

.prose a:hover { text-decoration-color: var(--gold); }

.prose strong { color: var(--paper); font-weight: 700; }

.prose blockquote {
  padding-left: var(--sp-3);
  border-left: 1px solid var(--gold-line);
  color: var(--mist);
}

/* ---------- 10. Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: var(--sp-3); }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--txt-dim);
}

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

.breadcrumbs__link {
  text-decoration: none;
  color: var(--mist);
  transition: color var(--dur) var(--ease);
}

.breadcrumbs__link:hover { color: var(--gold-lt); }

.breadcrumbs__sep { color: var(--blue); }

.breadcrumbs__item[aria-current="page"] { color: var(--gold-lt); }

/* ---------- 11. Media / image containers ---------- */
.media {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-3);
  overflow: hidden;
}

.media__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1C221F 0%, #0B0D0C 72%);
}

.media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(127, 166, 160, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 166, 160, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__caption {
  padding: 8px 11px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-dim);
}

.media--wide .media__frame { aspect-ratio: 21 / 9; }
.media--square .media__frame { aspect-ratio: 1 / 1; }

/* ---------- 12. Skip link ---------- */
.skip-link {
  position: absolute;
  top: -72px;
  left: calc(var(--rail) + 10px);
  z-index: 300;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus { top: 10px; }

/* ---------- 13. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink-2);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* 左侧坐标栏 */
.nav-rail { display: none; }

@media (min-width: 1100px) {
  .nav-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    width: var(--rail);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    background: linear-gradient(180deg, #121614 0%, #0B0D0C 62%);
    border-right: 1px solid var(--line);
    pointer-events: none;
  }
}

.nav-rail__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--blue);
  writing-mode: vertical-rl;
}

.nav-rail__label:first-child { color: var(--gold-lt); }

.nav-rail__ticks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.nav-rail__ticks span {
  display: block;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line));
}

.nav-rail__ticks span:nth-child(3n) {
  width: 7px;
  background: var(--blue);
  opacity: 0.55;
}

/* 版本状态带 */
.hdr-band {
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.hdr-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  height: 30px;
  padding-inline: var(--gutter);
  overflow: hidden;
}

.hdr-band__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-lt);
  white-space: nowrap;
}

.hdr-band__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.hdr-band__meta span { display: inline-flex; align-items: center; gap: 10px; }

.hdr-band__meta span + span::before {
  content: "·";
  color: rgba(127, 166, 160, 0.5);
}

@media (max-width: 520px) {
  .hdr-band__meta { display: none; }
}

/* 主栏 */
.hdr-main { padding-inline: var(--gutter); }

.hdr-main__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 63px;
  max-width: var(--maxw);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--gold-line);
  background: linear-gradient(140deg, rgba(201, 162, 75, 0.22), transparent 65%);
  color: var(--gold-lt);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.brand__sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
}

/* 菜单按钮 */
.nav-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 40px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--gold); color: var(--gold-lt); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background var(--dur) var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: top var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 导航（移动端折叠面板） */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-height: calc(100vh - var(--hdr-h));
  padding: 8px var(--gutter) 20px;
  overflow-y: auto;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
}

[data-header][data-open] .site-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--mist);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.site-nav__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
  transition: color var(--dur) var(--ease);
}

.site-nav__link:hover { color: var(--gold-lt); }
.site-nav__link:hover .site-nav__idx { color: var(--gold); }

.site-nav__link[aria-current="page"] {
  color: var(--gold-lt);
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.16), transparent 72%);
}

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

.site-nav__cta {
  width: 100%;
  margin-top: var(--sp-2);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
  }

  .site-nav__link {
    padding: 10px 10px;
    border-bottom: 0;
    font-size: 13.5px;
    white-space: nowrap;
  }

  .site-nav__link::after { left: 10px; right: 10px; bottom: 3px; }
  .site-nav__link[aria-current="page"] { background: none; }

  .site-nav__cta {
    width: auto;
    margin-top: 0;
    margin-left: 10px;
    padding: 9px 16px;
    font-size: 13px;
  }
}

@media (min-width: 1180px) {
  .site-nav__link { font-size: 14px; padding: 10px 12px; }
  .site-nav__link::after { left: 12px; right: 12px; }
}

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(127, 166, 160, 0.10);
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--mint) 40%, var(--gold));
  transition: width 120ms linear;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #121614 0%, #0B0D0C 100%);
  border-top: 1px solid var(--gold-line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(127, 166, 160, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 166, 160, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) var(--sp-4);
}

.footer__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px var(--sp-2);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.footer__strip-item {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.footer__strip-item:first-child { color: var(--gold-lt); }

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  padding-block: var(--sp-5) var(--sp-4);
}

@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 1.35fr);
    gap: var(--sp-6);
    padding-block: var(--sp-6) var(--sp-5);
  }
}

.footer__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__wordmark {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.footer__tagline {
  margin-top: 12px;
  max-width: 24ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--txt-dim);
}

.footer__cta { margin-top: var(--sp-3); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3) var(--sp-4);
}

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

.footer__col-title {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.footer__link {
  display: inline-block;
  color: var(--mist);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer__link:hover {
  color: var(--gold-lt);
  border-bottom-color: var(--gold-line);
}

.footer__meta {
  display: grid;
  gap: 8px;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--txt-dim);
}

.footer__legal { color: var(--mist); }
.footer__legal .mono { color: var(--gold-lt); font-size: 12px; }

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.footer__contact .mono { color: var(--mist); font-size: 12.5px; }

.footer__dot { color: rgba(127, 166, 160, 0.55); }

.footer__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- 15. Scroll-spy anchors ---------- */
[data-spy-link] {
  color: var(--txt-dim);
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

[data-spy-link]:hover { color: var(--mist); }

[data-spy-link][aria-current] {
  color: var(--gold-lt);
  border-color: var(--gold);
}

/* ---------- 16. Motion preferences ---------- */
html.is-nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  html.is-nav-open { overflow: auto; }
}

.reduce-motion .scroll-meter__fill { transition: none; }

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

  .site-nav { transition: none; }
  .scroll-meter__fill { transition: none; }
}
