/*
 * ARS theme — palette only.
 *
 * Split out of ars_theme.css and loaded in <head> on purpose. The theme file
 * itself is linked at the end of <body> so its component rules win the
 * cascade, but the palette cannot wait that long: the browser would paint the
 * whole page in the legacy green, then repaint peach when the theme finally
 * arrived. Variables belong where the first paint can see them.
 *
 * Edit colours here. Component styling stays in ars_theme.css.
 */

:root {
    /* ---- New palette ---- */
    --peach: #FFBE91;
    --sand: #FFDDB0;
    --cream: #FFFCE1;
    --sky: #CFEBFF;
    --gold: #C9922F;

    --terracotta: #B85E2B;       /* primary action, white text ~4.6:1 */
    --terracotta-deep: #97491F;
    --sky-deep: #3D82B8;
    --ink: #3E3527;
    --ink-soft: #6B5F4C;
    --line: #EFE1C8;

    /* ---- Remap legacy vars so existing markup re-skins instantly ---- */
    --turmeric: #F2A365;
    --turmeric-light: #FFDDB0;
    --turmeric-dark: #C9922F;

    --curry-leaf: #D98A4E;
    --curry-leaf-light: #FFCBA3;
    --curry-leaf-dark: #B85E2B;

    --tamarind: #A9633A;
    --tamarind-light: #C88A5D;
    --tamarind-dark: #7A4526;

    --chili: #E06A4E;
    --chili-light: #F1927B;

    --cream-dark: #FBEFD3;
    --charcoal: #3E3527;
    --charcoal-light: #6B5F4C;
    --slate: #8A7C64;

    --success: #4F9E6A;
    --warning: #E0932E;
    --error: #D9573D;
    --info: #3D82B8;

    /* Springy easing shared across families */
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
