/* ============================================================
   CS Design System — 01 Tokens & Fonts
   Brand Guideline: Combustion Solutions (colors, typography,
   Power Ring, Focus Box)

   Display: FS Sinclair — supplied with the 2026 CS Guide.
   Body: Trade Gothic LT — the guide's copy face for subheadings,
   body copy and supporting information.
   ============================================================ */

@font-face {
    font-family: "FS Sinclair";
    src:
        url("../Fonts/FSSinclair-Regular.woff2") format("woff2"),
        url("../Fonts/FSSinclair-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "FS Sinclair";
    src:
        url("../Fonts/FSSinclair-Medium.woff2") format("woff2"),
        url("../Fonts/FSSinclair-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "FS Sinclair";
    src:
        url("../Fonts/FSSinclair-Bold.woff2") format("woff2"),
        url("../Fonts/FSSinclair-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Trade Gothic LT";
    src:
        url("../Fonts/TradeGothicLT-Light.woff2") format("woff2"),
        url("../Fonts/TradeGothicLT-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Trade Gothic LT";
    src:
        url("../Fonts/TradeGothicLT.woff2") format("woff2"),
        url("../Fonts/TradeGothicLT.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Trade Gothic LT";
    src:
        url("../Fonts/TradeGothicLT-Oblique.woff2") format("woff2"),
        url("../Fonts/TradeGothicLT-Oblique.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Trade Gothic LT";
    src:
        url("../Fonts/TradeGothicLT-Bold.woff2") format("woff2"),
        url("../Fonts/TradeGothicLT-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Trade Gothic LT";
    src:
        url("../Fonts/TradeGothicLT-BoldOblique.woff2") format("woff2"),
        url("../Fonts/TradeGothicLT-BoldOblique.woff") format("woff");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Primary palette (brand guideline p.05) */
    --cs-red: #d3243d;      /* Pantone 206 C */
    --cs-orange: #f6a614;   /* Pantone 7549 C */
    /* Text on white (≥4.5:1); keep --cs-orange for fills / large accents */
    --cs-orange-ink: #9a5f00;

    /* Secondary & accent palette (brand guideline p.05) */
    --cs-turquoise: #45b8ab; /* Pantone 7465 C */
    --cs-yellow: #f3f0a7;    /* Pantone 600 C */
    --cs-navy: #23254d;      /* Pantone 2766 CP */
    --cs-black: #14151f;

    /* Derived neutrals */
    --cs-ink: #1d2038;
    --cs-steel: #5a6078;
    --cs-canvas: #f4f4f1;
    --cs-surface: #ffffff;
    --cs-line: #e2e3e9;
    --cs-navy-deep: #191a33;
    --cs-amber: #f6a614;

    /* Ember wash for dark surfaces. Red over navy turns plum, so the warm
       lift on dark bands comes from the orange end of the palette. */
    --cs-ember-strong: rgba(246, 166, 20, 0.16);
    --cs-ember: rgba(246, 166, 20, 0.1);
    --cs-ember-soft: rgba(246, 166, 20, 0.06);

    /* Typography */
    --cs-display: "FS Sinclair", Arial, sans-serif;
    --cs-body: "Trade Gothic LT", Arial, Helvetica, sans-serif;
    --cs-cond: "FS Sinclair", Arial, sans-serif;

    /* Power Ring gradients (brand variations) */
    --ring-energy: conic-gradient(from 210deg, #d3243d, #f6a614 45%, #f3f0a7 72%, #d3243d 100%);
    --ring-technology: conic-gradient(from 210deg, #23254d, #2e6281 45%, #45b8ab 75%, #23254d 100%);
    --ring-innovation: conic-gradient(from 210deg, #f3f0a7, #8fd8b8 40%, #45b8ab 70%, #f3f0a7 100%);

    /* Label voices — the two registers every small-caps label maps to.
       Bar kickers (loud, section openers): red/orange bar, kicker metrics.
       Quiet labels (dense areas, data panels): steel caps, label metrics. */
    --cs-kicker-size: 0.78rem;
    --cs-kicker-track: 0.18em;
    --cs-label-size: 0.72rem;
    --cs-label-track: 0.16em;

    /* Rhythm */
    --cs-section: clamp(3.25rem, 6vw, 5rem);
    --cs-gutter: clamp(1.25rem, 4vw, 3rem);
    --cs-maxwidth: 78rem;
    --cs-measure: 60ch;
    --cs-navbar-h: 5.625rem;

    --cs-shadow: 0 1.5rem 4rem rgba(35, 37, 77, 0.14);
    --cs-shadow-soft: 0 0.5rem 1.75rem rgba(35, 37, 77, 0.07);
    --cs-shadow-lift: 0 1.25rem 2.75rem rgba(35, 37, 77, 0.13);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    /* List bullets — measured off the guide's own bullet glyph (CS_Guide_DE p.17,
       traced at 2400 dpi): an orange square whose top-left corner is the sharp
       one, the other three carry a radius of ~12 % of the side. Print sets it at
       0.33 em on 0.7 em of text indent; screen needs a touch more mass to keep
       the cut corner readable. */
    --cs-bullet-size: 0.4em;
    --cs-bullet-radius: 0 12% 12% 12%;
    --cs-bullet-color: var(--cs-orange);
    /* Fallback only; base.css centres the bullet in the first line box with `lh` */
    --cs-bullet-offset: 0.5em;
    --cs-bullet-indent: 1.1em;
}
