/* ============================================================
   Bawa — base element defaults & utility primitives.
   Applied when consumers link styles.css.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tracking-body);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Headings: display face, tight, bold ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--fw-black);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: 0; }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }

a {
  color: var(--bawa-blue);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--blue-deep); text-decoration: underline; }

strong { font-weight: var(--fw-bold); color: var(--text-strong); }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

::selection { background: var(--bawa-blue); color: #fff; }

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

/* ---- Utility: mono eyebrow / technical label ---- */
.bawa-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Utility: display heading helper ---- */
.bawa-display {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
