/*
 * Quiet Wave: tokens
 * Feel: a calm instrument at night. Pure black pages, soft grey type,
 * thin white line drawings (waves, rings, a fan of rays rising from a
 * stippled horizon), graphite device frames, outlined buttons with a faint
 * halo, and one pale moonlight accent used only for "live" marks.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces, darkest to lightest */
  --qw-black: #040405;
  --qw-ink: #0C0C0E;
  --qw-graphite: #151517;
  --qw-raised: #1D1D20;
  --qw-hover: #26262A;
  --qw-line: #2A2A2E;
  --qw-line-bright: #46464C;

  /* Text */
  --qw-white: #F1F0EC;
  --qw-mist: #A3A29E;
  --qw-dust: #66655F;

  /* Line art: the strokes that draw every visual */
  --qw-stroke: rgba(241, 240, 236, .82);
  --qw-stroke-soft: rgba(241, 240, 236, .34);
  --qw-stroke-faint: rgba(241, 240, 236, .12);

  /* The only colour: pale moonlight, for live and selected marks */
  --qw-moon: #E6CE9C;
  --qw-moon-soft: rgba(230, 206, 156, .14);
  --qw-tide: #9DBDCB;

  /* Halos and gradients */
  --qw-halo: radial-gradient(55% 60% at 50% 100%, rgba(241, 240, 236, .16) 0%, rgba(241, 240, 236, .04) 45%, rgba(4, 4, 5, 0) 75%);
  --qw-horizon: linear-gradient(180deg, rgba(4, 4, 5, 0) 0%, rgba(60, 60, 64, .5) 55%, rgba(4, 4, 5, 0) 100%);
  --qw-fade-down: linear-gradient(180deg, rgba(4, 4, 5, 0) 0%, var(--qw-black) 92%);
  --qw-device: linear-gradient(160deg, #2C2C30 0%, #111113 45%, #1B1B1E 100%);

  /* Fonts */
  --qw-font: "Hanken Grotesk", system-ui, sans-serif;
  --qw-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Type scale */
  --qw-text-hero: clamp(44px, 7vw, 84px);
  --qw-text-h2: clamp(30px, 4vw, 48px);
  --qw-text-h3: 20px;
  --qw-text-lead: clamp(18px, 1.7vw, 21px);
  --qw-text-body: 16px;
  --qw-text-small: 14px;
  --qw-text-micro: 11px;

  --qw-weight-light: 300;
  --qw-weight-regular: 400;
  --qw-weight-medium: 500;
  --qw-weight-bold: 600;
  --qw-tracking-tight: -0.025em;
  --qw-tracking-wide: 0.14em;

  /* Shape */
  --qw-radius-sm: 8px;
  --qw-radius: 12px;
  --qw-radius-lg: 22px;
  --qw-radius-device: 38px;
  --qw-radius-pill: 999px;
  --qw-border: 1px solid var(--qw-line);
  --qw-border-stroke: 1.5px solid var(--qw-stroke);

  /* Shadows: soft halos, never hard edges */
  --qw-shadow-halo: 0 0 0 1px rgba(241, 240, 236, .06), 0 0 22px rgba(241, 240, 236, .14);
  --qw-shadow-btn: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 18px rgba(241, 240, 236, .12);
  --qw-shadow-device: 0 40px 80px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .05);
  --qw-shadow-card: 0 24px 60px rgba(0, 0, 0, .5);

  /* Space */
  --qw-space-1: 4px;
  --qw-space-2: 8px;
  --qw-space-3: 12px;
  --qw-space-4: 16px;
  --qw-space-5: 24px;
  --qw-space-6: 32px;
  --qw-space-7: 48px;
  --qw-space-8: 72px;
  --qw-space-9: 112px;
  --qw-container: 1200px;
  --qw-text-col: 640px;
  --qw-gutter: 24px;

  /* Motion */
  --qw-ease: cubic-bezier(.22, .61, .36, 1);
  --qw-slow: 1.2s;
  --qw-fast: .2s;
}
