/* Hallmark · macrostructure: Split Studio · tone: established local trade · anchor hue: spruce green 165
 * theme: custom (vibe: "the owner's own card, spruce green on cream, one red")
 * paper oklch(96.5% 0.013 90) · accent oklch(50% 0.185 27) red · display Gloock + body Figtree
 * axes: light / high-contrast-serif / chromatic-green
 * Brand comes from Yeo's Painting Co.'s own Christmas card: dark green, cream, red. Nothing added.
 */
:root {
  /* Green and paper */
  --color-green:       oklch(28%   0.050 165);
  --color-green-deep:  oklch(21.5% 0.042 165);
  --color-green-soft:  oklch(40%   0.050 165);
  --color-green-faint: oklch(90%   0.020 165);

  --color-paper:       oklch(96.5% 0.013  90);
  --color-paper-2:     oklch(93.6% 0.016  90);
  --color-paper-3:     oklch(90.4% 0.018  90);
  --color-white:       oklch(99%   0.005  90);

  --color-ink:         oklch(24%   0.022 165);
  --color-ink-2:       oklch(42%   0.020 165);   /* body on cream, passes AA */
  --color-rule:        oklch(85%   0.014  90);
  --color-rule-strong: oklch(72%   0.016  90);

  --color-on-green:    oklch(95.5% 0.013  90);
  --color-on-green-2:  oklch(84%   0.026 165);
  --color-rule-green:  oklch(40%   0.040 165);

  /* The card's red. Used for the seasonal band and one or two small marks only. */
  --color-red:         oklch(50%   0.185  27);
  --color-red-deep:    oklch(43%   0.170  27);

  --color-focus:       oklch(76%   0.150  85);

  /* Hero shade, so the headline stays readable over the photo on a phone */
  --color-shade-0:     oklch(21.5% 0.042 165 / 0);
  --color-shade-1:     oklch(21.5% 0.042 165 / 0.72);
  --color-shade-2:     oklch(21.5% 0.042 165 / 0.94);
  --color-chip:        oklch(21.5% 0.042 165 / 0.82);
  --color-nav:         oklch(96.5% 0.013  90 / 0.94);

  /* Type */
  --font-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.0625rem;
  --text-lg:   1.1875rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-display-s: clamp(2rem, 4.2vw, 3rem);
  --text-display:   clamp(2.05rem, 3.3vw, 3.25rem);

  /* Space, 4pt scale */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;

  --measure: 60ch;
  --shell: 74rem;
  --nav-h: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  --rule-hair: 1px;
  --rule-bold: 2px;

  --dur-fast: 120ms;
  --dur-mid:  240ms;
  --dur-slow: 700ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in:  cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
