/*
 * Voltava brand foundation — Voltava Brand Guidelines v1.0 (January 2026).
 * Reusable in any Voltava app: brand tokens and logo rules only, no app layout.
 *
 * Rules from the guidelines:
 *  - Primary palette is navy + green below. The secondary palette is not released yet;
 *    do not invent extra brand colours. Tints/shades below are UI helpers, not brand colours.
 *  - Typeface is Arial Nova (any weight except Condensed). Arial is the fallback.
 *  - Logo: never stretch, recolour, crop, or separate the icon from the wordmark.
 *    Keep clear space of 1X (X = logo height) on every side.
 *    Full colour on white/light solid backgrounds; reversed (white/green) only on Voltava navy.
 *  - Every new use of the logo must be approved by Brand & Communication.
 *  - In text, write the name as "Voltava" (the all-caps form is only in the logo).
 */

:root {
    /* Primary palette */
    --voltava-navy: #002561;  /* Pantone 2757 C */
    --voltava-green: #b2d234; /* Pantone 375 */

    /* UI tints and shades derived from the primary palette */
    --voltava-navy-05: color-mix(in srgb, var(--voltava-navy) 5%, white);
    --voltava-navy-10: color-mix(in srgb, var(--voltava-navy) 10%, white);
    --voltava-navy-hover: color-mix(in srgb, var(--voltava-navy) 85%, white);
    --voltava-green-10: color-mix(in srgb, var(--voltava-green) 12%, white);
    --voltava-green-30: color-mix(in srgb, var(--voltava-green) 35%, white);
    --voltava-green-shade: color-mix(in srgb, var(--voltava-green) 80%, black);
    /* Green fails contrast as text on white; use this shade for green text. */
    --voltava-green-text: color-mix(in srgb, var(--voltava-green) 40%, black);

    --voltava-font: "Arial Nova", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* Wrap the logo in this to enforce the 1X clear space. Set --voltava-logo-height on the wrapper. */
.voltava-logo-clearspace {
    display: inline-flex;
    padding: var(--voltava-logo-height, 24px);
}

.voltava-logo {
    display: block;
    height: var(--voltava-logo-height, 24px);
    width: auto;
    max-width: none;
}

/* The only surface the reversed logo may sit on. */
.voltava-surface-navy {
    background: var(--voltava-navy);
    color: #ffffff;
}
