/* Greenlight Clips brand tokens, version 2 ("paper and stage").
   One source for the website, the web studio and the Mac tool.
   Copy this file and brand/fonts/ next to each surface; do not fork the values. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
/* Kept for clip templates only. Not used in the interface. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: light;
  /* Paper: the workspace. Warm off-white page, white surfaces, ink text. */
  --gl-bg: #f4f2ed;
  --gl-panel: #ffffff;
  --gl-panel-2: #edeae3;          /* inset areas, hover, table stripes */
  --gl-line: #ddd9cf;
  --gl-line-strong: #b8b3a6;
  --gl-text: #14161a;
  --gl-muted: #555a62;
  --gl-faint: #666b73;
  /* Ink: solid dark buttons and bars on paper. */
  --gl-ink: #14161a;
  --gl-ink-text: #ffffff;
  /* The traffic light. Green = cleared / go. Amber = asked, waiting, warning. Red = not allowed, stop.
     On paper these are deep and flat. They are never used as glows or gradients. */
  --gl-go: #0a6b3b;
  --gl-go-hover: #085a31;
  --gl-go-ink: #ffffff;           /* text on a green button */
  --gl-go-soft: #e0f0e6;
  --gl-wait: #8f5400;
  --gl-wait-soft: #fbeccf;
  --gl-stop: #b3261e;
  --gl-stop-soft: #fbe2de;
  --gl-info: #1d5fbf;
  --gl-info-soft: #e1ebfa;
  /* Stage: the one dark zone, for video, the heat graph and clip previews. */
  --gl-stage: #0d0e10;
  --gl-stage-panel: #17191d;
  --gl-stage-panel-2: #202328;
  --gl-stage-line: #2b2e34;
  --gl-stage-line-strong: #454950;
  --gl-stage-text: #f3f3f1;
  --gl-stage-muted: #9ba0a8;
  --gl-stage-faint: #7d828a;
  /* Lit lamps: the traffic light as it shows on the stage and in the logo. */
  --gl-lit: #3ddc84;
  --gl-lit-wait: #ffc247;
  --gl-lit-stop: #ff6b5e;
  /* Heat ramp for the heat graph: calm -> hot. Never used for status. */
  --gl-heat-0: #56616b;
  --gl-heat-1: #ffb020;
  --gl-heat-2: #ff4d2e;
  /* Type */
  --gl-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --gl-display-stretch: 112%;     /* headlines are set slightly wide */
  --gl-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gl-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* Shape */
  --gl-radius: 10px;
  --gl-radius-sm: 6px;
  --gl-shadow: 0 1px 2px rgba(20, 22, 26, 0.06), 0 12px 32px rgba(20, 22, 26, 0.10);
}

/* Put this class on the dark zone. Inside it the ordinary tokens point at the stage values,
   so the same components work on paper and on the stage. */
.gl-stage {
  color-scheme: dark;
  --gl-bg: var(--gl-stage);
  --gl-panel: var(--gl-stage-panel);
  --gl-panel-2: var(--gl-stage-panel-2);
  --gl-line: var(--gl-stage-line);
  --gl-line-strong: var(--gl-stage-line-strong);
  --gl-text: var(--gl-stage-text);
  --gl-muted: var(--gl-stage-muted);
  --gl-faint: var(--gl-stage-faint);
  --gl-ink: #f3f3f1;
  --gl-ink-text: #14161a;
  --gl-go: var(--gl-lit);
  --gl-go-hover: #5be69a;
  --gl-go-ink: #04140b;
  --gl-go-soft: rgba(61, 220, 132, 0.14);
  --gl-wait: var(--gl-lit-wait);
  --gl-wait-soft: rgba(255, 194, 71, 0.14);
  --gl-stop: var(--gl-lit-stop);
  --gl-stop-soft: rgba(255, 107, 94, 0.14);
  --gl-info: #8ab8ff;
  --gl-info-soft: rgba(138, 184, 255, 0.14);
  --gl-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  background: var(--gl-bg);
  color: var(--gl-text);
}

/* Dark theme: off by default. A page turns it on with <html data-theme="dark">
   when the person picks it (the choice is theirs; we don't follow the system setting).
   It reuses the stage values so dark paper and the stage read as one material. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --gl-bg: #111215;
  --gl-panel: var(--gl-stage-panel);
  --gl-panel-2: var(--gl-stage-panel-2);
  --gl-line: var(--gl-stage-line);
  --gl-line-strong: var(--gl-stage-line-strong);
  --gl-text: var(--gl-stage-text);
  --gl-muted: var(--gl-stage-muted);
  --gl-faint: var(--gl-stage-faint);
  --gl-ink: #f3f3f1;
  --gl-ink-text: #14161a;
  --gl-go: var(--gl-lit);
  --gl-go-hover: #5be69a;
  --gl-go-ink: #04140b;
  --gl-go-soft: rgba(61, 220, 132, 0.14);
  --gl-wait: var(--gl-lit-wait);
  --gl-wait-soft: rgba(255, 194, 71, 0.14);
  --gl-stop: var(--gl-lit-stop);
  --gl-stop-soft: rgba(255, 107, 94, 0.14);
  --gl-info: #8ab8ff;
  --gl-info-soft: rgba(138, 184, 255, 0.14);
  --gl-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
