/* AYMI Gallery — Design Tokens */
:root {
  /* Color */
  --bg: #F4F4F2;
  --bg-elev: #ECEBE7;
  --ink: #0A0908;
  --ink-inverse: #F4F4F2;
  --muted: #7A7975;
  --faint: #BAB9B4;
  --line: #D8D6D0;
  --accent: #3F4FFF;
  --accent-hover: #2937D9;

  /* Inverse band (black sections) */
  --bg-inv: #0A0908;
  --ink-on-inv: #F4F4F2;
  --muted-on-inv: #8C8B86;

  /* Type */
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Type scale */
  --text-mono: 0.6875rem;     /* 11px — tags */
  --text-xs: 0.75rem;          /* 12px */
  --text-sm: 0.875rem;         /* 14px */
  --text-base: 1rem;           /* 16px */
  --text-md: 1.125rem;         /* 18px */
  --text-lg: 1.375rem;         /* 22px */
  --text-xl: 1.75rem;          /* 28px */
  --text-2xl: 2.25rem;         /* 36px */
  --text-3xl: 3rem;            /* 48px */
  --text-4xl: 4.5rem;          /* 72px */
  --text-hero: clamp(2.5rem, 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Container */
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --max-w: 1440px;
  --content-wide: 1440px;
  --content-default: 1200px;
  --content-narrow: 72ch;
  --rail-cols: repeat(12, minmax(0, 1fr));
  --section-y: clamp(4rem, 8vw, 8rem);
  --section-y-tight: clamp(2.5rem, 5vw, 5rem);

  /* Misc */
  --radius-sm: 2px;
  --radius-md: 4px;
  --pill-radius: 999px;
  --transition: 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0A0908;
  --bg-elev: #161513;
  --ink: #F4F4F2;
  --ink-inverse: #0A0908;
  --muted: #8C8B86;
  --faint: #4A4945;
  --line: #2A2926;
  --accent: #6B78FF;
  --accent-hover: #8C97FF;

  --bg-inv: #F4F4F2;
  --ink-on-inv: #0A0908;
  --muted-on-inv: #5A5955;
}
