/* Editorial: Newsreader for display, Public Sans for text. Warm paper, ink, and an
   oxblood accent with a brass highlight. Type from the Freedman CPA build. */

@font-face {
  font-family: "SC Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "SC Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "SC Public Sans";
  src: url("../fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f5ef; --surface: #efebe2; --fg: #1e1d1a; --muted: #5f5b53; --line: #dcd6ca;
  --accent: #7c2d2a; --accent-hover: #5f201e; --on-accent: #ffffff; --accent-ink: #7c2d2a;
  --highlight: #c7a76b; --ok: #2f6b3a; --field-line: #857f73;
  --band-bg: #1e1d1a; --band-fg: #f7f5ef; --band-muted: #c9c4b8;
  --ill-bg: #efebe2; --ill-a: #fbfaf6; --ill-b: #d9cfbd; --ill-c: #e4ddd0; --ill-line: #1e1d1a; --ill-hi: #7c2d2a;

  --display: "SC Newsreader", Georgia, serif;
  --text: "SC Public Sans", system-ui, sans-serif;
  --display-weight: 500; --display-style: normal; --display-stretch: 100%;
  --display-tracking: -0.015em; --display-leading: 1.08;
  --h1: clamp(2.6rem, 5.6vw, 4.6rem); --h2: clamp(1.9rem, 3.4vw, 2.8rem); --h3: 1.4rem;
  --body-size: 1.0625rem; --section: clamp(72px, 10vw, 136px);
}

/* Ledes set in the serif italic. */
.lede { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; }
.wordmark { font-weight: 600; font-size: 1.45rem; }
