/* Hallmark · genre: editorial · macrostructure: Photographic (bent to scroll-craft "Wet edge")
 * theme: custom · vibe: "clear glass, morning sun, brand greens"
 * paper oklch(97.5% 0.010 195) · accent oklch(50% 0.14 148) squeegee green
 * display Fraunces (upright) + body Instrument Sans
 * axes: light paper / soft serif / chromatic-other (green)
 */
:root {
  /* colour */
  --color-paper:      oklch(97.5% 0.010 195);
  --color-paper-2:    oklch(94.5% 0.014 190);
  --color-paper-3:    oklch(91% 0.018 185);
  --color-rule:       oklch(83% 0.016 180);
  --color-ink:        oklch(23% 0.035 160);
  --color-ink-soft:   oklch(40% 0.030 165);
  --color-accent:     oklch(50% 0.14 148);
  --color-accent-hi:  oklch(66% 0.17 138);
  --color-accent-ink: oklch(98% 0.010 150);
  --color-steel:      oklch(72% 0.012 230);
  --color-steel-dark: oklch(48% 0.014 230);
  --color-frame:      oklch(26% 0.030 160);
  --color-sun:        oklch(84% 0.11 80);
  --color-focus:      oklch(50% 0.14 148);
  --color-shadow:     oklch(30% 0.04 170 / 0.18);

  /* surfaces + light, lifted from the page so nothing is improvised mid-render */
  --color-card:        oklch(99% 0.004 190);
  --glint-0:   oklch(99% 0.006 190 / 0);
  --glint-14:  oklch(99% 0.006 190 / 0.14);
  --glint-16:  oklch(99% 0.006 190 / 0.16);
  --glint-22:  oklch(99% 0.006 190 / 0.22);
  --glint-45:  oklch(99% 0.006 190 / 0.45);
  --glint-50:  oklch(99% 0.006 190 / 0.5);
  --glint-55:  oklch(99% 0.006 190 / 0.55);
  --glint-60:  oklch(99% 0.006 190 / 0.6);
  --color-frame-shade:   oklch(20% 0.03 160 / 0.35);
  --color-frame-shade-2: oklch(20% 0.03 160 / 0.45);
  --color-frame-lip:     oklch(60% 0.03 160);
  --color-sky-a:  oklch(88% 0.035 225);
  --color-sky-b:  oklch(93% 0.02 205);
  --color-sky-c:  oklch(95% 0.016 160);
  --color-sill-top:    oklch(34% 0.03 160);
  --color-sill-bottom: oklch(19% 0.025 160);
  --color-sill-lip:    oklch(70% 0.04 150 / 0.5);
  --color-grip-edge:   oklch(14% 0.02 160);
  --color-drop:        oklch(25% 0.03 170 / 0.28);
  --color-sun-glow:    oklch(88% 0.10 75 / 0.55);
  --color-sun-0:       oklch(88% 0.10 75 / 0);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-text:    "Instrument Sans", system-ui, sans-serif;

  /* space (4pt) */
  --space-2xs: 0.25rem; --space-xs: 0.5rem; --space-sm: 0.75rem; --space-md: 1rem;
  --space-lg: 1.5rem;   --space-xl: 2rem;   --space-2xl: 3rem;   --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* shape + motion */
  --radius-sm: 4px; --radius-md: 8px;
  --rule-hair: 1px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms; --dur-base: 220ms;

  /* scroll-craft roles, mapped from the tokens above */
  --sc-canvas:     var(--color-paper);
  --sc-surface:    var(--color-paper-2);
  --sc-ink:        var(--color-ink);
  --sc-ink-soft:   var(--color-ink-soft);
  --sc-accent:     var(--color-accent);
  --sc-accent-ink: var(--color-accent-ink);
  --sc-font-display: var(--font-display);
  --sc-font-text:    var(--font-text);
}
