

:root {

  --surface-light: #f6f4ee;
  --surface-dark: #2b2e2c;
  --surface-dark-rgb: 43 46 44;
  --paper: var(--surface-light);
  --paper-rgb: 246 244 238;            /* for translucent paper (masthead)  */
  --ink: #242c25;
  --ink-rgb: 36 44 37;
  --muted: #656960;
  --line: #d9d9d0;
  --field-line: #868980;
  --signal-error: #9b2a20;
  --on-dark-ink: var(--surface-light);
  --on-dark-body: #cbc9c1;
  --on-dark-muted: #aaa99f;
  --on-dark-line: rgb(246 244 238 / .16);
  --on-dark-line-strong: rgb(246 244 238 / .3);   /* process rail, plate frame */
  --on-dark-field: rgb(246 244 238 / .45);
  --on-dark-error: #f2a38f;
  --gold-lit: #f0b21a;     
  --gold: #d19a17;         
  --gold-press: #c08d10;   
  --gold-deep: #b07e0c;    
  --gold-ink: #8a6410;     
  --on-gold: #242c25;

  /* -------------------------------------------------------------- focus */
  --color-focus: var(--gold-deep);
  --focus-ring: 2px solid var(--color-focus);
  --focus-offset: 3px;

 
  --gutter: clamp(1.5rem, 5.1vw, 7rem);
  --masthead: clamp(4.5rem, 3.2rem + 3.4svh, 6rem);

  /* --------------------------------------------------------- typography */
  --font-sans: Manrope, Arial, sans-serif;
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-heavy: 800;
  --leading-normal: 1.6;
  --leading-snug: 1.3;
  --tracking-normal: 0;
  --tracking-tight: -0.032em;
  --tracking-wordmark: 0.28em;

  /* -------------------------------------------------------------- space */
  --space-3: 0.75rem;
  --space-5: 1.5rem;
  --radius-sm: 3px;
  --radius-md: 10px;

  /* ------------------------------------------------------------- motion */
  --motion: cubic-bezier(.2, .75, .25, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 220ms var(--ease-out);

  /* ------------------------------------------------------------ z-index */
  --z-header: 100;
  --z-skip-link: 200;
}

/* The grid and the masthead are the only tokens that respond to the viewport. */
@media (min-width: 112.5em) {
  :root { --masthead: 6.5rem; }
}
@media (max-width: 63.99em) {
  :root { --masthead: 5.5rem; --gutter: 2rem; }
}
@media (max-width: 39.99em) {
  :root { --gutter: 1.5rem; --masthead: 5rem; }
}
@media (max-width: 23em) {
  :root { --gutter: 1rem; }
}
