/*
 * Slot Glow: design tokens
 * A warm, confident dark look for tools that run on time. Warm charcoal surfaces (never blue-black),
 * huge centered headlines in a heavy grotesk, and one flame-orange accent that is allowed to be loud:
 * it fills the main button, glows around the announcement pill and marks "now" on the schedule.
 * The signature is a drawn time grid: an hour ruler, day columns and rounded event blocks with a
 * colored left edge, all built in CSS. A small orange date chip marks today.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@600;700;800&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm charcoal, darkest to lightest */
  --sg-coal: #161514;        /* page background */
  --sg-ash: #1f1d1b;         /* sections, windows, cards */
  --sg-soot: #292624;        /* inputs, raised cards, grid header */
  --sg-cinder: #34302d;      /* keys, hover rows, selected items */

  /* Lines: warm hairlines */
  --sg-line: rgba(255, 240, 225, .09);
  --sg-line-strong: rgba(255, 240, 225, .16);

  /* Text */
  --sg-text: #f6f2ec;        /* headlines, primary text */
  --sg-text-2: #b4ada5;      /* body and leads */
  --sg-text-3: #7c756e;      /* labels, hour marks, placeholders */

  /* The accent: flame orange, used boldly but in few places */
  --sg-flame: #ff5b22;
  --sg-flame-hot: #ff7a45;   /* hover */
  --sg-flame-soft: rgba(255, 91, 34, .14);
  --sg-flame-line: rgba(255, 91, 34, .55);
  --sg-on-flame: #1a0d07;

  /* Block colors: only for event blocks, legend dots and small badges */
  --sg-sea: #2bb3a0;
  --sg-sea-soft: rgba(43, 179, 160, .16);
  --sg-sky: #5a95e6;
  --sg-sky-soft: rgba(90, 149, 230, .16);
  --sg-plum: #b06ad9;
  --sg-plum-soft: rgba(176, 106, 217, .16);
  --sg-sand: #e3b45a;
  --sg-sand-soft: rgba(227, 180, 90, .16);

  /* Glows: the only gradients */
  --sg-glow-flame: 0 0 0 1px var(--sg-flame-line), 0 0 24px -4px rgba(255, 91, 34, .45);
  --sg-glow-btn: 0 8px 28px -8px rgba(255, 91, 34, .7);
  --sg-glow-hero: radial-gradient(50% 60% at 50% 0%, rgba(255, 91, 34, .10), transparent 70%);

  /* Type */
  --sg-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sg-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sg-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --sg-text-hero: clamp(48px, 9vw, 124px);
  --sg-text-h1: clamp(40px, 6vw, 76px);
  --sg-text-h2: clamp(30px, 4vw, 50px);
  --sg-text-h3: 20px;
  --sg-text-lead: 19px;
  --sg-text-body: 16px;
  --sg-text-small: 14px;
  --sg-text-micro: 12px;

  --sg-tracking-display: -.045em;
  --sg-leading-display: .98;

  /* Shape: soft rounded corners, pill buttons */
  --sg-radius-xs: 5px;
  --sg-radius-sm: 8px;
  --sg-radius: 12px;
  --sg-radius-lg: 18px;
  --sg-radius-pill: 999px;
  --sg-border: 1px solid var(--sg-line);
  --sg-border-strong: 1px solid var(--sg-line-strong);
  --sg-shadow-window: 0 0 0 1px var(--sg-line-strong), 0 40px 90px -30px rgba(0, 0, 0, .85);
  --sg-shadow-card: 0 18px 40px -24px rgba(0, 0, 0, .8);

  /* Space */
  --sg-space-1: 4px;
  --sg-space-2: 8px;
  --sg-space-3: 16px;
  --sg-space-4: 24px;
  --sg-space-5: 40px;
  --sg-space-6: 64px;
  --sg-section: clamp(80px, 11vw, 150px);
  --sg-container: 1160px;
  --sg-measure: 680px;

  /* Time grid */
  --sg-hour: 46px;           /* height of one hour row */
  --sg-ruler: 52px;          /* width of the hour ruler */

  /* Motion */
  --sg-fast: .16s;
  --sg-ease: cubic-bezier(.2, .7, .2, 1);
}
