/* ============================================================
   Rêverie — Base element styling & helper classes.
   Optional resets + a few utility classes used by cards/kits.
   Tokens come from the other token files; this applies them.
   ============================================================ */

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Display / heading helpers ---- */
.re-display {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
.re-eyebrow {
  font-family: var(--font-condensed);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-size: var(--text-xs);
}
.re-meta {
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-mono);
  font-size: var(--text-sm);
}
.re-body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* The brand's signature: lowercase serif headline with a circumflex
   nod to the wordmark. Used for hero/section titles. */
.re-headline {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  text-transform: lowercase;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

a { color: inherit; }
