/* ============================================================
   1973牌局 · 共享样式 /assets/site.css
   reset · tokens · 中文排版 · 头尾 · 通用组件
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --felt: #0E3B32;
  --felt-deep: #08241E;
  --felt-mid: #17574A;
  --ivory: #F4EDE0;
  --paper: #FBF7EE;
  --brass: #C9A227;
  --dice: #B33A2B;
  --ember: #C97B3C;
  --mist: #A8B8AE;
  --ink: #14120F;

  --brass-soft: rgba(201, 162, 39, .45);
  --brass-line: rgba(201, 162, 39, .26);
  --ink-line: rgba(20, 18, 15, .52);

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

  --fs-hero: clamp(2.5rem, 6vw, 4.75rem);
  --fs-xl: clamp(1.75rem, 3.4vw, 2.5rem);
  --fs-lg: clamp(1.375rem, 2.2vw, 1.75rem);
  --fs-md: 1.25rem;
  --fs-base: 1.0625rem;
  --fs-sm: .8125rem;

  --page-max: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --rhythm: clamp(4rem, 8vw, 6rem);
  --radius: 3px;

  --shadow-paper: 6px 6px 0 -1px rgba(8, 36, 30, .12), 0 10px 24px -14px rgba(8, 36, 30, .55);
  --shadow-paper-hover: 9px 9px 0 -1px rgba(201, 162, 39, .28), 0 18px 32px -18px rgba(8, 36, 30, .7);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(20, 18, 15, .05) 0 1px, transparent 1px);
  background-size: 6px 6px;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  margin: 0;
  padding: 0;
}

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

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
}

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

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

/* ---------- 3. Typography ---------- */
.h-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -.02em;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xl);
  line-height: 1.16;
  letter-spacing: -.015em;
}

.h-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.28;
}

.eyebrow {
  font-size: var(--fs-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--felt-mid);
  font-weight: 500;
}

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

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

/* ---------- 4. Layout ---------- */
#main-content { display: block; }

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

.section { padding-block: var(--rhythm); }

.prose {
  max-width: 38em;
}

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

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.4em;
  margin-block: 1em;
}

.prose ol { list-style: decimal; }

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

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

.prose a:hover { color: var(--felt); }

.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 2rem);
}

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

.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-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.divider {
  height: 1px;
  border: 0;
  margin-block: 2rem;
  background: repeating-linear-gradient(90deg, var(--brass) 0 6px, transparent 6px 12px);
  opacity: .65;
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -130%);
  padding: .7rem 1.4rem;
  background: var(--brass);
  color: var(--ink);
  font-size: var(--fs-sm);
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6);
  transition: transform .18s ease;
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  color: var(--ivory);
  background-color: var(--felt);
  background-image:
    radial-gradient(rgba(255, 255, 255, .045) 0 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, .12) 0 1px, transparent 1px),
    linear-gradient(180deg, #10433A 0%, #0A2C25 100%);
  background-size: 7px 7px, 11px 11px, auto;
  background-position: 0 0, 3px 5px, 0 0;
  border-bottom: 1px solid var(--brass-soft);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.75rem);
  min-height: 68px;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 品牌牌面 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  color: var(--ivory);
  text-decoration: none;
}

.brand-tile {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .38);
  transform: rotate(-2.5deg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -.02em;
  transition: transform .25s ease, box-shadow .25s ease;
}

.brand:hover .brand-tile,
.brand:focus-visible .brand-tile {
  transform: rotate(0deg);
  box-shadow: 4px 5px 0 rgba(201, 162, 39, .5);
}

.brand-text {
  display: grid;
  gap: .1rem;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: .02em;
}

.brand-tag {
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--mist);
  white-space: nowrap;
}

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  padding: .5rem .7rem;
  background: transparent;
  border: 1px solid var(--brass-soft);
  border-radius: var(--radius);
  color: var(--ivory);
  font-size: var(--fs-sm);
  letter-spacing: .1em;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}

.nav-toggle:hover {
  border-color: var(--brass);
  background: rgba(201, 162, 39, .15);
}

.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header[data-open] .nav-toggle-bars span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bars span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* 命令栏导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .6rem;
  font-size: .84375rem;
  letter-spacing: .03em;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.nav-link:hover {
  color: var(--ivory);
  background: rgba(201, 162, 39, .14);
  border-color: rgba(201, 162, 39, .38);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .02em;
  color: var(--brass);
  opacity: .85;
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--brass);
  border-color: var(--brass);
  font-weight: 600;
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--ink);
  opacity: 1;
}

.nav-meta { display: none; }

/* 状态方牌 */
.header-status {
  display: grid;
  gap: .15rem;
  flex: 0 0 auto;
  padding: .45rem .72rem;
  border: 1px solid var(--brass-soft);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .65625rem;
  letter-spacing: .06em;
  line-height: 1.45;
  color: var(--mist);
  text-align: left;
  white-space: nowrap;
}

.header-status strong {
  color: var(--brass);
  font-weight: 600;
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--ember), var(--brass));
  transition: transform .12s linear;
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .72em 1.25em;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.3;
  text-decoration: none;
  color: var(--felt);
  background: transparent;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn--primary {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 3px 0 0 rgba(20, 18, 15, .28);
}

.btn--primary:hover {
  background: #D8B23A;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 0 rgba(20, 18, 15, .28);
}

.btn--ghost {
  border-color: var(--ink-line);
  color: var(--felt);
}

.btn--ghost:hover {
  border-color: var(--brass);
  background: rgba(201, 162, 39, .14);
}

.btn--on-dark {
  color: var(--ivory);
  border-color: var(--brass-soft);
}

.btn--on-dark:hover {
  color: #FFF;
  background: rgba(201, 162, 39, .18);
  border-color: var(--brass);
}

/* ---------- 8. Breadcrumbs ---------- */
.breadcrumbs {
  font-size: var(--fs-sm);
  letter-spacing: .06em;
  color: var(--felt-mid);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: .5em;
}

.breadcrumbs li + li::before {
  content: "／";
  color: var(--brass);
}

.breadcrumbs a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .16s ease, color .16s ease;
}

.breadcrumbs a:hover {
  color: var(--dice);
  border-bottom-color: var(--brass);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 9. Image frames ---------- */
.figure {
  display: grid;
  gap: .6rem;
  margin: 0;
}

.figure > figcaption {
  font-size: var(--fs-sm);
  letter-spacing: .06em;
  color: var(--felt-mid);
}

.img-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--brass-soft);
  border-radius: var(--radius);
  background-color: var(--felt-deep);
  background-image:
    radial-gradient(circle at 28% 22%, rgba(201, 162, 39, .22), transparent 58%),
    radial-gradient(rgba(255, 255, 255, .04) 0 1px, transparent 1px),
    linear-gradient(158deg, var(--felt-mid), var(--felt-deep));
  background-size: auto, 6px 6px, auto;
}

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

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(251, 247, 238, .16),
    inset 0 -48px 64px -44px rgba(8, 36, 30, .78);
}

.img-frame--wide { aspect-ratio: 16 / 9; }
.img-frame--tall { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 10. Plate / Tag / Card ---------- */
.plate {
  display: inline-flex;
  align-items: stretch;
  vertical-align: middle;
  overflow: hidden;
  border: 1px solid var(--brass);
  border-radius: 2px;
  background: rgba(201, 162, 39, .1);
  color: var(--brass);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .6875rem;
  letter-spacing: .08em;
  line-height: 1;
}

.plate span {
  padding: .38em .5em;
  border-right: 1px solid var(--brass-line);
}

.plate span:last-child { border-right: 0; }

.tag {
  display: inline-block;
  padding: .15em .55em;
  border: 1px solid var(--ink-line);
  border-radius: 2px;
  color: var(--felt);
  font-size: var(--fs-sm);
  letter-spacing: .08em;
  line-height: 1.55;
  background: transparent;
}

.tag--brass {
  border-color: var(--brass);
  color: #7E6410;
  background: rgba(201, 162, 39, .12);
}

.tag--dice {
  border-color: var(--dice);
  color: var(--dice);
  background: rgba(179, 58, 43, .07);
}

.paper-card {
  --tilt: 0deg;
  position: relative;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
  transform: rotate(var(--tilt));
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.paper-card:hover,
.paper-card:focus-within {
  border-color: var(--brass);
  box-shadow: var(--shadow-paper-hover);
  transform: rotate(var(--tilt)) translateY(-2px);
}

.paper-card--tilt-l { --tilt: -.6deg; }
.paper-card--tilt-r { --tilt: .5deg; }

/* ---------- 11. Chips / Fold ---------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .45em .9em;
  font-size: var(--fs-sm);
  letter-spacing: .04em;
  line-height: 1.45;
  color: var(--felt);
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.chip:hover {
  border-color: var(--brass);
  background: rgba(201, 162, 39, .14);
}

.chip__id {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  opacity: .7;
}

.chip[aria-pressed="true"] {
  color: var(--ivory);
  background: var(--felt);
  border-color: var(--felt);
}

.chip[aria-pressed="true"] .chip__id { opacity: 1; color: var(--brass); }

.fold {
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
}

.fold + .fold { margin-top: .75rem; }

.fold-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .16s ease;
}

.fold-head:hover { color: var(--dice); }

.fold-head__mark {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--brass);
  border-radius: 2px;
}

.fold-head__mark::before,
.fold-head__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--brass);
  transform: translate(-50%, -50%);
}

.fold-head__mark::before { width: 8px; height: 1px; }
.fold-head__mark::after { width: 1px; height: 8px; transition: opacity .18s ease; }

.fold[data-open] .fold-head__mark::after { opacity: 0; }

.fold-body {
  display: none;
  padding: 0 1.15rem 1.25rem;
  border-top: 1px solid rgba(20, 18, 15, .14);
  padding-top: 1rem;
}

.fold[data-open] .fold-body { display: block; }

/* ---------- 12. Anchor rail ---------- */
.anchor-rail {
  display: grid;
  gap: .35rem;
  padding-left: 1rem;
  border-left: 1px solid var(--brass);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: .04em;
}

.anchor-rail a {
  padding: .25rem 0;
  color: var(--felt-mid);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.anchor-rail a:hover {
  color: var(--dice);
  border-bottom-color: var(--brass);
}

.anchor-rail a[aria-current="location"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--brass);
}

/* ---------- 13. Reveal ---------- */
.js-on [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s ease, transform .42s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}

.js-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
  color: var(--mist);
  background-color: var(--felt-deep);
  background-image:
    radial-gradient(circle at 12% 16%, rgba(201, 162, 39, .1), transparent 44%),
    radial-gradient(circle at 88% 0%, rgba(23, 87, 74, .8), transparent 58%),
    radial-gradient(rgba(255, 255, 255, .035) 0 1px, transparent 1px);
  background-size: auto, auto, 6px 6px;
  border-top: 2px solid var(--brass);
}

.footer-inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1rem;
  max-width: 34ch;
}

.footer-intro {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--mist);
}

.footer-plate {
  display: grid;
  gap: .25rem;
  max-width: 27ch;
  padding: .65rem .85rem;
  border: 1px solid var(--brass-soft);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  line-height: 1.55;
  color: var(--mist);
}

.footer-plate strong {
  color: var(--brass);
  font-weight: 600;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.footer-col-title {
  margin-bottom: .85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brass);
}

.footer-list {
  display: grid;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link {
  font-size: .9375rem;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.footer-link:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.footer-meta {
  display: grid;
  gap: .7rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, .22);
}

.footer-contact {
  font-size: .875rem;
  line-height: 1.75;
  color: var(--mist);
}

.footer-service {
  font-size: var(--fs-sm);
  letter-spacing: .04em;
  color: var(--mist);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  color: rgba(168, 184, 174, .82);
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: .45rem .45rem; font-size: .8125rem; }
  .nav-index { display: none; }
  .header-status { font-size: .625rem; padding: .4rem .6rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-status { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: .75rem var(--gutter) 1.5rem;
    background-color: var(--felt-deep);
    background-image:
      radial-gradient(rgba(255, 255, 255, .04) 0 1px, transparent 1px),
      linear-gradient(180deg, #0C332B 0%, #08241E 100%);
    background-size: 7px 7px, auto;
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
    box-shadow: 0 24px 42px -20px rgba(0, 0, 0, .85);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav[data-open] {
    display: flex;
    animation: navDrop .22s cubic-bezier(.22, .61, .36, 1);
  }

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

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: .85rem .3rem;
    font-size: 1rem;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(168, 184, 174, .17);
    border-radius: 0;
  }

  .nav-index {
    display: inline;
    font-size: .6875rem;
    width: 1.9em;
  }

  .nav-link[aria-current="page"] { border-radius: 2px; }

  .nav-meta {
    display: grid;
    gap: .3rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(201, 162, 39, .38);
    font-family: var(--font-mono);
    font-size: .6875rem;
    letter-spacing: .06em;
    line-height: 1.6;
    color: var(--mist);
  }

  .nav-meta strong {
    color: var(--brass);
    font-weight: 600;
  }

  .brand-tag { display: none; }

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-3, .col-4 { grid-column: span 6; }
  .col-5, .col-7 { grid-column: span 6; }
  .col-8, .col-9 { grid-column: span 6; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { max-width: none; }
  .brand-tile { width: 32px; height: 40px; font-size: .9375rem; }
  .brand-name { font-size: .9375rem; }
}

@media (max-width: 560px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: span 2; }
  .footer-legal { flex-direction: column; gap: .2rem; }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js-on [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .brand-tile,
  .paper-card { transform: none !important; }

  .paper-card:hover,
  .paper-card:focus-within { transform: none !important; }
}
