/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4
 * genre: editorial · macrostructure: Catalogue · tone: austere
 * theme: Editorial · paper: cool-bone · accent: clay · display: Instrument Serif + IBM Plex Sans
 * nav: N12 banner+retract · footer: Ft1 mast-headed
 * enrichment: none (product photography from inventory)
 * F6 knobs: ratio=1/1 · density=4-up · micro-action=View
 * axes: light / classical-serif / warm-clay (differs from prior Playfair+amber on display face + restraint)
 */

:root {
  /* Colour — cool stone paper, slate accent */
  --color-paper:     oklch(97% 0.008 265);
  --color-paper-2:   oklch(94% 0.01 265);
  --color-paper-3:   oklch(90% 0.012 265);
  --color-rule:      oklch(86% 0.01 265);
  --color-rule-2:    oklch(76% 0.015 265);
  --color-muted:     oklch(55% 0.02 265);
  --color-ink-2:     oklch(36% 0.02 265);
  --color-ink:       oklch(18% 0.014 265);
  --color-accent:    oklch(46% 0.04 265);
  --color-accent-ink: oklch(98% 0.005 265);
  --color-focus:     oklch(46% 0.04 265);
  --color-inverse:   oklch(18% 0.014 265);
  --color-inverse-ink: oklch(97% 0.008 265);
  --color-inverse-muted: oklch(70% 0.01 265);

  /* Type */
  --font-display: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body:    "Poppins", system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Scale — major third 1.25 */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.25rem;
  --text-4xl:  clamp(2rem, 3vw + 1rem, 2.75rem);
  --text-display: clamp(2.25rem, 4vw + 0.75rem, 3.5rem);
  --text-display-s: clamp(1.75rem, 2.5vw + 0.75rem, 2.5rem);

  /* Space — 4pt */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  --rule-hair: 1px;
  --radius-sm: 2px;
  --radius-md: 4px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  420ms;

  --z-base:     1;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    400;

  --banner-h: 0px;
  --bar-h: 88px;
  --measure: 65ch;
  --page-max: 72rem;
  --page-pad: clamp(1rem, 4vw, 1.5rem);
}
