/* Hallmark · tokens · Capellon — parturi-kampaamo, Seinäjoki
 * theme: custom · vibe: "jää-sininen, kulta, hiljainen ylellisyys"
 * axes: light / roman-serif / chromatic-gold ~78°
 * Palette anchored on the Capellon wordmark: pale ice-blue marble, gold veining, deep ink.
 * Every colour and font in styles.css must come through a token named here.
 */

:root {
  /* ---- Colour · paper (ice-blue tinted, never pure white) ---- */
  --color-paper:       oklch(97% 0.010 230);
  --color-paper-2:     oklch(94% 0.013 230);
  --color-paper-3:     oklch(90% 0.016 230);

  /* ---- Colour · ink (blue-tinted, never pure black) ---- */
  --color-ink:         oklch(19% 0.014 240);
  --color-ink-2:       oklch(38% 0.013 240);
  --color-muted:       oklch(52% 0.012 235);
  --color-neutral:     oklch(45% 0.012 235);

  /* ---- Colour · rules ---- */
  --color-rule:        oklch(84% 0.014 230);
  --color-rule-2:      oklch(89% 0.012 230);

  /* ---- Colour · accent (gold, two lightness steps, one hue) ----
     accent      = fills + marks   → ink text on it reads 6.9:1
     accent-deep = text + borders  → on paper reads 5.5:1
     Kept under 5 % of any viewport. */
  --color-accent:      oklch(70% 0.13 78);
  --color-accent-deep: oklch(50% 0.13 74);
  --color-accent-ink:  oklch(19% 0.014 240);
  --color-focus:       oklch(50% 0.18 76);

  /* ---- Overlay modifiers (not palette entries — used over photography) ---- */
  --scrim-photo: linear-gradient(
    to top,
    oklch(19% 0.014 240 / 0.78) 0%,
    oklch(19% 0.014 240 / 0) 58%
  );
  --shadow-whisper: 0 1px 2px oklch(19% 0.014 240 / 0.06);
  --shadow-hairline: 0 -1px 0 0 var(--color-rule);

  /* ---- Type ---- */
  --font-display: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:    "Switzer", ui-sans-serif, "Helvetica Neue", Arial, sans-serif;

  /* Scale · major third (1.25) from a 16 px body */
  --text-xs:   0.64rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-xl:   1.9531rem;
  --text-2xl:  2.4414rem;
  --text-3xl:  3.0518rem;
  --text-display-s: clamp(2rem, 3.4vw + 0.9rem, 3.25rem);
  --text-display:   clamp(2.75rem, 5vw + 1rem, 5.25rem);

  /* ---- Space · 4 pt base ---- */
  --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;

  --page-gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 62ch;

  /* ---- Rules + radii ---- */
  --rule-hair: 1px;
  --radius-none: 0;
  --radius-sm: 2px;

  /* ---- Motion ---- */
  --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;

  /* ---- Depth ---- */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 200;
}
