/* thescottrocca.com articles: the shared values every articles page reads.
   Built by Bright Presence Digital, https://brightpresencedigital.com

   One file so the index and every article agree on colour, type and spacing. A topic sets two
   values: --accent is the brand colour itself (rails, rules, and the tint of the ground under the
   page, so it must stay a six-digit hex), --accent-ink is its lighter twin, the one that is
   readable as small text on this background. The venture colours are brand-locked: bark is
   Bark & Stroll's own green, bpd is Bright Presence Digital's own gold. Do not tune them here. */
:root{
  --bg:#1c1c24;
  --surface:#242430;
  --rule:rgba(255,255,255,.08);
  --rule-strong:rgba(255,255,255,.16);
  --ink:#f0ebe3;
  --ink-soft:rgba(240,235,227,.84);
  --ink-quiet:rgba(240,235,227,.6);

  --accent:#c9a84c;
  --accent-ink:#e0c06a;

  --display:'DM Serif Display',Georgia,'Times New Roman',serif;
  --text:'Lora',Georgia,'Times New Roman',serif;
  --ui:'Source Sans 3',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;

  /* One measure for the reading column, in characters of the text face. */
  --measure:66ch;
  --ease:cubic-bezier(.22,1,.36,1);
}
[data-topic="bark"]{--accent:#2a8458;--accent-ink:#4fb383}
[data-topic="bpd"]{--accent:#c8a030;--accent-ink:#e8c850}
[data-topic="voip"]{--accent:#4a7fb5;--accent-ink:#6fa0d4}
[data-topic="business"]{--accent:#b87333;--accent-ink:#d4914a}
[data-topic="mindset"]{--accent:#8d76cc;--accent-ink:#b6a4ee}
[data-topic="code"]{--accent:#8fa8c4;--accent-ink:#b8c4d0}
[data-topic="gaming"]{--accent:#c41e3a;--accent-ink:#e8707c}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{margin:0;background:transparent;color:var(--ink-soft);overflow-wrap:anywhere;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
/* The ground under the writing: the same soil and light as the homepage, tinted by --accent. */
#world{position:fixed;inset:0;width:100%;height:100%;z-index:-1;display:block;opacity:.55}
