/* Hallmark · genre: modern-minimal · macrostructure: Bento Grid · theme: custom (monochrome architectural)
 * vibe: "premium gallery, structural, high-fidelity minimalism" · paper oklch(98.5% 0.003 264)
 * accent: none — accent role IS ink (monochrome), per modern-minimal genre allowance
 * display+body: Geist only · enrichment: E8 Hero Photography (replaced by hand-drawn line-art, see hero.css)
 * nav: N1b · footer: Ft1 · studied: no (adapted from a Stitch-generated reference, not pixel-copied)
 * pre-emit critique: P4 H4 E4 S4 R5 V4
 */

:root {
  /* ---- Colour — monochrome, whisper-tinted cool neutral (anchor hue 264) ---- */
  --color-paper:      oklch(98.5% 0.003 264);
  --color-paper-2:    oklch(96%   0.003 264);
  --color-surface:    oklch(99.3% 0.002 264);
  --color-rule:       oklch(83%   0.003 264);
  --color-neutral:    oklch(52%   0.003 264);
  --color-muted:      oklch(34%   0.003 264);
  --color-ink:        oklch(16%   0.004 264);
  --color-ink-2:      oklch(30%   0.004 264);

  /* the accent role IS ink in a monochrome system — no chromatic accent */
  --color-accent:     oklch(16%   0.004 264);
  --color-accent-2:   oklch(30%   0.004 264);
  --color-accent-ink: oklch(99%   0.002 264);
  --color-focus:      oklch(45%   0.09  250);   /* faint slate-blue, only place chroma survives — a11y focus visibility */

  /* ---- Acento cálido — único color cromático del sistema, usado con disciplina ---- */
  --color-accent-warm:      oklch(54% 0.17 45);   /* naranja-ámbar quemado — CTAs, números, hover */
  --color-accent-warm-2:    oklch(46% 0.16 45);   /* estado hover/active, más oscuro */
  --color-accent-warm-ink:  oklch(99% 0.005 90);  /* texto sobre fondo --color-accent-warm */

  /* "premium dark" surfaces — course cards, diff section, footer */
  --color-ink-surface:   oklch(12% 0.004 264);
  --color-rule-on-dark:  oklch(24% 0.004 264);
  --color-muted-on-dark: oklch(58% 0.004 264);

  /* placeholder-block treatment (photo / asset slots) */
  --color-placeholder-bg:     oklch(94% 0.003 264);
  --color-placeholder-stripe: oklch(90% 0.003 264);
  --color-placeholder-ink:    oklch(40% 0.003 264);

  /* ---- Typography — Geist only, bold/black weights for architectural authority ---- */
  --font-display:  "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-body:     "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-wordmark: "Geist", ui-sans-serif, system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5625rem;
  --text-2xl:  1.9531rem;
  --text-3xl:  2.4414rem;
  --text-4xl:  3.0518rem;
  --text-display:   clamp(3rem, 6vw + 1rem, 5.5rem);
  --text-display-s: clamp(2.25rem, 4vw + 1rem, 4rem);

  /* ---- Spacing — 4pt scale ---- */
  --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, 4vw, 3rem);
  --content-max: 75rem;

  /* ---- Radius — architectural, not pill (12–24px per the new system) ---- */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;   /* reserved for small tag/badge chips, not buttons */

  /* ---- Rules / borders — "ghost borders" carry depth, not shadow ---- */
  --rule-hair: 1px;

  /* ---- Shadow — used sparingly (floating menus only); borders do the rest ---- */
  --shadow-whisper: 0 1px 2px oklch(20% 0.01 264 / 0.05);
  --shadow-raised:  0 4px 16px oklch(20% 0.01 264 / 0.08);

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

  /* ---- Z-index scale ---- */
  --z-base:     1;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    400;
  --z-toast:    500;
  --z-tooltip:  600;
}
