/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow
 * theme: custom (brand-derived · bone paper · forest green · brass chord)
 * nav: N5 floating pill · footer: Ft2 inline single line
 * enrichment: E-brand · Tier-A CSS chevron rail derived from the logo's K
 * axes — paper-band: light (L98%) / display-style: korean-serif / accent-hue: chromatic-green (H153)
 * vibe: "brand-true, considered, technical, Korean"
 * pre-emit critique: P5 H5 E4 S5 R4 V4
 *
 * ─────────────────────────────────────────────────────────────────
 * Palette source: the CK 파트너스 logo, sampled directly.
 *   forest green  #275035  ->  oklch(39.3% 0.065 153)
 *   brass         #bd9e68  ->  oklch(71.5% 0.080 81)
 *
 * Measured contrast, which is why this page is light and not dark:
 *   logo green on dark  #14181b .... 1.94 : 1   unusable
 *   logo green on bone  #fbfaf7 .... 8.80 : 1   clears the 7:1 target
 *   logo brass on bone  #fbfaf7 .... 2.44 : 1   DECORATIVE ONLY
 *
 * --color-gold must never carry body text on this paper. It is for
 * rules, the chevron rail, and fills. Large display text may use
 * --color-gold-deep, which clears 3:1.
 * ───────────────────────────────────────────────────────────────── */

:root {
  color-scheme: light;

  /* ── type — mirrors the logo's own serif + sans pairing ──────── */
  --font-display: "Hahmlet", ui-serif, Georgia, serif;
  --font-body: "IBM Plex Sans KR", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* ── paper · warm bone, never #fff ───────────────────────────── */
  --color-paper: oklch(98.2% 0.005 92);
  --color-paper-2: oklch(96.2% 0.007 92);
  --color-paper-3: oklch(93.6% 0.010 90);
  /* the floating nav's ground — opaque enough to hide what scrolls under it */
  --color-paper-veil: oklch(98.2% 0.005 92 / 0.95);

  /* ── rules ──────────────────────────────────────────────────── */
  --color-rule: oklch(88% 0.010 92);
  --color-rule-2: oklch(79% 0.013 90);

  /* ── ink · tinted toward the brand green, never flat grey ───── */
  --color-muted: oklch(48% 0.015 150);
  --color-neutral: oklch(36% 0.020 150);
  --color-ink: oklch(23% 0.030 152);

  /* ── brand ──────────────────────────────────────────────────── */
  --color-brand: oklch(39.3% 0.065 153); /* the logo green — text-safe */
  --color-brand-deep: oklch(30% 0.060 153);
  --color-brand-wash: oklch(39.3% 0.065 153 / 0.08);
  --color-brand-ink: oklch(98.2% 0.005 92); /* on a green fill */

  --color-gold: oklch(71.5% 0.080 81); /* decorative only */
  --color-gold-deep: oklch(57.6% 0.077 73); /* large text only */
  --color-gold-wash: oklch(71.5% 0.080 81 / 0.22);

  --color-focus: oklch(45% 0.100 153);

  /* ── scale · major third (1.25) from 16px ───────────────────── */
  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-display-s: clamp(1.9rem, 3.2vw + 0.75rem, 3rem);
  --text-display: clamp(2.5rem, 5vw + 0.5rem, 4.5rem);
  --text-stage: clamp(2.25rem, 4.5vw, 3.75rem);

  /* ── space · 4pt scale ──────────────────────────────────────── */
  --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: 6.5rem;
  --space-4xl: 9rem;
  --space-5xl: 12rem;
  --page-gutter: clamp(1.25rem, 5vw, 4.5rem);

  /* ── rules ──────────────────────────────────────────────────── */
  --rule-hair: 1px;
  --rule-stage: 2px;

  /* ── radius ─────────────────────────────────────────────────── */
  --radius-none: 0;
  --radius-sm: 3px;
  --radius-pill: 999px;

  /* ── motion ─────────────────────────────────────────────────── */
  --dur-instant: 90ms;
  --dur-short: 200ms;
  --dur-mid: 420ms;
  --dur-long: 680ms;
  --dur-veil: 1400ms; /* the reveal is slow on purpose — it is the mood */
  --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);

  /* ── z ──────────────────────────────────────────────────────── */
  --z-base: 0;
  --z-raised: 10;
  --z-nav: 100;
}
