/* ==========================================================================
   DESIGN TOKENS
   A black-box-theatre palette: near-black "ink", warm paper white,
   a muted copper accent (house-light warmth), and a quiet indigo used
   only as a rare second accent (never alongside copper on one element).
   ========================================================================== */

:root {
  /* Color */
  --ink:          #0e1420;   /* stage-dark background */
  --ink-soft:     #161d2c;   /* raised panels on dark */
  --paper:        #f4efe4;   /* warm off-white */
  --paper-dim:    #e8e1d1;   /* paper, slightly recessed */
  --copper:       #b5652d;   /* primary accent */
  --copper-bright:#d17f42;
  --indigo:       #55507a;   /* secondary accent, used sparingly */
  --line-on-ink:  rgba(244, 239, 228, 0.14);
  --line-on-paper:rgba(14, 20, 32, 0.14);
  --text-on-ink:  #f4efe4;
  --text-on-ink-dim: rgba(244, 239, 228, 0.62);
  --text-on-paper: #14121a;
  --text-on-paper-dim: rgba(20, 18, 26, 0.62);

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.16vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 2.8rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.5vw, 4.2rem);
  --step-5:  clamp(3.4rem, 2.2rem + 6vw, 6.4rem);

  /* Space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.6rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;

  /* Layout */
  --content-max: 74rem;
  --rail-width: 4.5rem;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
