/* ============================================================
   Payden & Rygel — Typography tokens
   Headings: Brandon Grotesque Medium (all levels).
   Body / UI: Albert Sans (Light / Regular / SemiBold; Bold rare).
   Default text color for ALL styles incl. headings: Gray 700.
   Values from "Payden Web 4.0 Design System" (§2).
   ============================================================ */
:root {
  /* Families */
  --font-heading: 'Brandon Grotesque', 'Albert Sans', system-ui, sans-serif;
  --font-body: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Weights */
  --fw-light: 300; /* @kind font */
  --fw-regular: 400; /* @kind font */
  --fw-medium: 500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold: 700; /* @kind font */

  /* Heading scale — desktop (Brandon Grotesque Medium) */
  --fs-h1: 64px;  --lh-h1: 80px;  /* letter-spacing −2% */
  --fs-h2: 48px;  --lh-h2: 64px;
  --fs-h3: 40px;  --lh-h3: 56px;
  --fs-h4: 32px;  --lh-h4: 48px;
  --fs-h5: 24px;  --lh-h5: 36px;
  --fs-h6: 20px;  --lh-h6: 32px;

  /* Heading scale — mobile */
  --fs-h1-m: 40px; --lh-h1-m: 48px;
  --fs-h2-m: 36px; --lh-h2-m: 44px;
  --fs-h3-m: 32px; --lh-h3-m: 40px;
  --fs-h4-m: 24px; --lh-h4-m: 32px;
  --fs-h5-m: 20px; --lh-h5-m: 28px;
  --fs-h6-m: 18px; --lh-h6-m: 26px;

  /* Body & UI scale (Albert Sans, line-height 1.5) */
  --fs-largest: 20px;  /* Text/Largest */
  --fs-lg: 18px;       /* Text/Large */
  --fs-body: 16px;     /* Text/Regular — default body */
  --fs-sm: 14px;       /* Text/Small */
  --fs-xs: 12px;       /* Text/Smallest */

  /* Line heights */
  --lh-body: 1.5; /* @kind font */

  /* Letter spacing */
  --ls-h1: -0.02em;     /* Heading 1 only */
  --ls-eyebrow: 0.01em; /* eyebrows are sentence case, never all-caps */
}

/* ---- Optional base element styling consumers may opt into ---- */
.pr-h1, .pr-h2, .pr-h3, .pr-h4, .pr-h5, .pr-h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  margin: 0;
}
.pr-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.pr-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.pr-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.pr-h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.pr-h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.pr-h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }

@media (max-width: 768px) {
  .pr-h1 { font-size: var(--fs-h1-m); line-height: var(--lh-h1-m); }
  .pr-h2 { font-size: var(--fs-h2-m); line-height: var(--lh-h2-m); }
  .pr-h3 { font-size: var(--fs-h3-m); line-height: var(--lh-h3-m); }
  .pr-h4 { font-size: var(--fs-h4-m); line-height: var(--lh-h4-m); }
  .pr-h5 { font-size: var(--fs-h5-m); line-height: var(--lh-h5-m); }
  .pr-h6 { font-size: var(--fs-h6-m); line-height: var(--lh-h6-m); }
}

.pr-lead { font-family: var(--font-body); font-size: var(--fs-largest); line-height: var(--lh-body); font-weight: var(--fw-light); color: var(--text-primary); margin: 0; }
.pr-body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-regular); color: var(--text-primary); margin: 0; }
.pr-sm   { font-family: var(--font-body); font-size: var(--fs-sm); line-height: var(--lh-body); color: var(--text-secondary); margin: 0; }
/* Tagline — Albert Sans SemiBold 16 (a named text style in the file) */
.pr-tagline { font-family: var(--font-body); font-size: var(--fs-body); font-weight: var(--fw-semibold); line-height: var(--lh-body); color: var(--text-primary); margin: 0; }
/* Eyebrow — sentence case, SemiBold, gray (never teal, never all-caps).
   Use extremely sparingly (a single section lead); most sections need none. */
.pr-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  color: var(--text-secondary);
  margin: 0;
}
