/*
  Siren Grid: design tokens

  Feel: a control room at 3am. A black page, hairline boxes with square
  corners, heavy condensed uppercase headlines and small mono labels in
  [ square brackets ]. One hot vermilion is the only colour: it fills the
  main button, marks live status and draws the halftone ramp, a field of
  dots that grows denser like a reading rising on a gauge.

  Fonts (free on Google Fonts):
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Archivo:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --sg-void: #050505;          /* the page */
  --sg-pit: #0D0D0C;           /* panels, cards, inputs */
  --sg-pit-raised: #161614;    /* active tab, hovered row */
  --sg-rule: #242422;          /* every hairline */
  --sg-rule-bright: #3C3B38;   /* outline buttons, input borders */

  /* Text */
  --sg-bone: #F1EEE8;          /* headlines, solid light button */
  --sg-bone-dim: #D6D2CA;      /* light button hover */
  --sg-ash: #9C9891;           /* body copy, leads */
  --sg-dust: #5F5D59;          /* meta, placeholders, quiet labels */
  --sg-ink: #0A0A09;           /* text on bone or vermilion */

  /* The only colour */
  --sg-vermilion: #F0461F;     /* main button, live dots, the ramp, focus */
  --sg-vermilion-hot: #FF5A33; /* main button hover */
  --sg-vermilion-deep: #8E2A13;/* thin ramp dots, disabled accent */
  --sg-vermilion-wash: rgba(240, 70, 31, 0.12);
  --sg-calm: #7BCB8E;          /* "normal" status only, never decoration */

  /* Fonts */
  --sg-font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sg-font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sg-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --sg-text-display: clamp(52px, 7.6vw, 112px);
  --sg-text-h1: clamp(44px, 6vw, 88px);
  --sg-text-h2: clamp(34px, 4.2vw, 60px);
  --sg-text-h3: 26px;
  --sg-text-lead: 19px;
  --sg-text-body: 16px;
  --sg-text-small: 14px;
  --sg-text-micro: 12px;

  --sg-weight-regular: 400;
  --sg-weight-medium: 500;
  --sg-weight-strong: 600;
  --sg-weight-display: 800;

  --sg-leading-display: 0.9;
  --sg-leading-snug: 1.25;
  --sg-leading-body: 1.6;
  --sg-tracking-display: 0.005em;
  --sg-tracking-mono: 0.08em;

  /* Shape: square everywhere, no shadows */
  --sg-radius: 0;
  --sg-border: 1px solid var(--sg-rule);
  --sg-border-bright: 1px solid var(--sg-rule-bright);
  --sg-focus: 0 0 0 2px var(--sg-void), 0 0 0 4px var(--sg-vermilion);
  --sg-glow: 0 0 10px rgba(240, 70, 31, 0.55);

  /* Halftone ramp */
  --sg-dot-step: 9px;

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

  --sg-max: 1240px;
  --sg-gutter: clamp(20px, 5vw, 72px);
}
