/* =========================================================
   拉菲娱乐 · lafei-entertainment.com.cn
   共享站点样式 /assets/site.css
   1 重置 · 2 变量 · 3 基础排版 · 4 工具类 · 5 按钮
   6 页头 · 7 命令面板 · 8 页脚 · 9 通用组件 · 10 响应式
   ========================================================= */

/* ---------- 1 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-underline-offset: 0.22em;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

/* ---------- 2 变量 ---------- */
:root {
  /* 原始色板 */
  --c-navy: #0B1B2B;
  --c-teal: #0F2E33;
  --c-wine: #7A1F2B;
  --c-wine-hi: #8E2634;
  --c-gold: #C8A45D;
  --c-celadon: #6F9E8E;
  --c-cream: #F3EDE2;
  --c-ivory: #FBF7EF;
  --c-graphite: #2C3440;
  --c-gold-pale: #D9C9A8;
  --c-focus: #F2C14E;

  /* 语义映射 */
  --bg-page: var(--c-navy);
  --bg-band: var(--c-teal);
  --bg-card: rgba(15, 46, 51, 0.62);
  --text-body: var(--c-cream);
  --text-strong: var(--c-ivory);
  --text-muted: rgba(243, 237, 226, 0.66);
  --line-soft: 1px solid rgba(217, 201, 168, 0.20);
  --line-strong: 1px solid rgba(200, 164, 93, 0.55);

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 布局 */
  --page-max: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.75rem);
  --header-h: 56px;
  --sidebar-w: 220px;
  --radius: 2px;

  /* 阴影与缓动 */
  --shadow-card: 0 1px 0 rgba(217, 201, 168, 0.14), 0 18px 34px -28px #000;
  --shadow-float: 0 30px 60px -34px #000;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(1100px 520px at 82% -12%, rgba(200, 164, 93, 0.10), transparent 62%),
    radial-gradient(820px 460px at 4% 2%, rgba(111, 158, 142, 0.09), transparent 58%),
    radial-gradient(900px 700px at 96% 78%, rgba(122, 31, 43, 0.13), transparent 65%);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--text-strong);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { text-wrap: pretty; }

::selection {
  background: rgba(200, 164, 93, 0.35);
  color: var(--c-ivory);
}

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

a:hover { color: var(--c-ivory); }

/* ---------- 4 工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-ivory);
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--c-focus);
  outline-offset: 2px;
}

.is-locked { overflow: hidden; }

/* ---------- 5 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.7em 1.15em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}

.btn-primary {
  color: var(--c-ivory);
  background: var(--c-wine);
  border-color: rgba(200, 164, 93, 0.5);
}

.btn-primary:hover {
  color: var(--c-ivory);
  background: var(--c-wine-hi);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-body);
  background: transparent;
  border-color: rgba(217, 201, 168, 0.4);
}

.btn-ghost:hover {
  color: var(--c-ivory);
  background: rgba(200, 164, 93, 0.1);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5em 0.9em;
  font-size: 13px;
}

/* ---------- 6 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 27, 43, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 201, 168, 0.16);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 93, 0.65) 18%, rgba(200, 164, 93, 0.65) 82%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.4rem);
  min-height: var(--header-h);
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  padding-block: 0.3rem;
  color: var(--text-strong);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-gold);
  background: linear-gradient(160deg, rgba(200, 164, 93, 0.24), rgba(122, 31, 43, 0.4));
  border: 1px solid var(--c-gold);
  border-radius: var(--radius);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ivory);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.site-nav { margin-left: auto; }

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

.nav-item { display: flex; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  padding-inline: 0.72rem;
  font-size: 14px;
  color: rgba(243, 237, 226, 0.78);
  white-space: nowrap;
  transition: color 0.18s, background-color 0.18s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--c-ivory);
  background: rgba(200, 164, 93, 0.07);
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--c-ivory); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: clamp(0.5rem, 1.6vw, 1.2rem);
}

.cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.65rem;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(15, 46, 51, 0.72);
  border: 1px solid rgba(217, 201, 168, 0.28);
  border-radius: var(--radius);
  transition: color 0.18s, border-color 0.18s, background-color 0.18s;
}

.cmd-trigger:hover {
  color: var(--c-ivory);
  background: rgba(200, 164, 93, 0.1);
  border-color: var(--c-gold);
}

.cmd-key {
  min-width: 1.3em;
  padding: 0 0.2em;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  color: var(--c-gold);
  border: 1px solid rgba(200, 164, 93, 0.5);
  border-radius: 2px;
}

.cmd-label { white-space: nowrap; }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: rgba(15, 46, 51, 0.7);
  border: 1px solid rgba(217, 201, 168, 0.35);
  border-radius: var(--radius);
  transition: border-color 0.18s, background-color 0.18s;
}

.nav-toggle:hover {
  border-color: var(--c-gold);
  background: rgba(200, 164, 93, 0.12);
}

.nav-toggle-bar {
  width: 16px;
  height: 1.5px;
  background: var(--c-cream);
  transition: transform 0.18s var(--ease), opacity 0.18s;
}

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

/* ---------- 7 命令面板 ---------- */
.cmd-palette {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: start center;
  padding: clamp(1rem, 9vh, 5rem) var(--gutter);
}

.cmd-palette[hidden] { display: none; }

.cmd-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 22, 0.8);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.cmd-dialog {
  position: relative;
  width: min(620px, 100%);
  padding: 1rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, #103338, #0B1B2B 82%);
  border: 1px solid rgba(200, 164, 93, 0.45);
  border-radius: 3px;
  box-shadow: var(--shadow-float);
}

.cmd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: var(--line-soft);
}

.cmd-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.cmd-close {
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid rgba(217, 201, 168, 0.3);
  border-radius: 2px;
  transition: color 0.18s, border-color 0.18s;
}

.cmd-close:hover {
  color: var(--c-ivory);
  border-color: var(--c-gold);
}

.cmd-field { margin-top: 0.85rem; }

.cmd-input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-size: 15px;
  color: var(--c-ivory);
  background: rgba(11, 27, 43, 0.82);
  border: 1px solid rgba(217, 201, 168, 0.3);
  border-radius: var(--radius);
  transition: border-color 0.18s;
}

.cmd-input::placeholder { color: rgba(243, 237, 226, 0.42); }
.cmd-input:hover { border-color: rgba(200, 164, 93, 0.6); }

.cmd-list {
  max-height: min(52vh, 340px);
  margin-top: 0.7rem;
  overflow-y: auto;
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  font-size: 14.5px;
  color: var(--text-body);
  border-bottom: 1px solid rgba(217, 201, 168, 0.12);
  transition: color 0.18s, background-color 0.18s;
}

.cmd-item:hover {
  color: var(--c-ivory);
  background: rgba(200, 164, 93, 0.12);
}

.cmd-item-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-gold);
}

.cmd-empty {
  margin-top: 0.7rem;
  font-size: 13.5px;
  color: var(--c-gold-pale);
}

.cmd-hint {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(243, 237, 226, 0.44);
}

/* ---------- 8 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  color: var(--text-muted);
  background: linear-gradient(180deg, rgba(15, 46, 51, 0.97), rgba(11, 27, 43, 0.99));
  border-top: 1px solid rgba(200, 164, 93, 0.5);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 31, 43, 0.95), rgba(200, 164, 93, 0.95) 45%, rgba(111, 158, 142, 0.95));
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--page-max);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 1.75rem;
}

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

.brand-footer { margin-bottom: 1rem; }

.footer-tag {
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-cta { margin-top: 1.1rem; }

.footer-note {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(243, 237, 226, 0.5);
}

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

.footer-col-title {
  margin-bottom: 0.9rem;
  padding-bottom: 0.55rem;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-gold);
  border-bottom: 1px solid rgba(217, 201, 168, 0.2);
}

.footer-links { counter-reset: fl; }

.footer-link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.38rem 0;
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.18s, transform 0.18s var(--ease);
}

.footer-link::before {
  counter-increment: fl;
  content: counter(fl, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(200, 164, 93, 0.7);
}

.footer-link:hover {
  color: var(--c-ivory);
  transform: translateX(2px);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.75rem;
  padding-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(243, 237, 226, 0.58);
  border-top: 1px solid rgba(217, 201, 168, 0.18);
}

.footer-legal,
.footer-contact,
.footer-address { margin: 0; }

.footer-contact { word-break: break-all; }

/* ---------- 9 通用组件 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: rgba(200, 164, 93, 0.7);
}
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb [aria-current="page"] { color: var(--c-gold-pale); }

.section { padding-block: clamp(2.25rem, 5vw, 4rem); }

.section-head {
  display: grid;
  gap: 0.6rem;
  max-width: 62ch;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: var(--text-strong);
}

.section-desc {
  max-width: 58ch;
  font-size: 0.98rem;
  color: var(--text-muted);
}

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

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  background: var(--bg-card);
  border: var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease), border-color 0.18s, box-shadow 0.18s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 164, 93, 0.55);
  box-shadow: var(--shadow-float);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-gold-pale);
  border: 1px solid rgba(217, 201, 168, 0.4);
  border-radius: 999px;
  white-space: nowrap;
}

.tag--wine {
  color: #F1DADA;
  background: rgba(122, 31, 43, 0.35);
  border-color: rgba(122, 31, 43, 0.9);
}

.tag--celadon {
  color: #DCEBE4;
  background: rgba(111, 158, 142, 0.18);
  border-color: rgba(111, 158, 142, 0.7);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(15, 46, 51, 0.6);
  border: 1px solid rgba(217, 201, 168, 0.32);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background-color 0.18s;
}

.chip:hover {
  color: var(--c-ivory);
  border-color: var(--c-gold);
}

.chip[aria-pressed="true"] {
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-gold);
  border-color: var(--c-gold);
}

.prose {
  max-width: 68ch;
  color: var(--text-body);
}

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

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--text-strong);
}

.prose h3 {
  margin-top: 1.6em;
  color: var(--c-gold-pale);
}

.prose ul,
.prose ol { padding-left: 1.15em; }

.prose li {
  position: relative;
  padding-left: 0.9em;
  margin-top: 0.45em;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

.prose strong { color: var(--text-strong); }

.prose a {
  color: var(--c-gold-pale);
  border-bottom: 1px solid rgba(200, 164, 93, 0.5);
}

.prose a:hover {
  color: var(--c-ivory);
  border-bottom-color: var(--c-ivory);
}

.rule {
  height: 1px;
  margin-block: clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  background: linear-gradient(90deg, rgba(200, 164, 93, 0.55), rgba(200, 164, 93, 0));
}

/* 图片容器基础规则：页面阶段只放 <img> 即自适应当前比例 */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, rgba(15, 46, 51, 0.92), rgba(11, 27, 43, 0.96));
  border: var(--line-soft);
  border-radius: var(--radius);
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 20% -10%, rgba(200, 164, 93, 0.18), transparent 62%),
    linear-gradient(180deg, transparent 48%, rgba(11, 27, 43, 0.55));
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media-caption {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ---------- 10 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-link {
    padding-inline: 0.55rem;
    font-size: 13.5px;
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    margin: 0;
    padding: 0.4rem var(--gutter) 1rem;
    overflow-y: auto;
    background: var(--c-teal);
    border-bottom: 1px solid rgba(200, 164, 93, 0.55);
    box-shadow: var(--shadow-float);
  }

  [data-site-header][data-open] .site-nav { display: block; }

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

  .nav-item { display: block; }

  .nav-link {
    display: flex;
    width: 100%;
    height: auto;
    padding: 0.8rem 0.25rem;
    font-size: 15px;
    border-bottom: 1px solid rgba(217, 201, 168, 0.14);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] { color: var(--c-gold); }

  .nav-link[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 14px;
    margin-right: 0.55rem;
    background: var(--c-gold);
  }

  .header-tools { margin-left: auto; }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

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

@media (max-width: 560px) {
  .header-cta { display: none; }
  .cmd-label { display: none; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-meta { font-size: 11.5px; }
  .cmd-palette { padding-top: 1rem; }
  .cmd-dialog { padding: 0.85rem 0.9rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .card:hover,
  .footer-link:hover { transform: none; }
}
