/* ============================================================
   Feli Feli — Base layer
   Light, opinionated defaults + a handful of typographic helper
   classes. Products may rely on these or just use the tokens.
   ============================================================ */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Typographic helpers --- */
.ff-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-hero);
  color: var(--text-primary);
}
.ff-h1 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h1); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); }
.ff-h2 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: var(--ls-tight); }
.ff-h3 { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-snug); }
.ff-body-lg { font-size: var(--fs-body-lg); font-weight: var(--fw-light); line-height: var(--lh-relaxed); }
.ff-body { font-size: var(--fs-body); line-height: var(--lh-normal); }

/* Eyebrow / data label — Space Mono, uppercase, tracked out */
.ff-label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Brass accent register (replaces the old italic register) — bold, brass, no slant */
.ff-accent { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--accent); }

/* Brass accent rule used under section headings */
.ff-rule {
  width: 56px;
  height: var(--bw-rule);
  background: var(--accent);
  border: 0;
  margin: var(--space-3) 0;
}

/* Decorative geometric divider strip (uses the brand border motif) */
.ff-border-strip {
  height: 18px;
  background: url('../assets/motifs/border-chevron.png') repeat-x center / auto 100%;
  opacity: 0.9;
}
