/* ==================================================
   Premium typography layer
   Plus Jakarta Sans (headings, menu, buttons) + DM Sans (body)
   Loaded after style.css; remove its <link> in views/partials/head.ejs to revert.
   The logo wordmark (Cinzel) and icon fonts are not touched.
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..800;1,9..40,300..800&family=Plus+Jakarta+Sans:ital,wght@0,400..800;1,400..800&display=swap');

/* theme variables are declared on `*` in style.css, so override them the same way */
* {
  --body-font: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --body-font-color: #4b5565;
  --heading-font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --heading-font-weight: 700;
  --heading-font-color: #0b1b33;
  --h1-letter-spacing: -0.035em;
  --h2-letter-spacing: -0.03em;
  --h3-letter-spacing: -0.015em;
  --h4-letter-spacing: -0.01em;
  --h5-letter-spacing: -0.005em;
  --mainmenu-font: var(--heading-font);
  --mainmenu-font-weight: 600;
  --btn-font-family: var(--heading-font);
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.01em;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--body-font);
  font-optical-sizing: auto;
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--heading-font);
  font-feature-settings: "ss01", "liga";
  text-wrap: balance;
}

/* big hero titles: heavier and tighter for a crafted look */
h1 {
  font-weight: 800;
  line-height: 1.02;
}

h2 {
  line-height: 1.12;
}

h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

/* body copy: a touch heavier than the old light weights, easier to read */
p,
li,
.lead {
  font-weight: 400;
  text-wrap: pretty;
}

.lead {
  font-size: 18px;
  line-height: 1.75;
}

/* small eyebrow labels above headings */
.subtitle {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

/* menu, buttons, breadcrumbs, form controls */
#mainmenu a,
.btn-main,
a.btn-main,
.crumb,
.form-control,
button,
input,
textarea,
select {
  font-family: var(--heading-font);
}

.form-control,
input,
textarea,
select {
  font-family: var(--body-font);
}

/* numbers line up nicely in stats and contact details */
.topbar-widget,
.fs-40,
.fs-60 {
  font-variant-numeric: tabular-nums;
}

/* keep the logo wordmark in its brand font */
header div#logo .brand-logo-text {
  font-family: "Cinzel", Georgia, serif;
}
