/* ============================================================
   eazy.day — TYPOGRAPHY SYSTEM
   Three voices:
     · Italiana      — the display/wordmark voice (airy, editorial)
     · EB Garamond   — the reading voice (longform, warm serif)
     · Fraunction?   — no. Functional UI uses a quiet grotesque.
   Fonts load via @font-face in fonts.css (Google Fonts CDN).
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-display: 'Italiana', 'Times New Roman', serif;   /* wordmark, hero */
  --font-serif:   'EB Garamond', Georgia, 'Times New Roman', serif; /* body */
  --font-sans:    'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif; /* UI */
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---- Fluid display scale (editorial, generous) ---- */
  --text-hero:    clamp(3.5rem, 11vw, 7rem);     /* wordmark moments        */
  --text-display: clamp(2.75rem, 6vw, 4.5rem);   /* page titles             */
  --text-h1:      clamp(2rem, 4vw, 3rem);
  --text-h2:      clamp(1.6rem, 3vw, 2.25rem);
  --text-h3:      1.5rem;
  --text-h4:      1.25rem;

  /* ---- Reading & UI scale ---- */
  --text-lead:    1.375rem;   /* italic standfirst */
  --text-body:    1.0625rem;  /* 17px, serif reading */
  --text-ui:      0.9375rem;  /* 15px, sans UI       */
  --text-sm:      0.8125rem;  /* 13px                */
  --text-xs:      0.6875rem;  /* 11px, eyebrows      */

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

  /* ---- Line heights ---- */
  --leading-tight:   1.05;   /* display */
  --leading-snug:    1.25;   /* headings */
  --leading-body:    1.65;   /* serif reading — spacious */
  --leading-ui:      1.45;   /* sans UI */

  /* ---- Letter spacing ---- */
  --tracking-display: -0.01em;   /* Italiana wants tightening */
  --tracking-tight:   -0.015em;
  --tracking-normal:  0;
  --tracking-wide:    0.02em;
  --tracking-eyebrow: 0.22em;    /* uppercase eyebrow labels */

  /* ---- Semantic type roles ---- */
  --type-wordmark:  var(--weight-normal) var(--text-hero)/var(--leading-tight) var(--font-display);
  --type-eyebrow:   var(--weight-medium) var(--text-xs)/1.4 var(--font-sans);
}

/* Eyebrow / kicker label — the studio's signature small caps */
.eazy-eyebrow {
  font: var(--type-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-muted);
}
