/* ==========================================================================
   tokens.css — design tokens (the dark theme)
   --------------------------------------------------------------------------
   Every colour, type size, corner radius and spacing value in the site
   comes from here. Change a value once and every component that uses it
   updates.
     Surfaces & text ... backgrounds, card colours, text greys
     Accent ............ the one highlight colour
     Thumb palette ..... --tone-* backgrounds and --ink-* shapes for
                         project images (used in js/content.js)
     Type .............. fonts and sizes (in rem, so they follow the
                         visitor's browser text-size setting)
     Shape & space ..... corner radii, page width, gaps
   ========================================================================== */
:root {
  color-scheme: dark;

  /* Surfaces */
  --color-bg: #0A0A0B;          /* page */
  --color-surface: #111113;     /* cards */
  --color-surface-2: #17171A;   /* raised / hover */
  --color-line: rgba(255, 255, 255, .08);
  --color-line-strong: rgba(255, 255, 255, .16);

  /* Text */
  --color-text: #EDEDEF;
  --color-text-soft: #B6B6BD;
  --color-muted: #8A8A93;

  /* Accent (one colour, used sparingly) */
  --color-accent: #8FB3FF;
  --color-accent-soft: rgba(143, 179, 255, .14);
  --color-on-accent: #0A0A0B;
  --color-placeholder: #8A8A93;   /* 4.5:1+ on the input background */

  /* Thumb palette: --tone-* = image background, --ink-* = its shapes */
  --tone-blue: #121624;
  --tone-warm: #1C1512;
  --tone-green: #111A16;
  --tone-ink: #151517;
  --ink-blue: #8FB3FF;
  --ink-warm: #FF9466;
  --ink-green: #7EDDB0;
  --ink-white: #EDEDEF;

  /* Status */
  --color-error: #FF8A7A;       /* wrong access code */

  /* Type — in rem, so text follows the visitor's browser text-size setting */
  --font-sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-body: 1rem;
  --text-lede: 1.25rem;
  --text-h3: 1.375rem;
  --text-h2: 1.625rem;
  --text-display: clamp(2rem, 4.4vw, 3.25rem);
  --text-detail: clamp(2.125rem, 5vw, 3.75rem);
  --tracking-tight: -0.035em;

  /* Shape & space */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --page-max: 1180px;
  --page-gutter: 24px;
  --gap: 16px;
  --tap: 44px;

  /* Motion */
  --ease: .2s cubic-bezier(.2, .7, .2, 1);
}
