/* brands/aurora-x.css — the AURORA-X brand pack.
   THE ONLY FILE IN THE PRODUCT ALLOWED TO NAME A COLOUR, A FONT OR A LOGO.
   Everything else references var(--…). See THEMING.md.
   Loaded by <link id="brand-sheet"> whose href is chosen from ?brand= / data-brand. */

:root[data-brand="aurora-x"], :root:not([data-brand]) {
  /* ---- identity -------------------------------------------------------- */
  --brand-name:"AURORA-X";
  --brand-sub:"SENTINEL PRIME";
  --brand-version:"v11";
  --brand-tagline:"fleet console";
  /* the wordmark glyph, drawn as a CSS mask so a brand can swap it without markup */
  --brand-mark:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><path d='M12 2.5 21 19H3z'/><path d='M12 9.5 16.5 17h-9z'/></svg>");
  --brand-mark-size:17px;

  /* ---- spectral hues (the chromatic voices) ---------------------------- */
  --x-cyan:#00e5ff; --x-blue:#00b4ff; --x-violet:#9b6bff; --x-mint:#00ffc8;
  --x-amber:#ffb02e; --x-pink:#ff5d8f; --x-red:#ff4d6b; --x-slate:#8fa8c0;
  --accent:var(--x-cyan);

  /* ---- surfaces -------------------------------------------------------- */
  --bg:#03060c;
  --glass:rgba(10,20,38,.5); --glass-deep:rgba(5,11,22,.72); --glass-bar:rgba(4,9,18,.66);
  --surface-1:#0a0f17; --surface-2:#0f151f; --surface-3:#161e2a;

  /* ---- text ------------------------------------------------------------ */
  --t0:#eaf6ff; --t1:#c9dcec; --t2:#7fa0b8; --t3:#4a7490;

  /* ---- lines ----------------------------------------------------------- */
  --line:rgba(120,200,255,.10); --line2:rgba(120,200,255,.18);

  /* ---- status (report state; a brand may retint but must keep meaning) -- */
  --ok:#00ffc8; --warn:#ffb02e; --crit:#ff4d6b; --info:#6cb2ff; --idle:#6b7686;

  /* ---- geometry -------------------------------------------------------- */
  --r1:4px; --r2:8px; --r3:14px;

  /* ---- motion ---------------------------------------------------------- */
  --ease:cubic-bezier(.2,0,0,1); --eo:cubic-bezier(0,0,.2,1);
  --tm:80ms; --tf:160ms; --tmd:260ms; --tl:420ms; --hb:1.5s; --amb:22s;

  /* ---- type ------------------------------------------------------------ */
  --fu:'Inter',-apple-system,system-ui,sans-serif;
  --fd:'Space Grotesk','Inter',system-ui,sans-serif;
  --fm:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --chat-serif:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,'Times New Roman',serif;

  /* ---- glow budget (DESIGN.md §2.8) ------------------------------------ */
  --glow-1:0 0 8px; --glow-2:0 0 22px;

  /* ---- ambience: which decorative layers this brand runs ---------------- */
  --brand-aurora:1;      /* the drifting aurora field */
  --brand-stars:1;       /* the starfield */
  --brand-brain:1;       /* the Neuralis brain backdrop */
}

/* Light theme for this brand. The explicit override wins over the OS; the
   :root:not([data-theme="light"]) guard is what lets "follow system" work. */
:root[data-brand="aurora-x"][data-theme="light"], :root:not([data-brand])[data-theme="light"] {
  --bg:#eef3f9;
  --glass:rgba(255,255,255,.62); --glass-deep:rgba(248,251,255,.86); --glass-bar:rgba(252,253,255,.78);
  --surface-1:#e4ebf4; --surface-2:#f4f8fc; --surface-3:#ffffff;
  --t0:#0b1420; --t1:#22374d; --t2:#4d6880; --t3:#7b93a8;
  --line:rgba(10,40,70,.12); --line2:rgba(10,40,70,.20);
  --x-cyan:#0090b8; --x-mint:#00a583; --x-violet:#6a3fd0; --x-blue:#0071c9;
  --x-amber:#a86a00; --x-pink:#c72f63; --x-red:#c62330; --x-slate:#54708a;
  --ok:#00845f; --warn:#a86a00; --crit:#c62330; --info:#0060c0; --idle:#7b93a8;
  --brand-aurora:0; --brand-stars:0;
}
