/* Natsuki Collin design system v1 — tokens. See DESIGN.md for usage rules. */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

:root {
  /* palette */
  --c-midnight: #0B0F14;
  --c-midnight-2: #131A23;
  --c-denim: #3D6E9E;
  --c-bright: #6FB7FF;
  --c-sky: #A9CBEA;
  --c-paper: #F3EEE8;
  --c-white: #FFFFFF;
  --c-slate: #5A6573;

  /* semantic: dark (website default) */
  --bg: var(--c-midnight);
  --surface: var(--c-midnight-2);
  --text: var(--c-paper);
  --text-muted: rgba(243, 238, 232, 0.65);
  --label: var(--c-sky);
  --brand: var(--c-denim);
  --highlight: var(--c-bright);
  --divider: rgba(169, 203, 234, 0.18);
  --outline: rgba(169, 203, 234, 0.45);

  /* fonts */
  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* type scale */
  --fs-display: clamp(48px, 9vw, 112px);
  --fs-h1: clamp(36px, 5vw, 64px);
  --fs-h2: clamp(26px, 3.4vw, 40px);
  --fs-h3: clamp(20px, 2vw, 24px);
  --fs-lead: 20px;
  --fs-body: 18px;
  --fs-body-sm: 15px;
  --fs-label: 12px;
  --fs-caption: 13px;

  --lh-tight: 0.95;
  --lh-heading: 1.1;
  --lh-body: 1.6;
  --tracking-label: 0.16em;
  --measure: 68ch;

  /* spacing (8px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* layout */
  --content-max: 1120px;
  --gutter: 40px;
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --fs-body: 17px; }
}

/* light theme (CV, print, any light page) */
[data-theme="light"] {
  --bg: var(--c-white);
  --surface: #EEF4FA;
  --text: var(--c-midnight);
  --text-muted: var(--c-slate);
  --label: var(--c-denim);
  --brand: var(--c-denim);
  --highlight: var(--c-bright); /* decorative only on light: never text */
  --divider: rgba(61, 110, 158, 0.25);
  --outline: rgba(61, 110, 158, 0.45);
}

/* base */
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); }
.display { font: 800 var(--fs-display)/var(--lh-tight) var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; }
h1, .h1 { font: 800 var(--fs-h1)/1 var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; }
h2, .h2 { font: 700 var(--fs-h2)/var(--lh-heading) var(--font-display); text-transform: uppercase; }
h3, .h3 { font: 600 var(--fs-h3)/1.2 var(--font-display); }
.label { font: 600 var(--fs-label)/1 var(--font-display); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--label); }
p { max-width: var(--measure); }
