/* pikap design tokens.
   One file, used by the app and the brand book.
   Rule of the system: pikap owns three colours. Everything else is borrowed from the photo. */

:root {
  /* ---- owned ---- */
  --wax: #0c0b0a;          /* vinyl black. The room. */
  --paper: #f2ede3;        /* sleeve paper. */
  --needle: #ff4a1c;       /* the one red dot. Never a background, never a second accent. */

  /* ---- neutrals, mixed from wax and paper ---- */
  --wax-2: #151311;        /* a surface raised off the wax */
  --wax-3: #211e1b;        /* pressed, or a hairline */
  --wax-4: #34302b;        /* a stronger line */
  --dust: #948b7e;         /* quiet text on wax */
  --paper-2: #e7e0d3;      /* a surface raised off paper */
  --paper-3: #d6cdbd;      /* a line on paper */
  --ink: #14110f;          /* text on paper */
  --ash: #6c6459;          /* quiet text on paper */

  /* ---- borrowed: set per record from the photo. Defaults are neutral. ---- */
  --lend-1: #3a3530;       /* the most common colour in the photo */
  --lend-2: #5a5148;       /* the second */
  --lend-3: #c9bfae;       /* the loudest: used for the label and highlights */
  --lend-ink: #14110f;     /* text that reads on --lend-3 */
  --glow: rgba(242, 237, 227, 0.06);

  /* ---- metal: sleeve paper at three strengths. Lacquer, the member look, turns thin lines to this. No new colour. ---- */
  --metal-lo: rgba(242, 237, 227, 0.2);
  --metal-hi: rgba(242, 237, 227, 0.46);
  --metal-glint: rgba(250, 247, 240, 0.95);

  /* ---- type: three voices ---- */
  --voice: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;      /* the sleeve: titles, the read, liner notes */
  --machine: "Anybody", "Eurostile", "Bahnschrift", "Arial Narrow", system-ui, sans-serif;   /* the deck: labels, numbers, buttons */
  --text: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;                   /* everything you read in a list */

  --fs-label: 0.6875rem;   /* 11 */
  --fs-small: 0.8125rem;   /* 13 */
  --fs-body: 0.9375rem;    /* 15 */
  --fs-lead: 1.125rem;     /* 18 */
  --fs-h3: 1.5rem;         /* 24 */
  --fs-h2: 2.125rem;       /* 34 */
  --fs-h1: 3rem;           /* 48 */
  --fs-display: 4.5rem;    /* 72 */

  /* ---- shape: squares and circles, nothing in between ---- */
  --r-card: 2px;           /* sleeves and panels are cardboard */
  --r-pill: 999px;         /* anything you press is a disc */

  /* ---- space ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;

  /* ---- motion ---- */
  --t-fast: 140ms;
  --t-mid: 320ms;
  --t-slow: 620ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.6, 0, 0.2, 1);
  /* Springs. JS replaces these with real spring curves (linear()) on load; these are the fallbacks. */
  --spring-snap: cubic-bezier(0.2, 1.3, 0.3, 1);
  --spring-settle: cubic-bezier(0.2, 0.9, 0.2, 1);
  --spring-drift: cubic-bezier(0.3, 0.7, 0.2, 1);
  /* One turn of the record at each speed. */
  --rpm-33: 1.8s;
  --rpm-45: 1.333s;
  --rpm-78: 0.769s;

  --shadow-sleeve: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 18px 44px -12px rgba(0, 0, 0, 0.7), 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* The machine voice: small, wide, loud. Used for every label. */
.label {
  font-family: var(--machine);
  font-variation-settings: "wdth" 140, "wght" 640;
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* The read: one line in square brackets, like a subtitle describing music. */
.read {
  font-family: var(--voice);
  font-style: italic;
  font-variation-settings: "opsz" 24, "wght" 380, "SOFT" 100, "WONK" 0;
}
