/*
  Sketch Dusk: tokens
  A late-night studio desk. Blue-black room, one warm lamp pool, sheets of
  pale paper laid at an angle with pencil sketches on them, and a frosted
  glass prompt card floating over the scene. Clean grotesk headlines, a
  handwritten note face for margin scribbles and a small mono for labels.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&family=Kalam:wght@400;700&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Room */
  --sd-night: #0A0E16;        /* the page */
  --sd-desk: #121925;         /* cards, panels, inputs */
  --sd-desk-hi: #1A2332;      /* raised cards, hover rows */
  --sd-line: #253042;         /* hairlines */
  --sd-line-hi: #3A4860;      /* button and input borders */

  /* Text */
  --sd-moon: #F1EFEA;         /* headlines and main text */
  --sd-haze: #A8B0BF;         /* leads and body */
  --sd-dim: #6E7889;          /* captions, meta */

  /* Paper and pencil */
  --sd-paper: #E8E2D4;        /* sketch sheets */
  --sd-paper-shade: #D6CFBE;  /* paper edge and fold */
  --sd-graphite: #2E323B;     /* pencil lines on paper */
  --sd-graphite-soft: #7C7C78;/* light pencil, construction lines */

  /* Accents */
  --sd-lamp: #F0B256;         /* warm lamp light: one highlight per view */
  --sd-lamp-soft: rgba(240, 178, 86, 0.16);
  --sd-marker: #63D2B4;       /* marker tag, success, live dots */
  --sd-marker-soft: rgba(99, 210, 180, 0.14);

  /* Glass */
  --sd-glass: rgba(204, 214, 232, 0.10);
  --sd-glass-strong: rgba(204, 214, 232, 0.16);
  --sd-glass-line: rgba(241, 239, 234, 0.16);
  --sd-blur: blur(18px) saturate(1.2);

  /* Scene: the lamp pool and the blue tint laid over the paper */
  --sd-lamp-pool: radial-gradient(ellipse 60% 55% at 68% 30%, rgba(240, 178, 86, 0.28), rgba(240, 178, 86, 0) 70%);
  --sd-room: radial-gradient(ellipse 90% 70% at 50% 0%, #182436 0%, #0A0E16 80%);
  --sd-tint: linear-gradient(180deg, rgba(10, 14, 22, 0.25) 0%, rgba(10, 14, 22, 0.78) 72%, #0A0E16 100%);
  --sd-blue-wash: rgba(40, 70, 120, 0.42);

  /* Fonts */
  --sd-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sd-hand: "Kalam", "Comic Sans MS", cursive;
  --sd-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --sd-text-display: clamp(40px, 6.4vw, 80px);
  --sd-text-h1: clamp(36px, 5vw, 60px);
  --sd-text-h2: clamp(28px, 3.4vw, 42px);
  --sd-text-h3: 20px;
  --sd-text-lead: 19px;
  --sd-text-body: 16px;
  --sd-text-small: 14px;
  --sd-text-micro: 12px;
  --sd-text-note: 20px;       /* handwritten notes */

  --sd-weight-head: 500;
  --sd-weight-strong: 600;
  --sd-tracking-head: -0.025em;
  --sd-tracking-micro: 0.12em;
  --sd-leading-head: 1.06;
  --sd-leading-body: 1.6;

  /* Shape */
  --sd-radius-xl: 28px;       /* scene panels */
  --sd-radius-lg: 20px;       /* glass cards, plans */
  --sd-radius-md: 14px;       /* inputs, small cards */
  --sd-radius-sm: 4px;        /* paper sheets: nearly square */
  --sd-radius-pill: 999px;    /* buttons, tags */

  /* Shadow */
  --sd-shadow-paper: 0 18px 40px rgba(0, 0, 0, 0.45), 0 2px 0 var(--sd-paper-shade);
  --sd-shadow-glass: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  --sd-shadow-lamp: 0 0 0 6px var(--sd-lamp-soft);

  /* Tilt for paper sheets */
  --sd-tilt-l: rotate(-4deg);
  --sd-tilt-r: rotate(3deg);
  --sd-tilt-s: rotate(-1.5deg);

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

  --sd-container: 1180px;
  --sd-narrow: 680px;
  --sd-gutter: 24px;
}
