/* Jetline brand tokens: shared by the public site (site.css) and the command centre (game.css).
   "Chart Room": aeronautical-chart linework, logo navy and blue, cool apron neutrals.
   Taxiway amber is reserved for things that are live right now (the now-line, aircraft in the air). */

@font-face{font-family:"Archivo NG";src:url("../assets/fonts/archivo/archivo-latin-wdth-normal.woff2") format("woff2-variations"),url("../assets/fonts/archivo/archivo-latin-wdth-normal.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Archivo NG";src:url("../assets/fonts/archivo/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"),url("../assets/fonts/archivo/archivo-latin-ext-wdth-normal.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* Primitives */
  --jl-night-950:#060d1c; --jl-night-900:#0a1428; --jl-night-850:#0d1a33; --jl-night-800:#12223f; --jl-night-700:#1a2e52; --jl-night-600:#264069;
  --jl-navy:#0f2c63; --jl-navy-700:#163a7d;
  --jl-blue:#1673f5; --jl-blue-600:#0f5fd6; --jl-blue-700:#0b4db3; --jl-blue-300:#79adff; --jl-blue-200:#a9cbff; --jl-blue-100:#e3eefe;
  --jl-apron-0:#ffffff; --jl-apron-50:#f6f7f9; --jl-apron-100:#eef0f3; --jl-apron-200:#e1e5ea; --jl-apron-300:#cbd2db; --jl-apron-400:#9aa5b4;
  --jl-graphite-500:#5b6676; --jl-graphite-600:#465060; --jl-graphite-700:#2b3340; --jl-graphite-900:#151b24;
  --jl-chart-line:#8fb4e8; --jl-chart-ink:#c9d8ee;
  --jl-amber:#f2b22e; --jl-amber-300:#ffd27a; --jl-amber-700:#8a5a00;
  --jl-go:#1e9e6a; --jl-go-300:#5fd3a2; --jl-caution:#c98a0b; --jl-stop:#d8453a; --jl-stop-300:#ff8a7f;

  /* Type */
  --jl-font:"Archivo NG","Inter v9",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --jl-wide:125%;   /* display and brand voice: echoes the JETLINE wordmark */
  --jl-semi:112%;
  --jl-normal:100%; /* everything operational */

  /* Space (4 px rhythm) */
  --jl-s1:4px; --jl-s2:8px; --jl-s3:12px; --jl-s4:16px; --jl-s5:20px; --jl-s6:24px; --jl-s8:32px; --jl-s10:40px; --jl-s12:48px; --jl-s16:64px; --jl-s24:96px;

  /* Radii carry hierarchy: chips < controls < panels < sheets */
  --jl-r-chip:4px; --jl-r-ctl:6px; --jl-r-panel:10px; --jl-r-sheet:16px;

  /* Motion */
  --jl-ease-out:cubic-bezier(.16,1,.3,1);
  --jl-ease-in:cubic-bezier(.5,0,.75,0);
  --jl-ease-std:cubic-bezier(.2,.7,.2,1);
  --jl-t-fast:120ms; --jl-t-med:220ms; --jl-t-slow:420ms;

  /* Layers */
  --jl-z-nav:40; --jl-z-top:30; --jl-z-drawer:120; --jl-z-dialog:150; --jl-z-pop:200; --jl-z-toast:300; --jl-z-tip:400;
}

/* Reduced effects: set by the player (Settings) or the OS. Visual only; game time never depends on it. */
@media (prefers-reduced-motion:reduce){:root{--jl-t-fast:1ms;--jl-t-med:1ms;--jl-t-slow:1ms}}
:root.jl-reduced-effects{--jl-t-fast:1ms;--jl-t-med:1ms;--jl-t-slow:1ms}

/* Shared cross-document transition between the public site and the command centre. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.32s;animation-timing-function:var(--jl-ease-std)}
::view-transition-group(jl-brand){animation-duration:.42s;animation-timing-function:var(--jl-ease-out)}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
:root.jl-reduced-effects::view-transition-group(*),:root.jl-reduced-effects::view-transition-old(*),:root.jl-reduced-effects::view-transition-new(*){animation:none!important}
