/* BOMI – „Pirmoji šiluma“: tokens. Morning (default) and evening light (html[data-light="pm"], the routine switch).
   The editable colours (accent, page, text …) come from design.json → admin → Išvaizda; everything here derives
   from the same OKLCH palette (hallmark craft § 2: paper, ink, tinted neutrals, one accent with its ink). */
:root {
  color-scheme: light;
  /* paper: celadon-white morning paper, never cream */
  --b-paper: oklch(97.2% 0.010 150);
  --b-paper-2: oklch(94.5% 0.014 150);
  --b-paper-3: oklch(91% 0.018 150);
  --b-ink: oklch(23% 0.030 350);
  --b-ink-2: oklch(40% 0.030 350);
  --b-ink-3: oklch(52% 0.022 350);
  --b-rule: oklch(86% 0.015 150);
  --b-rule-strong: oklch(74% 0.020 150);
  /* the one accent: azalea (진달래), the flower of a Korean spring – actions, focus, the seal */
  --b-accent: oklch(54% 0.19 2);
  --b-accent-ink: oklch(46% 0.17 2);
  --b-on-accent: oklch(99% 0.004 2);
  --b-focus: oklch(56% 0.20 2);
  /* two quiet fields (committed posture for the routine band only) */
  --b-blush: oklch(92.5% 0.032 352);
  --b-celadon: oklch(87% 0.040 165);
  --b-celadon-ink: oklch(38% 0.050 165);
  /* light: morning is cool and clear; evening warms the whole window (an overlay, opacity only) */
  --b-light-am: oklch(98% 0.02 200 / 0.0);
  --b-light-pm: oklch(80% 0.10 62 / 0.22);
  --b-shadow: 0 1px 2px oklch(20% 0.02 350 / 0.06);
  --b-scrim: oklch(18% 0.02 350 / 0.42);
  --b-scrim-clear: oklch(18% 0.02 350 / 0);

  /* type */
  --b-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --b-body: "Onest", ui-sans-serif, system-ui, sans-serif;
  --b-mark: "Gowun Batang", "Newsreader", Georgia, serif;
  --b-text-display: clamp(2.75rem, 6.2vw, 5.75rem);
  --b-text-h2: clamp(2rem, 3.6vw, 3.25rem);
  --b-text-h3: 1.5rem;
  --b-text-lead: 1.1875rem;
  --b-text-body: 1rem;
  --b-text-small: 0.875rem;

  /* space (hallmark craft § 3) */
  --b-3xs: 2px; --b-2xs: 4px; --b-xs: 8px; --b-sm: 12px; --b-md: 16px; --b-lg: 24px; --b-xl: 40px; --b-2xl: 64px; --b-3xl: 96px; --b-4xl: 144px;
  --b-gutter: clamp(16px, 4vw, 48px);
  --b-max: 1320px;
  --b-radius: 2px; /* paper and wood: almost square */

  /* motion */
  --b-ease-out: cubic-bezier(.16, 1, .3, 1);
  --b-ease-in: cubic-bezier(.7, 0, .84, 0);
  --b-ease-io: cubic-bezier(.65, 0, .35, 1);
  --b-micro: 120ms; --b-short: 220ms; --b-long: 420ms; --b-light-dur: 1200ms;

  /* the shared base styles (site.css / salon.css) read these */
  --ink: var(--b-ink);
  --ink-2: var(--b-ink-2);
  --muted: var(--b-ink-2);
  --chalk-2: var(--b-paper-2);
  --subtitle: var(--b-ink-2);
  --danger: oklch(48% 0.16 28);
  --ok: oklch(45% 0.08 165);
  --line-base: var(--b-ink);
  --hd-text: var(--b-ink);
  --stage-bg: var(--b-paper-2);
  --accent-ink: var(--b-accent-ink);
  --on-accent: var(--b-on-accent);
  --shade: transparent;
  --sodium: var(--b-accent);
  --menu-bg: var(--b-paper);
  --menu-tx: var(--b-ink);
  --menu-soft: var(--b-ink-2);
  --menu-acc: var(--b-accent-ink);
  --menu-img: none;
  --menu-img-op: 0;
  --on-photo: oklch(99% 0.004 150);
  --photo-scrim: oklch(18% 0.02 350);
}
