:root{
/* ---- Brand palette (named by Invested) ---- */
--eigengrau:#16161D;
--clarity:#DDD0A7;
--focus:#E6E6E6;
--proof:#BFA46D;
--legacy:#007A5E;
--pulse:#FFC619;

/* ---- Eigengrau ramp: structural darks ---- */
--ink-900:#0D0D12;
--ink-800:#16161D;
--ink-700:#1D1D26;
--ink-600:#25252F;
--ink-500:#31313C;
--ink-400:#43434F;
--ink-300:#5C5C68;
--ink-200:#7C7C86;

/* ---- Focus ramp: neutrals / light surfaces ---- */
--paper-000:#FFFFFF;
--paper-050:#FAFAF9;
--paper-100:#F2F1EE;
--paper-200:#E6E6E6;
--paper-300:#D5D5D3;
--paper-400:#B4B4B2;

/* ---- Warm ramp (Clarity / Proof) ---- */
--warm-050:#F6F1E2;
--warm-100:#EDE4CB;
--warm-200:#DDD0A7;
--warm-300:#CDBB8A;
--warm-400:#BFA46D;
--warm-500:#9C8452;
--warm-600:#6E5C38;

/* ---- Semantic accents ---- */
--legacy-600:#00614A;
--legacy-500:#007A5E;
--legacy-300:#3FA98C;
--legacy-050:#E4F1ED;
--pulse-600:#D9A400;
--pulse-500:#FFC619;
--pulse-050:#FFF6DE;
--alert-500:#B0442F;
--alert-050:#F7E9E5;

/* ---- Semantic aliases: dark canvas (default brand mode) ---- */
--surface-canvas:var(--ink-800);
--surface-raised:var(--ink-700);
--surface-sunken:var(--ink-900);
--surface-inverse:var(--paper-050);
--surface-warm:var(--warm-050);
--surface-hover:rgba(230,230,230,.045);
--surface-selected:rgba(191,164,109,.10);

--text-primary:var(--focus);
--text-secondary:rgba(230,230,230,.68);
--text-tertiary:rgba(230,230,230,.44);
--text-accent:var(--proof);
--text-on-accent:var(--ink-900);
--text-inverse:var(--ink-800);
--text-link:var(--proof);
--text-link-hover:var(--warm-300);

--border-hairline:rgba(230,230,230,.12);
--border-subtle:rgba(230,230,230,.18);
--border-strong:rgba(230,230,230,.30);
--border-accent:rgba(191,164,109,.55);
--border-focus:var(--proof);

--accent-primary:var(--proof);
--accent-primary-hover:var(--warm-300);
--accent-quiet:rgba(191,164,109,.14);
--positive:var(--legacy-500);
--positive-quiet:rgba(0,122,94,.16);
--attention:var(--pulse-500);
--attention-quiet:rgba(255,198,25,.14);
--negative:var(--alert-500);

--overlay-scrim:rgba(13,13,18,.78);
/* Protection gradient: laid over photography so type stays legible */
--image-scrim-left:linear-gradient(90deg,rgba(22,22,29,.94) 0%,rgba(22,22,29,.72) 34%,rgba(22,22,29,0) 68%); /* @kind other */
--image-scrim-right:linear-gradient(270deg,rgba(22,22,29,.96) 0%,rgba(22,22,29,.70) 38%,rgba(22,22,29,0) 74%); /* @kind other */
--image-scrim-bottom:linear-gradient(0deg,rgba(22,22,29,.88) 0%,rgba(22,22,29,0) 52%); /* @kind other */
/* Header bed: keeps nav chrome legible over any photograph */
--image-scrim-top:linear-gradient(180deg,rgba(22,22,29,.86) 0%,rgba(22,22,29,.42) 46%,rgba(22,22,29,0) 100%); /* @kind other */
}

/* Light canvas — editorial documents, forms, printed collateral */
[data-theme="light"]{
--surface-canvas:var(--paper-050);
--surface-raised:var(--paper-000);
--surface-sunken:var(--paper-100);
--surface-inverse:var(--ink-800);
--surface-warm:var(--warm-050);
--surface-hover:rgba(22,22,29,.035);
--surface-selected:rgba(191,164,109,.12);

--text-primary:var(--ink-800);
--text-secondary:rgba(22,22,29,.66);
--text-tertiary:rgba(22,22,29,.44);
--text-accent:var(--warm-500);
--text-on-accent:var(--ink-900);
--text-inverse:var(--focus);
--text-link:var(--warm-500);
--text-link-hover:var(--ink-800);

--border-hairline:rgba(22,22,29,.10);
--border-subtle:rgba(22,22,29,.16);
--border-strong:rgba(22,22,29,.28);
--border-accent:rgba(191,164,109,.70);
--border-focus:var(--warm-500);

--accent-primary:var(--warm-400);
--accent-primary-hover:var(--warm-500);
--accent-quiet:rgba(191,164,109,.16);
--overlay-scrim:rgba(22,22,29,.62);
}
