/* san-mateo-redesign tokens. The grain-and-hinge magazine system, recoloured to San Mateo Custom Cabinets' own brand:
   cream #FAF6F0, charcoal #2B2B2B, walnut #5C4033, brass #B08D57 (AA text #816130, on dark #D9B98A). Source: rank-and-rent/san-mateo-cabinets/PRODUCT.md. */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: "Inter Tight", system-ui, sans-serif;   /* labels: small caps-style sans, no mono on a home magazine */

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.55rem);
  --step-2: clamp(1.7rem, 1.4rem + 1.3vw, 2.6rem);
  --step-3: clamp(2.4rem, 1.7rem + 3vw, 4.4rem);
  --step-4: clamp(3.2rem, 2rem + 5.4vw, 7rem);
  --step-5: clamp(4rem, 1rem + 13vw, 14rem);

  --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem;
  --space-5: 3rem; --space-6: 4.5rem; --space-7: 7rem; --space-8: 10rem;

  --color-bg: #faf6f0;        /* brand cream */
  --color-paper-2: #f0e8dc;   /* inset panels, cream one step down */
  --color-fg: #2b2b2b;        /* brand charcoal */
  --color-muted: #5f584f;     /* 6.5:1 on cream */
  --color-accent: #816130;    /* brand brass, AA text shade (5.3:1 on cream) */
  --color-brass: #b08d57;     /* brand brass, for rules and the logo dot only */
  --color-dark: #5c4033;      /* brand walnut: inverted spreads and the footer */
  --color-on-dark: #faf6f0;
  --color-on-dark-muted: #e9dfd0;  /* 7.1:1 on walnut */
  --color-on-dark-accent: #d9b98a; /* brand brass-on-dark, 5.0:1 on walnut */
  --color-line: rgb(43 43 43 / 0.16);
  --color-line-strong: rgb(43 43 43 / 0.55);

  --radius: 0px;
  --container: 84rem;
  --gutter: clamp(1rem, 3.2vw, 2.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.7s;
  --dur-slow: 1.3s;
}
