/*
 * Sign Off: design tokens
 * A warm, editorial goodbye. A near-black hero covered in faint handwritten signatures,
 * a scalloped edge that tears into a clean white page, a chunky soft serif for headlines,
 * quiet grotesk body text, black pill buttons and pastel washes behind product cards.
 * Past items fade to pale gray; the one that matters now is in full ink.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Hanken+Grotesk:wght@400;500;600&family=Mrs+Saint+Delafield&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: one dark night band at the top, white everywhere else */
  --so-night: #0f0e0d;
  --so-night-2: #22201e;      /* pills and cards on the night band */
  --so-night-3: #34312e;      /* hover on night pills */
  --so-paper: #ffffff;
  --so-mist: #f3f1ee;         /* segmented tabs, quiet sections, inputs on hover */
  --so-mist-2: #e9e6e1;
  --so-line: #e4e0da;

  /* Text */
  --so-ink: #171614;
  --so-soft: #6d6964;
  --so-faint: #bdb8b1;        /* past timeline items, fine print */
  --so-ghost: rgba(255, 255, 255, .16);  /* signatures on the night band */
  --so-on-night: #f6f4f0;
  --so-on-night-soft: #a8a39c;

  /* Pastel washes, only behind product cards and thumbnails */
  --so-dusk: #cdd3ec;
  --so-dusk-2: #eef0fa;
  --so-mint: #bfe7d9;
  --so-mint-2: #eaf7f1;
  --so-apricot: #f6d5bc;
  --so-apricot-2: #fcf0e6;

  /* Small UI color, inside product shots only */
  --so-red: #e8604c;
  --so-amber: #f0b54a;
  --so-green: #46b37b;

  /* Type */
  --so-serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --so-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --so-script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --so-text-hero: clamp(44px, 6.4vw, 84px);
  --so-text-h2: clamp(32px, 4vw, 50px);
  --so-text-h3: clamp(24px, 2.4vw, 30px);
  --so-text-lead: 19px;
  --so-text-body: 16px;
  --so-text-small: 14px;
  --so-text-micro: 12px;
  --so-tracking-hero: -.03em;
  --so-tracking-h2: -.025em;

  /* Shape: soft corners, pills, almost no shadow */
  --so-radius-sm: 10px;
  --so-radius: 18px;
  --so-radius-lg: 26px;
  --so-radius-pill: 999px;
  --so-border: 1px solid var(--so-line);
  --so-shadow: 0 1px 2px rgba(23, 22, 20, .06), 0 10px 30px rgba(23, 22, 20, .07);
  --so-shadow-lg: 0 2px 6px rgba(23, 22, 20, .06), 0 30px 70px rgba(23, 22, 20, .12);
  --so-scallop: 14px;         /* size of each bump on the torn edge */

  /* Space */
  --so-section: clamp(72px, 9vw, 120px);
  --so-container: 1120px;
  --so-narrow: 720px;

  /* Motion */
  --so-ease: cubic-bezier(.25, .8, .25, 1);
}
