/*
 * style.css: the site's only stylesheet, loaded after Bootstrap 5.3.8.
 * Rules: D-003. Layout and components come from Bootstrap. This file only
 * loads the brand font, sets Bootstrap's theme variables and adds a few
 * dv-* classes where no Bootstrap utility exists.
 * Brand colours: ink #111214, navy #1F3A5F.
 */

/* 1. Font (self-hosted, D-004) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-wght-normal.woff2") format("woff2");
}

/* 2. Bootstrap theme variables */
:root {
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: #111214;
  --bs-body-color-rgb: 17, 18, 20;
  --bs-emphasis-color: #111214;
  --bs-emphasis-color-rgb: 17, 18, 20;
  --bs-link-color: #1f3a5f;
  --bs-link-color-rgb: 31, 58, 95;
  --bs-link-hover-color: #16293f;
  --bs-link-hover-color-rgb: 22, 41, 63;
  --bs-primary: #1f3a5f;
  --bs-primary-rgb: 31, 58, 95;
  --bs-primary-text-emphasis: #1f3a5f;
  --bs-primary-bg-subtle: #eef3fa;
  --bs-primary-border-subtle: #c9d9ee;
  --bs-tertiary-bg: #f6f7f8;
  --bs-tertiary-bg-rgb: 246, 247, 248;
}

/* 3. dv-* additions */
.dv-display {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Square icon tile: Bootstrap has no fixed-size utility below 25%. */
.dv-icon-tile {
  width: 3rem;
  height: 3rem;
}

/* Keeps section headings clear of the sticky header when reached by #anchor. */
[id] {
  scroll-margin-top: 5rem;
}
