/*
 * Theme design tokens — the single place to change brand colours, fonts and radii.
 * Loaded after Bootstrap and before site.css. Contains tokens only, no layout rules.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/inter/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  /* Brand */
  --color-navy: #13233a;          /* Header, footer, dark panels */
  --color-navy-light: #1b3554;    /* Hero and page header background */
  --color-navy-dark: #0d1a2c;     /* Hover state for navy buttons, footer bottom */
  --color-gold: #c9a45c;          /* Accent: primary actions, eyebrows, borders */
  --color-gold-dark: #a8853f;     /* Hover state for gold buttons */
  --color-gold-text: #8a6a2c;     /* Gold for small text on white (meets WCAG AA contrast) */
  --color-gold-soft: #f6efe1;     /* Subtle gold tint for icon backgrounds */

  /* Neutrals */
  --color-white: #ffffff;
  --color-body-bg: #ffffff;
  --color-muted-bg: #f3f4f6;      /* Alternate section background */
  --color-text: #1f2933;          /* Body text */
  --color-text-muted: #556070;    /* Secondary text */
  --color-text-on-dark: #d6dde7;  /* Body text on navy */
  --color-border: #e1e5ea;

  /* States */
  --color-success: #1e7e4a;
  --color-error: #b42318;
  --color-focus: #c9a45c;

  /* Typography */
  --font-family-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-weight-heading: 750;

  /* Shape and depth */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(19, 35, 58, 0.06), 0 1px 3px rgba(19, 35, 58, 0.08);
  --shadow-md: 0 10px 30px -12px rgba(19, 35, 58, 0.25);
  --shadow-lg: 0 24px 50px -20px rgba(19, 35, 58, 0.45);
  --transition: 0.2s ease;

  /* Map Bootstrap to the brand tokens */
  --bs-body-font-family: var(--font-family-base);
  --bs-body-color: var(--color-text);
  --bs-body-bg: var(--color-body-bg);
  --bs-primary: var(--color-navy);
  --bs-primary-rgb: 19, 35, 58;
  --bs-link-color: var(--color-navy-light);
  --bs-link-color-rgb: 27, 53, 84;
  --bs-link-hover-color: var(--color-gold-text);
  --bs-link-hover-color-rgb: 138, 106, 44;
  --bs-border-color: var(--color-border);
  --bs-border-radius: var(--radius);
  --bs-border-radius-sm: var(--radius-sm);
  --bs-border-radius-lg: var(--radius);
  --bs-success: var(--color-success);
  --bs-danger: var(--color-error);
  --bs-form-invalid-color: var(--color-error);
  --bs-form-invalid-border-color: var(--color-error);
  --bs-focus-ring-color: rgba(201, 164, 92, 0.45);
}
