/* =====================================================================
   GLAGOREM brand tokens
   Primary #084B85 · Accent #EF6F14 · Earth #BA885D · Light #F5F5F1
   Runtime overrides from Settings → Branding are served by /assets/css/theme.css
   ===================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-latin.woff2") format("woff2");
}

:root {
  /* Core palette */
  --brand-primary: #084B85;
  --brand-accent: #EF6F14;
  --brand-earth: #BA885D;
  --brand-light: #F5F5F1;

  /* Primary scale */
  --brand-primary-50: #EEF4FA;
  --brand-primary-100: #D6E4F1;
  --brand-primary-200: #A9C6E1;
  --brand-primary-300: #6E9CC8;
  --brand-primary-500: #1A62A3;
  --brand-primary-600: #073F70;
  --brand-primary-700: #06345C;
  --brand-primary-800: #052A4A;
  --brand-primary-900: #031B30;

  /* Accent scale (text on light uses -700 for AA contrast) */
  --brand-accent-50: #FEF3EA;
  --brand-accent-100: #FDE3CE;
  --brand-accent-200: #F9C29A;
  --brand-accent-600: #D85F0C;
  --brand-accent-700: #B04A06;
  --brand-accent-800: #8A3A05;

  /* Earth scale */
  --brand-earth-50: #F8F2EC;
  --brand-earth-100: #EFE3D6;
  --brand-earth-200: #DEC6AD;
  --brand-earth-600: #9E7048;
  --brand-earth-700: #7C5634;
  --brand-earth-800: #5C3F26;

  /* Light scale */
  --brand-light-200: #ECECE4;
  --brand-light-300: #E5E5E0;
  --brand-light-400: #D4D4CB;

  /* Neutrals */
  --ink: #1A1A1A;
  --ink-soft: #4A4A48;
  --ink-muted: #6B6B66;
  --border: #E5E5E0;
  --white: #FFFFFF;

  /* Semantic */
  --success: #1E7B4A;
  --warning: #B8860B;
  --danger: #B42318;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Shape & depth */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(3, 27, 48, .06), 0 1px 3px rgba(3, 27, 48, .08);
  --shadow: 0 4px 12px rgba(3, 27, 48, .08), 0 2px 4px rgba(3, 27, 48, .05);
  --shadow-lg: 0 18px 40px rgba(3, 27, 48, .14), 0 6px 12px rgba(3, 27, 48, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Layout */
  --header-h: 76px;
  --container-max: 1240px;

  /* Bootstrap bridge */
  --bs-primary: var(--brand-primary);
  --bs-primary-rgb: 8, 75, 133;
  --bs-link-color: var(--brand-primary);
  --bs-link-color-rgb: 8, 75, 133;
  --bs-link-hover-color: var(--brand-primary-700);
  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--brand-light);
  --bs-border-color: var(--border);
  --bs-focus-ring-color: rgba(239, 111, 20, .45);
}
