/* BMOS lockup: 🛒 (Noto Color Emoji) + BMOS (Kanit 900 italic) + buildmyonlinestore.com (Schibsted Grotesk 500).
   One inline SVG per size, laid out on baselines in CSS px (viewBox 1:1), so alignment never depends on
   line-height metrics. Generated by .local-state/ws-l2/final2.py; geometry and <link> tags in /LOGO.md.
   Markup: site/_partials/logo.html (header, cap 24px), logo-footer.html (footer, cap 30px).
   Tokens only (see /DESIGN.md). Load after app.css (overrides its legacy `.logo` rule). */

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--brand);
  text-decoration: none;
  line-height: 0;
  letter-spacing: 0;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast) var(--ease);
}
.logo:hover { color: var(--brand-strong); }

/* The SVG box already includes the S's italic overhang (+1px), so nothing to its right is touched. */
.logo-art { display: block; flex-shrink: 0; }

.logo-mark {
  font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  font-style: normal;
  font-weight: 400;
}
.logo-word {
  font-family: 'Kanit', var(--font);
  font-style: italic;
  font-weight: 900;
  font-kerning: none;
  fill: currentColor;
}
.logo-sig {
  font-family: var(--font);
  font-size: var(--t-12);
  font-weight: 500;
  font-kerning: none;
  fill: var(--n6);
}
.logo--footer .logo-sig { font-size: var(--t-14); }

/* Dark surfaces (--n9 / --brand): emoji unchanged, word --on-dark, signature --n4 */
.logo--on-dark,
.logo--on-dark:hover { color: var(--on-dark); }
.logo--on-dark .logo-sig { fill: var(--n4); }

/* Header ≤ 640px: drop the signature and collapse the space it used (16.5px below the baseline). */
@media (max-width: 640px) {
  .logo:not(.logo--footer) .logo-sig { display: none; }
  .logo:not(.logo--footer) .logo-art { margin-bottom: -15px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo { transition: none; }
}

/* Tap target: the header lockup is 29px tall on phones; give the anchor a 44px hit area without moving the art. */
.nv-row > .logo { min-height: 44px; }
