  /* =====================================================================
     GVim Zero — brand lockup
     One logo, used at every size: splash, menu bar, About, GZ_Vimrc and
     the help overlay all render this same component. Scale it by setting
     --gz-size on the element; everything inside is expressed in em.
     ===================================================================== */
  .gz-logo {
    --gz-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    font-size: var(--gz-size);
    font-family: var(--font);
    line-height: 1;
    user-select: none;
    white-space: nowrap;
  }

  /* The chip is a block cursor — the one glyph that says "modal editor". */
  .gz-logo-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    border-radius: 0.32em;
    background: linear-gradient(135deg, var(--accent) 0%, var(--magenta) 52%, var(--orange) 100%);
    color: var(--bg-normal);
    font-size: 0.78em;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }
  .gz-logo-chip::after {
    content: "";
    width: 0.34em;
    height: 0.92em;
    background: currentColor;
    border-radius: 1px;
    animation: gzChipBlink 1.15s step-end infinite;
  }
  @keyframes gzChipBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.18; } }

  .gz-logo-word {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3em;
    letter-spacing: 0.02em;
  }
  .gz-logo-word b {
    font-weight: 700;
    color: var(--text-bright);
  }
  .gz-logo-word i {
    font-style: italic;
    font-weight: 700;
    color: var(--orange);
  }

  /* ---- large variant: splash and overlay heroes ---- */
  .gz-logo.gz-lg {
    gap: 0.5em;
  }
  .gz-logo.gz-lg .gz-logo-chip {
    border-radius: 0.26em;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 0 2.2em -0.4em var(--accent);
  }
  .gz-logo.gz-lg .gz-logo-word { letter-spacing: -0.01em; }

  /* A highlight sweep, used on the splash only. */
  .gz-logo.gz-sheen { position: relative; overflow: hidden; }
  .gz-logo.gz-sheen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.26) 50%, transparent 60%);
    transform: translateX(-130%);
    animation: gzSheen 3.8s ease-in-out 1s infinite;
  }
  @keyframes gzSheen {
    0%        { transform: translateX(-130%); }
    36%, 100% { transform: translateX(130%); }
  }

  @media (prefers-reduced-motion: reduce) {
    .gz-logo-chip::after, .gz-logo.gz-sheen::after { animation: none; }
  }
