/* ============================================================
   拿大正规平台 · 共享样式 /assets/site.css
   ============================================================ */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
i, em { font-style: normal; }
table { border-collapse: collapse; }

/* ---------- tokens ---------- */
:root {
  --lake-600: #1A6C88;
  --lake-900: #0C3B4E;
  --mist-100: #E3EDF1;
  --cream-000: #F6F2E9;
  --sunset-500: #E0662A;
  --gold-400: #C9912F;
  --ink-900: #1F1B17;
  --slate-500: #6E7B84;
  --lake-green-500: #2F8F79;
  --orange-tint-100: #F7E3D6;

  --rail-w: 88px;
  --topbar-h: 68px;
  --page-max: 1280px;
  --gutter: clamp(20px, 3vw, 48px);

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

  --bd: 2px solid var(--ink-900);
  --shadow-hard: 6px 6px 0 rgba(31, 27, 23, .16);
  --shadow-soft: 4px 4px 0 rgba(31, 27, 23, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-900);
  background-color: var(--cream-000);
  background-image:
    linear-gradient(rgba(26, 108, 136, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 108, 136, .045) 1px, transparent 1px);
  background-size: 100% 28px, 28px 100%;
  padding-left: var(--rail-w);
  padding-top: var(--topbar-h);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(30px, 4.2vw, 50px); }
h2 { font-size: clamp(23px, 2.6vw, 34px); }
h3 { font-size: clamp(18px, 1.8vw, 23px); }
h4 { font-size: clamp(16px, 1.3vw, 19px); }
p { text-wrap: pretty; }

[data-mono],
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

:focus-visible {
  outline: 3px solid var(--sunset-500);
  outline-offset: 3px;
}

::selection { background: var(--sunset-500); color: #fff; }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: calc(var(--rail-w) + 12px);
  z-index: 200;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  background: var(--sunset-500);
  border: var(--bd);
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform .18s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--lake-900);
  color: var(--cream-000);
  border-right: 2px solid var(--ink-900);
}

/* ---------- rail ---------- */
.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 16px 0 18px;
}

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  position: relative;
  z-index: 97;
}

.rail__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  background: var(--sunset-500);
  border: var(--bd);
  box-shadow: 3px 3px 0 var(--gold-400);
  transform: rotate(-3deg);
}

.rail__brand-name {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--mist-100);
}

/* ---------- nav toggle ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--cream-000);
  border: 2px solid rgba(246, 242, 233, .45);
  cursor: pointer;
  position: relative;
  z-index: 97;
  transition: background .16s ease, border-color .16s ease;
}
.nav-toggle:hover { border-color: var(--gold-400); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 17px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: currentColor;
}

/* ---------- nav ---------- */
.site-nav {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) transparent;
}
.site-nav::-webkit-scrollbar { width: 5px; }
.site-nav::-webkit-scrollbar-thumb { background: var(--gold-400); }
.site-nav::-webkit-scrollbar-track { background: transparent; }

.site-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.site-nav__list a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  color: var(--mist-100);
  border-left: 3px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.site-nav__list a:hover {
  color: #fff;
  background: rgba(227, 237, 241, .08);
}
.site-nav__list a[aria-current="page"] {
  color: #fff;
  background: rgba(224, 102, 42, .18);
  border-left-color: var(--sunset-500);
}
.site-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  width: 3px;
  height: 22px;
  margin-top: -11px;
  background: var(--sunset-500);
}

.site-nav__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-400);
}

.site-nav__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}

/* ---------- rail foot ---------- */
.rail__foot {
  flex: 0 0 auto;
  padding: 0 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rail__ver {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: .06em;
}
.rail__foot-text {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(246, 242, 233, .6);
  letter-spacing: .04em;
}

/* ---------- topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--topbar-h);
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 2.4vw, 30px);
  background: var(--mist-100);
  border-bottom: 2px solid var(--ink-900);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lake-900);
  white-space: nowrap;
}
.topbar__chip {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cream-000);
  background: var(--lake-600);
}

.quick {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.quick__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink-900);
  background: var(--cream-000);
  border: var(--bd);
  box-shadow: 3px 3px 0 var(--ink-900);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s ease;
}
.quick__item:hover {
  background: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--sunset-500);
}
.quick__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: var(--sunset-500);
}

.topbar__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--lake-900);
  background: transparent;
  border: 2px solid var(--lake-600);
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.tool-btn:hover { background: var(--lake-600); color: #fff; }
.tool-btn[aria-expanded="true"] {
  background: var(--sunset-500);
  border-color: var(--sunset-500);
  color: #fff;
}

/* ---------- in-page index panel ---------- */
.tool-panel {
  position: fixed;
  top: var(--topbar-h);
  left: var(--rail-w);
  right: 0;
  z-index: 69;
  display: none;
  padding: 16px clamp(16px, 2.4vw, 30px) 20px;
  background: var(--lake-900);
  color: var(--cream-000);
  border-bottom: 2px solid var(--ink-900);
  box-shadow: 0 10px 0 rgba(31, 27, 23, .12);
}
.tool-panel[data-open] { display: block; }

.tool-panel__title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold-400);
}

.index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.index-list__link {
  display: inline-block;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream-000);
  border: 1px dashed rgba(246, 242, 233, .42);
  transition: background .16s ease, border-color .16s ease;
}
.index-list__link:hover {
  background: rgba(224, 102, 42, .9);
  border-color: var(--sunset-500);
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: var(--topbar-h);
  left: var(--rail-w);
  right: 0;
  height: 3px;
  z-index: 99;
  background: linear-gradient(90deg, var(--sunset-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(52px, 7vw, 104px);
  background: var(--lake-900);
  color: var(--cream-000);
  border-top: 2px solid var(--ink-900);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--gold-400) 0 14px,
    transparent 14px 44px);
  opacity: .85;
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(26, 108, 136, .55), transparent 68%);
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 66px) var(--gutter) clamp(26px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(26px, 3.2vw, 56px);
}

.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  background: var(--sunset-500);
  border: var(--bd);
  box-shadow: 3px 3px 0 var(--gold-400);
  transform: rotate(-3deg);
}
.foot-brand__name {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: -.01em;
  color: #fff;
}
.foot-brand__desc {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(246, 242, 233, .74);
}

.foot-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold-400);
  border-bottom: 1px solid rgba(201, 145, 47, .35);
}

.foot-list { display: flex; flex-direction: column; gap: 10px; }
.foot-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mist-100);
  transition: color .16s ease, transform .16s ease;
}
.foot-list a:hover { color: var(--sunset-500); transform: translateX(3px); }
.foot-list__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-400);
}

.foot-list--plain li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.foot-list__key {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(201, 145, 47, .95);
}
.foot-list__val {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mist-100);
  word-break: break-word;
}

.foot-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink-900);
  background: var(--sunset-500);
  border: var(--bd);
  box-shadow: 4px 4px 0 var(--gold-400);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.foot-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold-400);
}

.site-footer__base {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid rgba(227, 237, 241, .16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.foot-legal {
  font-size: 12.5px;
  color: rgba(246, 242, 233, .62);
  letter-spacing: .02em;
}
.foot-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot-legal__links a {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(246, 242, 233, .78);
  border-bottom: 1px solid rgba(201, 145, 47, .55);
  transition: color .16s ease, border-color .16s ease;
}
.foot-legal__links a:hover {
  color: var(--sunset-500);
  border-color: var(--sunset-500);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.stack { display: flex; flex-direction: column; }
.stack--sm { gap: 10px; }
.stack--md { gap: 20px; }
.stack--lg { gap: clamp(28px, 4vw, 52px); }

/* ---------- breadcrumb ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-500);
}
.crumb a {
  color: var(--lake-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.crumb a:hover { color: var(--sunset-500); }
.crumb__sep { color: var(--gold-400); }

/* ---------- section head ---------- */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: clamp(16px, 2vw, 26px);
}
.sec-head__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--sunset-500);
}
.sec-head__title {
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.sec-head__desc {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-500);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--ink-900);
  background: var(--cream-000);
  border: var(--bd);
  box-shadow: 4px 4px 0 var(--ink-900);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink-900);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--ink-900);
}
.btn--solid {
  background: var(--sunset-500);
  color: #fff;
}
.btn--solid:hover { box-shadow: 6px 6px 0 var(--gold-400); }
.btn--ghost {
  background: transparent;
  border-color: var(--lake-600);
  color: var(--lake-600);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--lake-600);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.btn--sm { padding: 8px 14px; font-size: 13.5px; }

/* ---------- plates / bands ---------- */
.plate {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--mist-100);
  border: var(--bd);
  box-shadow: var(--shadow-hard);
}
.plate--cream { background: var(--cream-000); }
.plate--dark {
  background: var(--lake-900);
  color: var(--cream-000);
}
.plate--tint { background: var(--orange-tint-100); }
.plate--tilt { transform: rotate(-1.2deg); }
.plate--tilt-r { transform: rotate(1.4deg); }

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  padding: 16px clamp(16px, 2.2vw, 28px);
  background: var(--orange-tint-100);
  border: var(--bd);
  box-shadow: 5px 5px 0 rgba(31, 27, 23, .12);
}
.band--dark {
  background: var(--lake-900);
  color: var(--cream-000);
}
.band--cyan { background: var(--mist-100); }

/* ---------- price / status / pill ---------- */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--sunset-500);
}
.price-tag__num {
  font-size: clamp(20px, 2.2vw, 29px);
  letter-spacing: -.01em;
}
.price-tag__unit {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
  color: var(--lake-green-500);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}
.status--pending { color: var(--sunset-500); }

.pill {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--lake-600);
  border: 2px solid var(--lake-600);
  border-radius: 999px;
}
.pill--gold {
  color: var(--gold-400);
  border-color: var(--gold-400);
}

/* ---------- media ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--mist-100) 0%, #cfe0e7 100%);
  border: var(--bd);
  box-shadow: var(--shadow-hard);
}
.media img,
.media svg,
.media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--21-9 { aspect-ratio: 21 / 9; }
.media--16-9 { aspect-ratio: 16 / 9; }
.media--3-2  { aspect-ratio: 3 / 2; }
.media--4-3  { aspect-ratio: 4 / 3; }
.media--1-1  { aspect-ratio: 1 / 1; }
.media--3-4  { aspect-ratio: 3 / 4; }

.media__label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 13px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--cream-000);
  background: var(--lake-900);
}

.media__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 100% 24px, 24px 100%;
}

/* ---------- utilities ---------- */
.is-hidden { display: none !important; }
.is-flash {
  outline: 3px solid var(--sunset-500);
  outline-offset: 4px;
  transition: outline-color .3s ease;
}

/* ============================================================
   RESPONSIVE — tablet & mobile
   ============================================================ */
@media (max-width: 1180px) {
  .topbar__meta { display: none; }
  .topbar { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
}

@media (max-width: 1080px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 959px) {
  body {
    padding-left: 0;
    padding-top: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    width: 100%;
    height: var(--topbar-h);
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 2px solid var(--ink-900);
    z-index: 90;
  }
  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 94;
    background: rgba(12, 59, 78, .52);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s;
  }
  .site-header[data-open]::after {
    opacity: 1;
    visibility: visible;
  }

  .rail {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    width: auto;
    min-height: 0;
    gap: 10px;
    padding: 0;
  }
  .rail__brand { flex-direction: row; gap: 9px; }
  .rail__mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
    box-shadow: 2px 2px 0 var(--gold-400);
  }
  .rail__brand-name {
    writing-mode: horizontal-tb;
    font-size: 13.5px;
    letter-spacing: .05em;
  }
  .rail__foot { display: none; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    margin-right: 6px;
  }

  .site-nav {
    position: fixed;
    top: var(--topbar-h);
    right: 0;
    bottom: 0;
    width: min(82vw, 310px);
    flex: 0 0 auto;
    padding: 16px 14px 34px;
    background: var(--lake-900);
    border-left: 2px solid var(--ink-900);
    box-shadow: -8px 0 0 rgba(31, 27, 23, .16);
    transform: translateX(101%);
    visibility: hidden;
    transition: transform .24s var(--ease), visibility .24s;
    z-index: 96;
  }
  .site-header[data-open] .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__list { align-items: stretch; gap: 2px; }
  .site-nav__list a {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    font-size: 15px;
    border-left-width: 3px;
  }
  .site-nav__list a[aria-current="page"]::after { display: none; }
  .site-nav__num { min-width: 22px; font-size: 12px; }
  .site-nav__label {
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: .06em;
  }

  .topbar {
    position: static;
    left: auto;
    right: auto;
    height: auto;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-bottom: 0;
  }
  .topbar__meta,
  .quick { display: none; }
  .tool-btn--filter { display: none; }
  .tool-btn {
    padding: 6px 10px;
    font-size: 12.5px;
    color: var(--cream-000);
    border-color: rgba(246, 242, 233, .45);
  }
  .tool-btn:hover { background: var(--lake-600); border-color: var(--lake-600); }

  .tool-panel {
    left: 0;
    top: var(--topbar-h);
    padding: 14px 16px 18px;
  }

  .scroll-progress { left: 0; }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --topbar-h: 58px; }
  body { font-size: 15.5px; }
  .quick__item { font-size: 13px; padding: 6px 11px; }
  .rail__brand-name { font-size: 12.5px; }
  .media--21-9 { aspect-ratio: 16 / 9; }
  .plate--tilt,
  .plate--tilt-r { transform: none; }
}

/* ---------- motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .tool-panel { display: none !important; }
  body { padding: 0; background: #fff; }
}
