/*
 * Etched Folio: tokens
 *
 * A quiet, learned almanac. Warm white paper, near-black ink, a deep harbor
 * blue for the few things you can press, and an ochre rule that frames notices.
 * Old-style serif text with small caps labels, an italic flourish in the
 * masthead, thin framed sidebars and line-engraved illustrations drawn with
 * hatching in inline SVG.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Alegreya:ital,wght@0,400;0,500;0,700;1,400&family=Alegreya+SC:wght@500;700&display=swap" rel="stylesheet">
 */

:root {
  /* Color */
  --ef-paper: #FBFAF5;
  --ef-vellum: #F1F0E8;
  --ef-mist: #EAF0EF;
  --ef-rule: #D8D2C3;
  --ef-ink: #1C1B18;
  --ef-soft: #5F5A50;
  --ef-harbor: #163F5E;
  --ef-harbor-deep: #0E2C44;
  --ef-ochre: #C39A2E;
  --ef-rust: #94472C;

  /* Fonts */
  --ef-display: "Cormorant Garamond", "Garamond", serif;
  --ef-serif: "Alegreya", "Georgia", serif;
  --ef-caps: "Alegreya SC", "Alegreya", serif;

  /* Type scale */
  --ef-text-masthead: clamp(34px, 5.2vw, 60px);
  --ef-text-hero: clamp(40px, 5.6vw, 72px);
  --ef-text-h2: clamp(30px, 3.6vw, 44px);
  --ef-text-h3: 24px;
  --ef-text-lead: 20px;
  --ef-text-body: 18px;
  --ef-text-small: 15px;
  --ef-text-caps: 14px;
  --ef-tracking-caps: 0.06em;

  /* Shape */
  --ef-radius: 2px;
  --ef-radius-pill: 999px;
  --ef-border: 1px solid var(--ef-rule);
  --ef-border-ink: 1.5px solid var(--ef-ink);
  --ef-frame: 2px solid var(--ef-harbor);
  --ef-ochre-rule: 2px solid var(--ef-ochre);
  --ef-shadow: 0 1px 0 var(--ef-rule);
  --ef-shadow-plate: 0 18px 40px -28px rgba(28, 27, 24, 0.45);

  /* Space */
  --ef-space-1: 8px;
  --ef-space-2: 16px;
  --ef-space-3: 24px;
  --ef-space-4: 40px;
  --ef-space-5: 64px;
  --ef-section: clamp(56px, 8vw, 104px);
  --ef-container: 1296px;
  --ef-measure: 700px;
}
