/*
 * Folio: design tokens
 * A quiet print-magazine style. A white paper page, all-caps roman serif headlines set
 * centered, widely spaced capitals for the masthead, plain sans text and a lot of air.
 * The signature is "the cover": one portrait card in a warm terracotta, centered on the page
 * with cover lines printed on it, followed by text links split by a thin pipe and a
 * full-bleed stone band. Square corners, hairline rules, no shadows.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Marcellus&family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400&family=Instrument+Sans:wght@400;500;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: paper page, mist for quiet sections, stone for the full-bleed band */
  --fo-paper: #fdfcf9;
  --fo-white: #ffffff;
  --fo-mist: #f0efe9;
  --fo-stone: #b8bbb0;
  --fo-stone-deep: #9ea294;
  --fo-line: #dfded6;
  --fo-line-strong: #bdbcb3;

  /* Text */
  --fo-ink: #151513;
  --fo-soft: #66655e;
  --fo-faint: #9a998f;

  /* The cover color. Used for the cover card and nothing much else */
  --fo-terracotta: #c65a3c;
  --fo-terracotta-deep: #a9472d;
  --fo-terracotta-soft: #f3ddd4;

  /* A second, rarer note: moss, for small marks and the success state */
  --fo-moss: #3e5944;

  /* Drawing colors, only for the illustrated still lifes */
  --fo-draw-cream: #f6ead8;
  --fo-draw-leaf: #6f8a62;
  --fo-draw-root: #e0a35c;
  --fo-draw-plum: #6b3a4a;

  /* Type */
  --fo-display: "Marcellus", "Trajan Pro", "Times New Roman", serif;
  --fo-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --fo-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fo-text-hero: clamp(38px, 5.6vw, 76px);
  --fo-text-h2: clamp(28px, 3.6vw, 46px);
  --fo-text-h3: 21px;
  --fo-text-dek: clamp(19px, 1.8vw, 23px);
  --fo-text-body: 16px;
  --fo-text-prose: 19px;
  --fo-text-small: 14px;
  --fo-text-micro: 11px;

  --fo-tracking-display: .01em;
  --fo-tracking-logo: .32em;
  --fo-tracking-caps: .18em;
  --fo-leading-display: 1.04;

  /* Shape: square corners, hairlines, no shadows */
  --fo-radius: 0;
  --fo-radius-field: 2px;
  --fo-hairline: 1px solid var(--fo-line);
  --fo-rule: 1px solid var(--fo-ink);
  --fo-shadow: none;
  --fo-cover-ratio: 3 / 4;

  /* Space: generous and vertical. Pages breathe like a printed spread */
  --fo-gutter: clamp(20px, 2.6vw, 36px);
  --fo-section: clamp(72px, 10vw, 136px);
  --fo-container: 1240px;
  --fo-narrow: 680px;
  --fo-cover-width: min(78vw, 340px);

  /* Motion: slow and plain */
  --fo-ease: cubic-bezier(.3, .7, .3, 1);
  --fo-speed: .35s;
}
