/* AVE Studio: shared website, CRM and Django admin design tokens.
   Gold decorates; dark gold is used for readable text on white. */
:root {
    --ave-black: #111111;
    --ave-white: #ffffff;
    --ave-gold: #b08d57;
    --ave-gold-light: #d2b782;
    --ave-on-black-muted: #ccc7bf;
    --ave-page: #fafafa;
    --ave-surface: #ffffff;
    --ave-surface-subtle: #f5f5f3;
    --ave-ink: #111111;
    --ave-secondary: #42403e;
    --ave-muted: #6b665f;
    --ave-line: #e4e1db;
    --ave-input-line: #918a7f;
    --ave-gold-text: #806137;
    --ave-gold-soft: #d8c7aa;
    --ave-gold-wash: #f7f3eb;
    --ave-action: #111111;
    --ave-action-text: #ffffff;
    --ave-action-hover: #34302a;
    --ave-error: #9f302f;
    --ave-error-bg: #fff1f0;
    --ave-error-border: #e3b7b3;
    --ave-radius-control: 12px;
    --ave-radius-card: 16px;
    --ave-radius-button: 9999px;
    --ave-shadow: 0 8px 28px rgb(17 17 17 / 4%);
    --ave-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ave-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color-scheme: light;
}

/* Public pages keep their original light canvas. Only the admin theme toggle
   opts into dark or system mode. */
html[data-theme="dark"] {
    --ave-page: #121212;
    --ave-surface: #191919;
    --ave-surface-subtle: #202020;
    --ave-ink: #f5f5f5;
    --ave-secondary: #d0ccc6;
    --ave-muted: #b3ada4;
    --ave-line: #35322e;
    --ave-input-line: #827a6e;
    --ave-gold-text: #d2b782;
    --ave-gold-soft: #51442e;
    --ave-gold-wash: #29241b;
    --ave-action: #f5f5f5;
    --ave-action-text: #111111;
    --ave-action-hover: #e5d6bc;
    --ave-error: #f0a39c;
    --ave-error-bg: #2a1715;
    --ave-error-border: #75413b;
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    html[data-theme="auto"] {
    --ave-page: #121212;
    --ave-surface: #191919;
    --ave-surface-subtle: #202020;
    --ave-ink: #f5f5f5;
    --ave-secondary: #d0ccc6;
    --ave-muted: #b3ada4;
    --ave-line: #35322e;
    --ave-input-line: #827a6e;
    --ave-gold-text: #d2b782;
    --ave-gold-soft: #51442e;
    --ave-gold-wash: #29241b;
    --ave-action: #f5f5f5;
    --ave-action-text: #111111;
    --ave-action-hover: #e5d6bc;
    --ave-error: #f0a39c;
    --ave-error-bg: #2a1715;
    --ave-error-border: #75413b;
    color-scheme: dark;
    }
}
