/* Bouden House — base element styles & shared primitives.
 * Light-touch resets plus a few reading defaults. Components rely on
 * tokens, not these globals, but specimen cards and UI kits use them.
 */

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

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

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--body-font);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  font-weight: var(--body-weight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--link); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--link-hover); }

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

::selection { background: var(--navy-100); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ---- Shared brand primitives (used by cards & kits) -------------- */

/* Eyebrow / kicker — uppercase Latin label, the brand's signature label */
.bh-eyebrow {
  font-family: var(--label-font);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Short gold rule — recurring divider motif */
.bh-rule {
  width: 48px;
  height: var(--rule-weight);
  background: var(--rule-gold);
  border: 0;
  margin: 0;
}

/* The seal mark — small square stamp in the property's brand color */
.bh-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--seal-brand);
  color: var(--paper-50);
  font-family: var(--font-serif);
  font-weight: var(--weight-bold);
}
