/* ==========================================================================
   Design tokens — colour, type, spacing, motion.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-var.woff2") format("woff2-variations"),
       url("../fonts/newsreader-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2-variations"),
       url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122;
}

:root {
  /* ---- colour ---- */
  --vanilla: #f4eee2;
  --plaster: #e8dfcf;
  --sand: #d8cbb6;
  --travertine: #c99a4e;
  --amber: #e2a84b;
  --espresso: #2b1f19;
  --roast: #4a3428;
  --ink: #1b1714;
  --steel: #b9b7b1;
  --steel-dark: #64635f;
  --awning: #4b5f8c;
  --matcha: #8a9a4b;
  --blush: #e6bfa6;

  --cream: #f4eee2;

  /* ---- fonts ---- */
  --font-serif: "Newsreader", "Instrument Serif", Georgia, serif;
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* ---- fluid type scale ---- */
  --size-hero: clamp(3.5rem, 3.5vw + 2.5rem, 11.25rem);
  --size-h2: clamp(2.5rem, 4vw + 1rem, 5.5rem);
  --size-h3: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  --size-body: 17px;
  --measure: 62ch;

  /* ---- spacing ---- */
  --gutter: clamp(20px, 5vw, 72px);
  --section-pad: clamp(80px, 12vw, 160px);
  --max-width: 1280px;

  /* ---- radii / motion ---- */
  --radius-photo: 4px;
  --radius-pill: 999px;
  --ease-calm: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-reveal: 700ms;
}
