/* Fogwake design tokens. Colours and fonts follow the brand guide (website/05_brand/brand.md). */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-soft-latin.woff2") format("woff2-variations"), url("../assets/fonts/fraunces-soft-latin.woff2") format("woff2");
  font-weight: 500 750;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("../assets/fonts/rubik-latin-wght-normal.woff2") format("woff2-variations"), url("../assets/fonts/rubik-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Brand */
  --ink: #4a4452;
  --ink-deep: #211e27;
  --ink-night: #17151c;
  --cream: #f7edd8;
  --cream-deep: #ead9b6;
  --brass: #f0c766;
  --brass-deep: #b7832f;
  --ghost: #7be3d2;
  --ghost-deep: #1f6b62;
  --on-dark: #f6eedc;
  --on-dark-muted: #cfc6b4;
  --on-cream: #2e2a33;
  --on-cream-muted: #6b5e4e;
  --brass-ink: #86632f;            /* brass deep darkened to 4.6:1 for small gold text on cream */
  --shadow-ink: #140f1a;

  /* Hard, short shadows (brand) */
  --shadow-hard: 0 3px 0 rgb(20 15 26 / 0.55);
  --shadow-hard-low: 0 1px 0 rgb(20 15 26 / 0.55);
  --shadow-frame: 0 3px 0 rgb(20 15 26 / 0.55), 0 30px 60px -30px rgb(20 15 26 / 0.8);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --soft: "SOFT" 100, "WONK" 0;
  --fs-mega: clamp(3rem, 1.6rem + 6.2vw, 7rem);
  --fs-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --tracking-label: 0.18em;

  /* Space and shape */
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --section-y: clamp(5rem, 3rem + 8vw, 10rem);
  --max: 78rem;
  --radius-s: 0.5rem;
  --radius-m: 0.875rem;
  --radius-l: 1.25rem;
  --header-h: 4.5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-med: 360ms;
  --dur-slow: 900ms;
}
