/* =========================================================
   万豪斗地主牌 · 共享外壳样式表  /assets/site.css
   皇家紫 + 暗金 + 奶油底的蓝图牌桌体系
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Tokens ---------- */
:root {
  --violet: #4B2E83;
  --violet-deep: #3A2268;
  --ink: #241636;
  --ink-deep: #1A0F27;
  --gold: #C9A227;
  --gold-soft: #E9D9A4;
  --cream: #F7F1E4;
  --ivory: #FFFBF3;
  --vermilion: #B23A2E;
  --turf: #2F7A6B;
  --felt: #163F38;
  --mauve: #6B6580;
  --line: #D9CDE8;

  --line-gold: rgba(201, 162, 39, 0.32);
  --line-gold-strong: rgba(201, 162, 39, 0.6);

  --rail-w: 290px;
  --topbar-h: 64px;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --font-body: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-plate: 0 22px 46px -28px rgba(36, 22, 54, 0.5);
  --shadow-soft: 0 12px 30px -20px rgba(36, 22, 54, 0.42);
}

@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --rail-w: 252px; }
}

/* ---------- Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    linear-gradient(to right, rgba(217, 205, 232, 0.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 205, 232, 0.42) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display { font-family: var(--font-display); }

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}
@media (max-width: 1023px) {
  body { padding-top: var(--topbar-h); }
}

html.nav-open,
html.nav-open body { overflow: hidden; }

#main-content { display: block; padding-top: clamp(26px, 5vw, 68px); }

/* ---------- Focus & a11y ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.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;
}

.skip-link {
  position: fixed;
  top: 10px; left: 50%;
  transform: translate(-50%, -180%);
  z-index: 400;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.6);
  transition: transform 0.24s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- Layout primitives ---------- */
.canvas {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
}
.canvas--tight { max-width: 880px; }
.canvas--wide { max-width: 1400px; }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.82em;
  letter-spacing: 0.06em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--vermilion);
}

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

/* ---------- Section headings ---------- */
.section-head {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.section-idx {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--vermilion);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 21px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  text-align: center; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(150deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(201, 162, 39, 0.9);
}
.btn-gold:hover { box-shadow: 0 16px 30px -16px rgba(201, 162, 39, 0.95); }

.btn-outline {
  background: rgba(233, 217, 164, 0.08);
  border-color: var(--line-gold-strong);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(233, 217, 164, 0.18); color: #fff; }

.btn-quiet {
  padding: 8px 6px;
  color: var(--gold-soft);
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.btn-quiet:hover { color: #fff; }

.btn-primary {
  background: var(--violet);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--violet-deep); }

.btn-vermilion { background: var(--vermilion); color: var(--ivory); }
.btn-turf { background: var(--turf); color: var(--ivory); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  background: var(--gold-soft);
  color: #5A4207;
  border: 1px solid rgba(201, 162, 39, 0.5);
  white-space: nowrap;
}
.tag--new { background: rgba(178, 58, 46, 0.12); color: var(--vermilion); border-color: rgba(178, 58, 46, 0.35); }
.tag--rank { background: rgba(47, 122, 107, 0.12); color: var(--turf); border-color: rgba(47, 122, 107, 0.35); }
.tag--violet { background: rgba(75, 46, 131, 0.1); color: var(--violet); border-color: rgba(75, 46, 131, 0.3); }

/* ---------- Plates (说明牌 / 展签) ---------- */
.plate {
  position: relative;
  background: var(--ivory);
  border: 1px solid rgba(217, 205, 232, 0.9);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-plate);
}
.plate--dark {
  background: linear-gradient(168deg, var(--violet-deep), var(--ink) 78%);
  border-color: var(--line-gold);
  color: var(--cream);
  box-shadow: 0 26px 52px -30px rgba(20, 10, 36, 0.85);
}
.plate--dark .section-title { color: var(--ivory); }
.plate--cut {
  border-radius: 0;
  border: 0;
  clip-path: polygon(0 2.4%, 100% 0, 100% 97.6%, 0 100%);
  padding-top: calc(clamp(22px, 3vw, 36px) + 18px);
  padding-bottom: calc(clamp(22px, 3vw, 36px) + 18px);
  box-shadow: none;
}

/* ---------- Figures ---------- */
.figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(142deg, var(--violet) 0%, var(--felt) 62%, var(--ink) 100%);
  isolation: isolate;
}
.figure > img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.figure::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.4);
  pointer-events: none;
}
.figure--wide { aspect-ratio: 16 / 9; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--tilt { transform: rotate(-1.6deg); }

.figure-cap {
  margin-top: 0.6em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mauve);
}

/* ---------- Ledger ---------- */
.ledger { display: block; border-top: 1px solid var(--line); }
.ledger__row {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 6px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.ledger__key {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--mauve);
}
.ledger__val { font-size: 16px; color: var(--ink); }

/* ---------- Prose ---------- */
.prose {
  max-width: 74ch;
  font-size: 17px;
  line-height: 1.9;
  color: #3A2C50;
}
.prose p + p { margin-top: 1.05em; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--ink);
  margin: 1.9em 0 0.6em;
  line-height: 1.4;
}
.prose ul { display: grid; gap: 0.55em; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before {
  content: "";
  position: absolute; left: 0; top: 0.78em;
  width: 9px; height: 2px;
  background: var(--gold);
}
.prose strong { color: var(--violet); font-weight: 700; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.1em;
  color: var(--mauve);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "/"; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--violet); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.breadcrumb a:hover { border-bottom-color: var(--violet); }

/* =========================================================
   HEADER · 侧边轨道导航
   ========================================================= */
.site-header {
  position: fixed;
  z-index: 80;
  display: flex;
  background: linear-gradient(172deg, var(--violet) 0%, var(--violet-deep) 44%, var(--ink) 100%);
  color: var(--cream);
  border-right: 1px solid var(--line-gold);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(233, 217, 164, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233, 217, 164, 0.075) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* --- 品牌 --- */
.rail-head { position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold) 62%, #8C6E14);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  transform: rotate(-6deg);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.8);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--ivory);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.12em;
  color: rgba(233, 217, 164, 0.72);
}

/* --- 抽屉按钮 --- */
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-gold-strong);
  background: rgba(233, 217, 164, 0.12);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  transition: background 0.2s ease;
}
.nav-toggle:hover { background: rgba(233, 217, 164, 0.22); }
.nav-toggle-bars {
  position: relative;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--gold-soft);
  transition: background 0.24s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--gold-soft);
  transition: transform 0.26s ease, top 0.26s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-header[data-open] .nav-toggle { background: rgba(233, 217, 164, 0.24); }
.site-header[data-open] .nav-toggle-bars { background: transparent; }
.site-header[data-open] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* --- 导航 --- */
.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.rail-label {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(233, 217, 164, 0.62);
}
.nav-list {
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
  padding-right: 4px;
}
.nav-list a {
  position: relative;
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 14px 11px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 600;
  color: rgba(247, 241, 228, 0.86);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-list a::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 2px; height: 0;
  transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  transition: height 0.26s ease;
}
.nav-list a:hover { background: rgba(233, 217, 164, 0.1); color: #fff; transform: translateX(2px); }
.nav-list a[aria-current="page"] { background: rgba(233, 217, 164, 0.16); color: #fff; }
.nav-list a[aria-current="page"]::before { height: 24px; }
.nav-list a:focus-visible { outline-color: var(--gold-soft); background: rgba(233, 217, 164, 0.22); }
.nav-idx {
  flex: 0 0 auto;
  min-width: 20px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--gold);
  transition: color 0.2s ease;
}
.nav-list a[aria-current="page"] .nav-idx { color: var(--gold-soft); }
.nav-text { flex: 1 1 auto; }

/* --- 轨道底部 --- */
.rail-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 217, 164, 0.22);
  display: flex; flex-direction: column; gap: 12px;
}
.rail-actions { display: flex; flex-direction: column; gap: 8px; }
.rail-actions .btn { width: 100%; padding: 10px 12px; font-size: 13px; letter-spacing: 0.03em; }
.rail-note {
  font-family: var(--font-mono);
  font-size: 11px; line-height: 1.65; letter-spacing: 0.03em;
  color: rgba(233, 217, 164, 0.6);
}

/* --- 阅读进度刻度 --- */
.rail-meter {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: rgba(233, 217, 164, 0.14);
  pointer-events: none;
  z-index: 3;
}
.rail-meter::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(233, 217, 164, 0.75) 0 1px,
    transparent 1px 52px
  );
  opacity: 0.35;
}
.rail-meter-fill {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  transition: height 0.12s linear;
}

/* --- 桌面端形态 --- */
@media (min-width: 1024px) {
  .site-header {
    top: 0; left: 0; bottom: 0;
    width: var(--rail-w);
    flex-direction: column;
    padding: 34px 26px 26px;
  }
  .rail-head { display: block; flex: 0 0 auto; }
  .nav-toggle { display: none; }
  .rail-label { padding: 26px 4px 12px; }
  .rail-foot { margin-top: auto; }
}

/* --- 移动端形态 --- */
@media (max-width: 1023px) {
  .site-header {
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    flex-direction: row;
    align-items: center;
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 14px 30px -22px rgba(20, 10, 36, 0.9);
  }
  .site-header::before { background-size: 26px 26px; }
  .rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
  }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }
  .brand-name { font-size: 15px; }
  .brand-sub { display: none; }

  .site-nav {
    position: fixed;
    top: var(--topbar-h); left: 0; right: 0; bottom: 0;
    padding: 22px 20px 44px;
    margin: 0;
    background: linear-gradient(180deg, #2C1B45 0%, var(--ink) 100%);
    border-top: 1px solid var(--line-gold);
    overflow-y: auto;
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .rail-label { padding: 0 4px 14px; }
  .nav-list { gap: 4px; overflow: visible; padding-right: 0; }
  .nav-list a { font-size: 17px; padding: 14px 16px; border-radius: 16px; }
  .nav-list a[aria-current="page"]::before { height: 28px; }
  .rail-foot { margin-top: 28px; padding-top: 22px; }
  .rail-actions { flex-direction: column; }
  .rail-actions .btn { font-size: 14px; padding: 12px 16px; }
  .rail-meter { display: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  padding: clamp(46px, 6vw, 82px) clamp(20px, 4vw, 60px) 26px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: rgba(247, 241, 228, 0.78);
  border-top: 1px solid var(--line-gold-strong);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(233, 217, 164, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233, 217, 164, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.site-footer::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 6px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(201, 162, 39, 0.85) 0 2px, transparent 2px 24px);
  opacity: 0.45;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 1080px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--ivory);
}
.footer-tagline {
  margin-top: 12px;
  max-width: 32ch;
  font-size: 15px; line-height: 1.8;
  color: rgba(247, 241, 228, 0.72);
}
.footer-facts {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px; line-height: 1.9; letter-spacing: 0.03em;
  color: rgba(233, 217, 164, 0.62);
}
.footer-head {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-list { display: grid; gap: 10px; }
.footer-list a {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 14.5px;
  color: rgba(247, 241, 228, 0.8);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-list a:hover,
.footer-list a:focus-visible { color: var(--gold-soft); border-bottom-color: rgba(233, 217, 164, 0.5); }
.footer-meta {
  margin-top: 12px;
  font-size: 13px; line-height: 1.75;
  color: rgba(247, 241, 228, 0.6);
}
.footer-meta .mono { color: var(--gold-soft); font-size: 12.5px; }
.footer-note {
  margin-top: 12px;
  font-size: 12.5px; line-height: 1.8;
  color: rgba(247, 241, 228, 0.46);
}

.footer-base {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: clamp(36px, 5vw, 62px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 217, 164, 0.18);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.06em;
  color: rgba(247, 241, 228, 0.5);
}

/* ---------- Motion preferences ---------- */
@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;
  }
  .btn:hover,
  .nav-list a:hover { transform: none; }
}
