/* ═══════════════════════════════════════════════════════════════════
   EDITURA SAPIENTIA — LAYER 1 RESKIN (brand override)
   ═══════════════════════════════════════════════════════════════════

   Forked from ITRC Design Tokens v2.0 (3-layer architecture).

   HOW TO USE — per the ITRC system's own rule ("schimbi DOAR Layer 1"):
     1. Copy the ITRC `tokens.css` into the theme as the base design system
        (e.g. css/tokens.css) and enqueue it FIRST.
     2. Enqueue THIS file immediately AFTER it. It redefines ONLY the
        Layer-1 primitives (--raw-*). Semantic + component layers inherit
        the new brand automatically. No component CSS changes.

   Result: navy identity + oxblood (library-leather / liturgical) accent +
   warm paper neutrals. Gold is intentionally dropped (it is ITRC's brand).
   ═══════════════════════════════════════════════════════════════════ */

:root {

	/* ─── Brand navy ramp (anchored on Sapientia #074960) ─── */
	--raw-navy-900: #04303f;   /* darkest — footer, text-strong, overlays */
	--raw-navy-800: #063a4d;
	--raw-navy-700: #074960;   /* THE brand identity color */
	--raw-navy-500: #0c6483;   /* lighter — links / primary */
	--raw-navy-50:  #f1f7fa;   /* faint wash */

	/* Map onto the legacy --raw-blue-* names the ITRC semantic layer reads. */
	--raw-blue-900: var(--raw-navy-700);   /* brand navy = #074960 */
	--raw-blue-700: var(--raw-navy-800);
	--raw-blue-500: var(--raw-navy-500);
	--raw-blue-50:  var(--raw-navy-50);

	/* ─── Accent: oxblood / wine (replaces gold) ─── */
	--raw-wine-600: #6f1d28;   /* hover / dark */
	--raw-wine-500: #8a2535;   /* accent */

	/* Map onto the legacy --raw-gold-* names. */
	--raw-gold-600: var(--raw-wine-600);
	--raw-gold-500: var(--raw-wine-500);

	/* ─── Warm paper neutrals (kept from ITRC — ideal for a publisher) ─── */
	--raw-gray-0:   #ffffff;
	--raw-gray-50:  #faf9f6;
	--raw-gray-100: #f4f2ec;
	--raw-gray-200: #eceae6;
	--raw-gray-300: #e8e2d8;
	--raw-gray-600: #6b6b68;
	--raw-gray-700: #4a4a47;
	--raw-gray-900: #2f2f2c;   /* slightly deeper ink for body text */

	/* ─── States ─── */
	--raw-green-600:  #2f7d32;
	--raw-yellow-700: #d9a300;
	--raw-red-600:    #c0392b;

	/* ─── Footer brand (deep navy, not pure black) ─── */
	--raw-footer-bg: #052b39;

	/* ─── Typography primitives — Playfair (titles) + Inter (everything) ─── */
	--raw-font-serif:   "Playfair Display", Georgia, "Times New Roman", serif;
	--raw-font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--raw-font-reading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--raw-font-mono:    ui-monospace, "SF Mono", Monaco, Consolas, monospace;
	/* Roboto is intentionally unused. Its @font-face in the base file will
	   simply never download because no family references it. */

	/* ─── Tinted shadows/borders: re-tint from ITRC navy (10,36,64)
	       to Sapientia navy (7,73,96). Overriding the semantic values
	       that the base file hard-coded with the old rgba. ─── */
	--color-border-subtle:  rgba(7, 73, 96, 0.05);
	--color-border-strong:  rgba(7, 73, 96, 0.18);

	--overlay-dark-strong: rgba(7, 73, 96, 0.85);
	--overlay-dark-medium: rgba(7, 73, 96, 0.56);
	--overlay-dark-soft:   rgba(7, 73, 96, 0.40);

	--shadow-xs: 0 1px 2px rgba(7, 73, 96, 0.04);
	--shadow-sm: 0 2px 6px rgba(7, 73, 96, 0.06);
	--shadow-md: 0 4px 12px rgba(7, 73, 96, 0.08);
	--shadow-lg: 0 8px 24px rgba(7, 73, 96, 0.12);
	--shadow-xl: 0 18px 48px rgba(7, 73, 96, 0.06);

	/* Footer/newsletter accents re-tinted from gold to wine. */
	--footer-separator: rgba(138, 37, 53, 0.14);
	--footer-divider:   rgba(138, 37, 53, 0.20);
	--newsletter-bg:     rgba(138, 37, 53, 0.05);
	--newsletter-border: rgba(138, 37, 53, 0.14);
}
