/* ──────────────────────────────────────────────────────────
   faces.css — ronbronson.design: this site's faces, type slots and fallback
   colours for the Chromatic Editorial System. Load before core.css.
   palette.js overwrites the colour roles at load; the values here are
   the static "Platinum" fallback for a JS-off render.
   ────────────────────────────────────────────────────────── */
@font-face { font-family: "Author"; src: url("fonts/author-extralight.woff") format("woff"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Author"; src: url("fonts/author-extralight-italic.woff") format("woff"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "Author"; src: url("fonts/author-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Author"; src: url("fonts/author-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Author"; src: url("fonts/author-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Author"; src: url("fonts/author-semibold-italic.woff") format("woff"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Author"; src: url("fonts/author-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Author"; src: url("fonts/author-bold-italic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-semibold.woff2") format("woff2"), url("fonts/switzer-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-semibold-italic.woff2") format("woff2"), url("fonts/switzer-semibold-italic.woff") format("woff"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url("fonts/azeret-mono-variable.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #ebebeb; --bg-deeper: #bbcfe0; --ink: #0c0f0a; --ink-soft: #004e98; --rule: #004e98; --accent: #e25c01;
  --field: var(--bg); --on-ink: var(--bg); --digression: #8a3102;
  --lead: #ff6700; --on-lead: #0c0f0a; --deep: #004e98; --on-deep: #ebebeb;

  --display: "Author", "Times New Roman", Georgia, serif;
  --deck:    "Switzer", "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text:    "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans:    var(--text);
  --mono:    "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --std:     var(--deck);
  --ui:      var(--mono);
}
/* Digression colours tuned to APCA Lc 76 (DDR-013): dark rust on Platinum,
   light pumpkin on Onyx. */
:root[data-palette="onyx"] { --digression: #f1c6a9; }
