/* ============================================================
   Estate — Typography tokens.
   EB Garamond (display serif) · Inter (functional) · JetBrains Mono
   (metadata) · Cormorant (optional finer display). design-system.md §2.4.
   Webfonts loaded from Google Fonts (see fonts.css).
   ============================================================ */

:root {
  /* Families */
  --font-display:   "EB Garamond", Georgia, serif;
  --font-sans:      "Inter", -apple-system, system-ui, sans-serif;
  --font-mono:      "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --font-cormorant: "Cormorant", "Cormorant Garamond", Georgia, serif;

  /* Weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;

  /* Type scale — size / weight / role (design-system.md §2.4) */
  --size-display-hero: 64px;  /* EB Garamond 400 — hero property name */
  --size-display-lg:   40px;  /* EB Garamond 400 — property name (h1) */
  --size-display-md:   22px;  /* EB Garamond 500 — card / section titles */
  --size-body-md:      16px;  /* Inter 400 — descriptions, running text */
  --size-label:        14px;  /* Inter 500 — nav items, account labels */
  --size-mono-label:   13px;  /* JetBrains Mono 400 — metadata */
  --size-eyebrow:      12px;  /* Inter 600 uppercase +0.08em — section labels */
  --size-badge:        11px;  /* Inter 600 uppercase — status pills */

  /* Line heights */
  --leading-display: 1.05;
  --leading-tight:   1.2;
  --leading-normal:  1.5;
  --leading-relaxed: 1.6;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.08em;
  --tracking-wider:  0.14em;
}

/* Editorial display helper — never bold the serif. */
.display {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-snug);
  font-feature-settings: "liga", "kern";
}
