/* The loader: the Democratic Intelligence mark with the pink head of its i breathing,
   and a line beside it saying what is loading, centred across whatever is
   loading.

   A stylesheet of its own, linked in the head of every page, so a loader
   written into a page's markup is drawn centred from the first paint. Injected
   by a script instead, it waited for that script, and a page whose modules
   arrived in another order showed its loader unstyled, at the top left, for as
   long as they took. site/loader.js writes the markup this styles. */
.site-loading:has(> .site-loader-mark) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* Centred across the whole of what is loading: the elements that carry a
     loader keep a reading measure of their own, which would centre it on a
     column of text instead. */
  width: 100%;
  max-width: none;
  min-height: 140px;
  margin-left: 0;
  margin-right: 0;
  /* A quiet grey for the line: the framework's faint ink, the lightest that
     still reads as text on cream. The mark keeps its own forest. */
  color: #646C60;
  text-align: center;
}
.site-loader-mark { flex: none; width: 19.2px; height: 24px; overflow: visible; color: #1E2A1C; }
body[data-palette="umber"] .site-loader-mark { color: #F7F5EE; }
.site-loader-dot { animation: site-loader-breathe 1.6s ease-in-out infinite alternate; }
@keyframes site-loader-breathe { to { opacity: .3; } }
.site-loader-text {
  line-height: 1;
  color: inherit;
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
@media (prefers-reduced-motion: reduce) { .site-loader-dot { animation: none; } }

/* The P11 mark, wherever a page draws it (the header, the loaders, About's
   lockup): seats and the i's body take the ink, the links and the i's head are
   pink. Its left column is offset on purpose: the top-left seat and the head
   both sit 2 units left of the body (x 58), because the heavy body low on the
   left made the D look as if it leant to the right. Deep pink (#C9566F) on
   cream is written into the markup; on the dark palette they turn light pink
   (#EE9AAE), as landing's mark-reversed.svg draws them. Kept here because this is the one stylesheet every page links in its
   head, so the mark is right from the first paint. */
body[data-palette="umber"] .di-links { stroke: #EE9AAE; }
body[data-palette="umber"] .di-head { fill: #EE9AAE; }
/* The i of "intelligence" in the name is the mark's person, as landing's NameI
   draws it: its body 6.7 units taller than the mark's (about 7%), so that it
   reaches the x-height of the other lowercase letters, the head keeping the
   same gap above it. Its head sits 2 units left and its foot is rounded with
   the head's radius, as in the mark. The left margin cancels the D's side
   bearing, so that the i's body starts exactly where the D of "Democratic"
   does; only the head reaches past it. "Democratic" is tracked 0.0072em wider
   than "intelligence", so that both words end at the same point. */
.di-name-i { display: inline-block; height: .7773em; width: auto; vertical-align: baseline; margin-left: .0629em; margin-right: .03em; }
.di-name > span:first-child { letter-spacing: -0.0178em; }
