/* NUIME tokens: the brand's ink and red from Nijūsan Studio, on a paper tinted toward the ink. */
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/space-grotesk-bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(3.25rem, 5.5vw + 1rem, 6rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --text-mark: clamp(6rem, 13vw, 12.5rem);
  --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;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --nav-h: 76px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* Paper, a near-white leaning to the ink; paper-2 is the pale blue of the fabric in the hero photograph. */
  --color-paper: oklch(98.6% 0.004 268); --color-paper-2: oklch(95.9% 0.010 253); --color-paper-3: oklch(92.4% 0.012 258);
  --color-ink: oklch(29.5% 0.057 268); --color-ink-2: oklch(37.7% 0.100 266); --color-muted: oklch(49% 0.027 264);
  --color-rule: oklch(89.5% 0.012 258);
  /* Nijūsan's master red, held to signals: the focus ring, a link's hover, Nui. */
  --color-accent: oklch(63.1% 0.213 28.4); --color-accent-deep: oklch(53% 0.185 28.5); --color-accent-ink: oklch(16% 0.03 268);
  --color-focus: oklch(60% 0.205 28.4);
  /* The ink band. */
  --color-on-ink: oklch(97.5% 0.006 268); --color-on-ink-muted: oklch(83% 0.022 266); --color-on-ink-rule: oklch(42% 0.05 267);
  --color-thread: oklch(29.5% 0.057 268);
  --color-stitch: oklch(99% 0.004 28 / 0.35);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --radius-card: 6px; --radius-input: 6px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.035em;
}
