/* Sheri Garba Live v1.1.1 · shared tokens, fonts, primitives */

@font-face { font-family: "Rozha One"; src: url("../fonts/rozha-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* festival palette, pulled from the event frames */
  --maroon-950: #170306;
  --maroon-900: #22060b;
  --maroon-800: #330a12;
  --maroon-700: #4a0f1a;
  --maroon-600: #651626;
  --gold-300: #f4d58d;
  --gold-400: #e8c06a;
  --gold-500: #d4a24c;
  --gold-600: #a97a2c;
  --marigold: #f29a1f;
  --cream: #f6ebd9;
  --cream-dim: #cdbb9f;
  --ink-mute: #9b8770;

  /* broadcast tally */
  --tally-pgm: #ec2b34;
  --tally-pvw: #23c552;
  --warn: #f5a524;

  /* control room surfaces */
  --bg: #0f0507;
  --panel: #19090c;
  --panel-2: #210c11;
  --panel-3: #2b1117;
  --line: rgba(232, 192, 106, 0.14);
  --line-strong: rgba(232, 192, 106, 0.32);
  --text: #f3e6d0;
  --text-mute: #a8937a;

  --f-display: "Rozha One", "Times New Roman", serif;
  --f-ui: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-ui); line-height: 1.4; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }

.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.label { font-family: var(--f-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.gold-text {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-400) 45%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* toast */
.toast-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + var(--safe-b)); display: grid; gap: 8px; z-index: 1000; pointer-events: none; width: min(92vw, 520px); }
.toast { pointer-events: auto; background: rgba(25, 9, 12, 0.96); border: 1px solid var(--line-strong); border-left: 4px solid var(--gold-500); color: var(--text); padding: 12px 14px; border-radius: var(--r-md); font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); animation: toast-in 0.2s ease-out; }
.toast.error { border-left-color: var(--tally-pgm); }
.toast.ok { border-left-color: var(--tally-pvw); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* UI chrome honours reduced motion. The billboard stage is exempt: it is broadcast output, not UI. */
@media (prefers-reduced-motion: reduce) {
  :not(.stage):not(.stage *) { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
