:root {
    --primary-50: #fbeaea;
    --primary-50-rgb: 251, 234, 234;
    --primary-100: #f7d6d4;
    --primary-100-rgb: 247, 214, 212;
    --primary-200: #efada9;
    --primary-200-rgb: 239, 173, 169;
    --primary-300: #e7847e;
    --primary-300-rgb: 231, 132, 126;
    --primary-400: #df5b53;
    --primary-400-rgb: 223, 91, 83;
    --primary-500: #bf2c24;
    --primary-500-rgb: 191, 44, 36;
    --primary-600: #a2251f;
    --primary-600-rgb: 162, 37, 31;
    --primary-700: #861f19;
    --primary-700-rgb: 134, 31, 25;
    --primary-800: #691814;
    --primary-800-rgb: 105, 24, 20;
    --primary-900: #4c120e;
    --primary-900-rgb: 76, 18, 14;
    --secondary-50: #eaf1fb;
    --secondary-50-rgb: 234, 241, 251;
    --secondary-100: #d5e3f6;
    --secondary-100-rgb: 213, 227, 246;
    --secondary-200: #abc7ed;
    --secondary-200-rgb: 171, 199, 237;
    --secondary-300: #80abe5;
    --secondary-300-rgb: 128, 171, 229;
    --secondary-400: #5690dc;
    --secondary-400-rgb: 86, 144, 220;
    --secondary-500: #1c4a87;
    --secondary-500-rgb: 28, 74, 135;
    --secondary-600: #183f73;
    --secondary-600-rgb: 24, 63, 115;
    --secondary-700: #14345f;
    --secondary-700-rgb: 20, 52, 95;
    --secondary-800: #0f294a;
    --secondary-800-rgb: 15, 41, 74;
    --secondary-900: #0b1e36;
    --secondary-900-rgb: 11, 30, 54;
    --wood-50: #fbeaea;
    --wood-50-rgb: 251, 234, 234;
    --wood-100: #f7d6d4;
    --wood-100-rgb: 247, 214, 212;
    --wood-200: #efada9;
    --wood-200-rgb: 239, 173, 169;
    --wood-300: #e7847e;
    --wood-300-rgb: 231, 132, 126;
    --wood-400: #df5b53;
    --wood-400-rgb: 223, 91, 83;
    --wood-500: #bf2c24;
    --wood-500-rgb: 191, 44, 36;
    --wood-600: #a2251f;
    --wood-600-rgb: 162, 37, 31;
    --wood-700: #861f19;
    --wood-700-rgb: 134, 31, 25;
    --wood-800: #691814;
    --wood-800-rgb: 105, 24, 20;
    --wood-900: #4c120e;
    --wood-900-rgb: 76, 18, 14;
    --brand-primary: #BF2C24;
    --primary-color: #BF2C24;
    --secondary-color: #1C4A87;
    --background-color: #fbeaea;
    --text-color: #4c120e;
    --border-color: #efada9;
    --muted-color: #df5b53;
    --btn-primary: #bf2c24;
    --btn-primary-hover: #a2251f;
    --btn-secondary: #1c4a87;
    --btn-secondary-hover: #183f73;
    --accent-color: #1c4a87;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    /* Spacing Variables - Mobile First */
    --section-padding-y: 1.25rem;
    --section-padding-x: 0.75rem;
    --card-padding: 1rem;
    --container-max-width: 1280px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(67, 48, 43, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(67, 48, 43, 0.1), 0 2px 4px -1px rgba(67, 48, 43, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(67, 48, 43, 0.1), 0 4px 6px -2px rgba(67, 48, 43, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(67, 48, 43, 0.1), 0 10px 10px -5px rgba(67, 48, 43, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(67, 48, 43, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* Responsive spacing adjustments */
@media (min-width: 640px) {
    :root {
        --section-padding-y: 2rem;
        --section-padding-x: 1rem;
        --card-padding: 1.25rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-padding-y: 3rem;
        --section-padding-x: 1.5rem;
        --card-padding: 1.5rem;
    }
}

/* Role colours, light and dark */
:root{color-scheme:light;--c-page:#fffdfc;--c-surface:#fef0ee;--c-surface-2:#f4e4e1;--c-line:#ebdbd9;--c-line-strong:#cfb8b4;--c-text:#35201d;--c-text-muted:#6b5551;--c-accent:#822c24;--c-accent-hover:#721d16;--c-on-accent:#ffffff;--c-accent-soft:#ffe0db;--c-focus:#b54b40;--c-inverse:#36201c;--c-on-inverse:#f8f0ee;--c-on-inverse-muted:#cbb9b6;--c-inverse-line:#4c3734;--c-secondary:#275593;--c-success:#197037;--c-success-soft:#e4f8e7;--c-made:#815206;--c-made-soft:#feefde;--c-danger:#963e35;--c-danger-soft:#ffedea;--c-overlay:rgba(30,20,15,.45);}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--c-page:#170f0e;--c-surface:#221716;--c-surface-2:#2f2321;--c-line:#3c302e;--c-line-strong:#614d4a;--c-text:#f1e9e8;--c-text-muted:#c4aaa6;--c-accent:#fb998b;--c-accent-hover:#ffb1a5;--c-on-accent:#201210;--c-accent-soft:#412622;--c-focus:#ef7f71;--c-inverse:#150403;--c-on-inverse:#f8f0ee;--c-on-inverse-muted:#cbb9b6;--c-inverse-line:#2c1a17;--c-secondary:#8cbafa;--c-success:#83d494;--c-success-soft:#15291a;--c-made:#efb062;--c-made-soft:#30200d;--c-danger:#fda296;--c-danger-soft:#351c19;--c-overlay:rgba(0,0,0,.6);}}
:root[data-theme=dark]{color-scheme:dark;--c-page:#170f0e;--c-surface:#221716;--c-surface-2:#2f2321;--c-line:#3c302e;--c-line-strong:#614d4a;--c-text:#f1e9e8;--c-text-muted:#c4aaa6;--c-accent:#fb998b;--c-accent-hover:#ffb1a5;--c-on-accent:#201210;--c-accent-soft:#412622;--c-focus:#ef7f71;--c-inverse:#150403;--c-on-inverse:#f8f0ee;--c-on-inverse-muted:#cbb9b6;--c-inverse-line:#2c1a17;--c-secondary:#8cbafa;--c-success:#83d494;--c-success-soft:#15291a;--c-made:#efb062;--c-made-soft:#30200d;--c-danger:#fda296;--c-danger-soft:#351c19;--c-overlay:rgba(0,0,0,.6);}
