/* Design tokens. Frozen after C3: visual overrides belong in polish.css. */
:root {
  /* Colour: gallery-dark, warm off-white text; photographs carry the colour. */
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1b1b1e;
  --bg-raise: #222226;
  --line: rgba(242, 236, 226, 0.12);
  --line-strong: rgba(242, 236, 226, 0.28);
  --text: #f2ece2;
  --text-dim: rgba(242, 236, 226, 0.72);
  --text-faint: rgba(242, 236, 226, 0.5);
  --accent: #c9a46a;
  --accent-strong: #ddb97e;
  --accent-ink: #0b0b0c;
  --danger: #ef9a8b;
  --ok: #a9d0a2;
  --scrim: rgba(6, 6, 7, 0.72);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --step--2: clamp(0.72rem, 0.7rem + 0.08vw, 0.78rem);
  --step--1: clamp(0.82rem, 0.8rem + 0.12vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.2vw, 4.5rem);
  --step-5: clamp(3rem, 2rem + 5vw, 6.5rem);
  --leading-tight: 1.08;
  --leading: 1.6;
  --tracking-caps: 0.18em;

  /* Space and layout */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --maxw: 1320px;
  --measure: 62ch;
  --radius: 2px;
  --radius-lg: 6px;
  --header-h: 64px;
  --tap: 44px;

  /* Motion (motion.css / motion.js read these) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 600ms;
  --dur-hero: 9000ms;

  /* Layers */
  --z-header: 50;
  --z-overlay: 100;
  --z-scrim: 105;
  --z-drawer: 110;
  --z-lightbox: 120;
  --z-panel: 130;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-1: 0ms;
    --dur-2: 0ms;
    --dur-3: 0ms;
    --dur-hero: 0ms;
  }
}
