/* VirJual brand layer — tokens and the logo.
   Adapted from the "VirJual back-office brand kit v1" design package.

   TWO THINGS WERE LEFT BEHIND, deliberately:

   * The kit's `@import` of Sora and Outfit from Google's CDN. Both faces are
     already served from this domain (see fonts.css), and importing them
     would hand every German visitor's IP address to a third country on page
     load — the transfer the Impressum says does not happen.

   * The kit's dark admin skin and its components (.vj-sidebar, .vj-card,
     .vj-btn, .vj-input, .vj-table, .vj-badge) along with its base rules for
     body, headings and links. Those paint a dark panel; the public site is
     light, so loading them here would invert it. They belong with the
     back-office, which is what the kit was written for, and are kept in the
     package until that screen is built.

   What is left is safe to load anywhere: custom properties, which affect
   nothing that does not ask for them, and one component nobody else styles.

   The colours need no reconciling. --vj-blue is the #079FFC already used
   across the site, --vj-graphite is --color-text, --vj-white is --color-bg,
   and the kit's two type faces are the two already loaded. */

:root {
  /* Colours */
  --vj-black:    #0F0E0E;  /* page background, back-office */
  --vj-graphite: #201E1D;  /* panels — the site's ink colour */
  --vj-line:     #3A3736;  /* borders, dividers */
  --vj-grey:     #9A9897;  /* secondary text, labels */
  --vj-white:    #F3F2F2;  /* main text — the site's paper colour */
  --vj-blue:     #079FFC;  /* the only accent */
  --vj-blue-ink: #0577C2;  /* blue for text on white */
  --vj-success:  #3FBF7F;
  --vj-warning:  #F2A93B;
  --vj-danger:   #F0605D;

  /* Type — the faces fonts.css already serves. */
  --vj-font-head: "Sora", system-ui, sans-serif;
  --vj-font-body: "Outfit", system-ui, sans-serif;

  /* Shape */
  --vj-radius: 4px;
  --vj-space: 8px;
}

/* The logo: the wordmark over an architect's dimension line, ticked at both
   ends — the same mark the favicon carries. Size it with font-size; every
   part scales from that. */
.vj-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.26em;
  font-size: 28px;
  color: var(--vj-white);
  text-decoration: none;
}
.vj-logo__name {
  font-family: var(--vj-font-head);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
  white-space: nowrap;
}
.vj-logo__dim {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.12em;
  min-height: 0.16em;
}
.vj-logo__dim::before,
.vj-logo__dim::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.16em;
  height: 2px;
  background: var(--vj-blue);
  transform: translateY(-50%) rotate(-45deg);
}
.vj-logo__dim::before { left: -0.08em; }
.vj-logo__dim::after { right: -0.08em; }
/* The extension lines carry a minimum length. In the package they were
   `flex: 1` alone, which measures what is left over after the descriptor —
   and the descriptor, held at an 8px floor, is wider than the wordmark until
   the logo passes about 67px. So the lines came out zero pixels wide at
   every size anyone would use, leaving the two end ticks floating against
   the text with no dimension between them. A basis of 1.1em gives the line
   its length back and lets the lockup set its own width. */
.vj-logo__line {
  flex: 1 0 1.1em;
  height: 1.5px;
  background: var(--vj-blue);
}
.vj-logo__desc {
  font-family: var(--vj-font-body);
  font-weight: 400;
  font-size: max(0.12em, 8px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vj-grey);
  white-space: nowrap;
  line-height: 1;
}
.vj-logo--compact .vj-logo__desc { display: none; }
