/* =========================================================
   杏运平台指南 · 共享样式 /assets/site.css
   ========================================================= */

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); }

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

/* ---------- 2. Tokens ---------- */
:root {
  --paper: #F8F5EC;
  --ink: #101A1F;
  --lake: #0B6F7F;
  --deep: #073E4A;
  --lake-soft: #CBE9EC;
  --blossom: #F2A7A0;
  --rape: #F2C14E;
  --stone: #5E6B70;
  --mist: #FFFFFF;
  --night: #102B38;

  --line: rgba(16, 26, 31, 0.16);
  --line-soft: rgba(16, 26, 31, 0.08);

  --rail: 84px;
  --wrap: 1180px;
  --radius: 18px;
  --pill: 999px;

  --font-display: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "STSong", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --dur: 160ms;
  --ease: cubic-bezier(0.33, 0, 0.2, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 4. Typography utilities ---------- */
.display-xl,
.display-l,
.display-m {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.display-xl { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.display-l  { font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.14; }
.display-m  { font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.24; }

.lede {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.78;
  color: var(--stone);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--lake);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blossom);
}

/* ---------- 5. Layout ---------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.stack > * + * { margin-top: clamp(16px, 2.4vw, 28px); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: clamp(28px, 5vw, 56px);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.85;
}

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

.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  margin-top: 2em;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.4;
  margin-top: 1.6em;
}

.prose ul { padding-left: 1.4em; list-style: disc; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose strong { font-weight: 700; }

.prose a {
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid var(--blossom);
  transition: background var(--dur) var(--ease);
}

.prose a:hover { background: var(--lake-soft); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--lake);
  border-color: var(--deep);
  color: var(--paper);
}
.btn--solid:hover { background: var(--deep); }

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--ink:hover { background: var(--lake); border-color: var(--deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--sm {
  font-size: 13px;
  padding: 9px 15px;
}

/* ---------- 7. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(11, 111, 127, 0.4);
  border-radius: var(--pill);
  background: var(--lake-soft);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.tag--blossom {
  background: var(--blossom);
  border-color: rgba(16, 26, 31, 0.35);
  color: var(--ink);
}

.tag--rape {
  background: var(--rape);
  border-color: rgba(16, 26, 31, 0.35);
  color: var(--ink);
}

.tag--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- 8. Paper card ---------- */
.paper-card {
  position: relative;
  padding: clamp(18px, 2.6vw, 30px);
  background: var(--mist);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 0 var(--lake-soft);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.paper-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--lake-soft);
}

/* ---------- 9. Figure ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lake-soft);
  aspect-ratio: 16 / 10;
}

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

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

.figure--diagonal {
  border-radius: var(--radius) 96px var(--radius) var(--radius);
}

.figure__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-align: center;
  background-color: var(--lake-soft);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(11, 111, 127, 0.10) 0 14px,
    rgba(11, 111, 127, 0) 14px 28px
  );
}

.figure__caption {
  margin-top: 10px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* ---------- 10. Grid ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

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

.grid--offset { margin-bottom: clamp(16px, 3vw, 42px); }
.grid--offset > *:nth-child(even) { transform: translateY(clamp(16px, 3vw, 42px)); }

/* ---------- 11. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.breadcrumb a:hover {
  color: var(--lake);
  border-bottom-color: var(--blossom);
}

.breadcrumb__sep { color: rgba(94, 107, 112, 0.6); }

.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- 12. Section head ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-head__meta {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px clamp(12px, 2.6vw, 28px);
  pointer-events: none;
  transition: padding var(--dur) var(--ease);
}

.site-header[data-condensed] { padding-top: 6px; padding-bottom: 6px; }

/* skip link */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* scroll meter */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}

.scroll-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lake), var(--blossom));
  transition: width 80ms linear;
}

/* left index rail */
.header-index { display: none; }

.header-index__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--lake-soft);
  background: var(--paper);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.header-index__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}

.header-index__item {
  position: relative;
  display: flex;
  justify-content: center;
}

.header-index__link {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--lake-soft);
  text-decoration: none;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.header-index__link:hover {
  background: rgba(203, 233, 236, 0.14);
  border-color: rgba(203, 233, 236, 0.4);
}

.header-index__link[aria-current="page"] {
  background: var(--lake);
  border-color: rgba(203, 233, 236, 0.5);
  color: var(--paper);
  box-shadow: inset 3px 0 0 0 var(--blossom);
}

.header-index__num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.header-index__label {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  padding: 4px 11px;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-6px, -50%);
  pointer-events: none;
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.header-index__item:hover .header-index__label,
.header-index__link:focus-visible .header-index__label {
  opacity: 1;
  transform: translate(0, -50%);
}

/* floating pill shell */
.header-shell {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  width: min(100%, 1360px);
  margin-inline: auto;
  padding: 7px 8px;
  border: 1px solid rgba(16, 26, 31, 0.9);
  border-radius: var(--pill);
  background: rgba(248, 245, 236, 0.9);
  box-shadow: 0 14px 30px -22px rgba(7, 62, 74, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.site-header[data-condensed] .header-shell {
  box-shadow: 0 8px 18px -14px rgba(7, 62, 74, 0.9);
}

/* brand */
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 12px 3px 3px;
  border-radius: var(--pill);
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--deep);
  border-radius: 50%;
  background: var(--lake);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(248, 245, 236, 0.5);
  border-radius: 50%;
  transform: scale(0.78);
}

.brand:hover .brand__mark {
  background: var(--blossom);
  color: var(--ink);
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand__tagline {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.site-nav__link {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.site-nav__link:hover {
  background: var(--lake-soft);
  border-color: rgba(11, 111, 127, 0.35);
}

.site-nav__link[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* tools */
.header-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border: 1px solid rgba(11, 111, 127, 0.4);
  border-radius: var(--pill);
  background: var(--lake-soft);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  white-space: nowrap;
}

.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lake);
  box-shadow: 0 0 0 3px rgba(11, 111, 127, 0.16);
}

/* mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

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

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

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

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

.nav-toggle__text { line-height: 1; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: min(72%, 780px);
  height: 9px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: var(--lake-soft);
  transform: translateX(-50%);
}

.footer-shell {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 40px) clamp(20px, 3vw, 32px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.footer-brand__line {
  max-width: 22em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.55;
}

.footer-brand__note {
  max-width: 30em;
  margin-top: 12px;
  margin-bottom: 20px;
  color: var(--stone);
  font-size: 14px;
  line-height: 1.85;
}

.footer-nav__title,
.footer-contact__title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
}

.footer-nav__item { display: block; }

.footer-nav__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  transition:
    color var(--dur) var(--ease),
    padding-left var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.footer-nav__link:hover {
  padding-left: 6px;
  color: var(--lake);
  border-bottom-color: var(--blossom);
}

.footer-nav__link[aria-current="page"] {
  color: var(--lake);
  font-weight: 700;
}

.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact__item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact__key {
  flex: 0 0 40px;
  padding-top: 2px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.footer-contact__value {
  color: var(--ink);
  word-break: break-word;
}

.footer-contact__note {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--blossom);
  background: var(--lake-soft);
  color: var(--deep);
  font-size: 12px;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal__link {
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.footer-legal__link:hover {
  color: var(--lake);
  border-bottom-color: var(--blossom);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.footer-meta__item { display: inline-block; }
.footer-meta__icp { display: inline-block; }

/* =========================================================
   Responsive
   ========================================================= */

/* tablet & mobile header */
@media (max-width: 1099px) {
  .header-tools { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .brand__tagline { display: none; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--ink);
    border-radius: 22px;
    background: var(--mist);
    box-shadow: 0 26px 44px -30px rgba(16, 26, 31, 0.95);
  }

  .site-nav[data-open="true"] { display: flex; }

  .site-nav__link {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 15px;
  }
}

/* desktop: left rail + right-shifted content */
@media (min-width: 1100px) {
  body { padding-left: var(--rail); }

  .header-index {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--rail);
    padding: 16px 0;
    border-right: 1px solid var(--ink);
    background: var(--deep);
  }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .status-chip { display: none; }
}

/* grid collapse */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--offset { margin-bottom: 0; }
  .grid--offset > *:nth-child(even) { transform: none; }
  .figure--diagonal { border-radius: var(--radius) 56px var(--radius) var(--radius); }
}

/* footer collapse */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer::before { width: 88%; }
}

/* small phones */
@media (max-width: 520px) {
  .site-header { padding: 8px 10px; }
  .header-shell { padding: 5px 6px; gap: 6px; }
  .brand { padding: 3px 6px 3px 3px; }
  .brand__mark { width: 32px; height: 32px; flex-basis: 32px; font-size: 14px; }
  .brand__name { font-size: 14px; }
  .nav-toggle { padding: 9px 12px; }
}

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