/*
 * NeoGenomica brand manual layer (Guia de Identidade Visual V.1).
 * Owner request 15/11/2026: the whole site in harmony with the manual.
 * Loaded on every page after the Apple layer. Pinned by tests/utils/test_site_brand_manual.py.
 *
 * Type. The manual sets titles in Inter Light with bold italic emphasis. The site's main
 * Inter file (apple-base.css) carries weights 400-600 only, so this file adds the rest of
 * the same family: the light weights (100-399) and the italic, both Inter 4 (OFL, licence
 * in fonts/inter/OFL.txt). Browsers fetch them only when a page uses those weights.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 399;
  font-display: swap;
  src: url("../fonts/inter/Inter-Light-latin.4b73e2ff3024.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/Inter-Italic-latin.59036e902b79.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Light titles. Page titles and section titles (h1, h2) take Inter Light on every page of
 * the editorial and Apple systems. The navigation and footer column labels are h2 too and
 * keep their weight, as do small h2 used as card labels and screen-reader-only headings.
 */
body.neo-editorial-page :is(h1, h2):not(.gn-head):not(.ft-h):not(.text-xl):not(.text-lg):not(.sr-only) {
  font-weight: 300;
  /* The tight tracking the pages set for medium weights makes light letters touch. */
  letter-spacing: -0.012em;
  /* The light file keeps Inter's contextual alternates; the main file drops them so an "x"
     between digits never turns into a multiplication sign (docs/ASSET_CREDITS.md). */
  font-feature-settings: "calt" 0;
}

/* Emphasis inside a title is bold italic, as in the manual's headlines. */
body.neo-editorial-page :is(h1, h2):not(.gn-head):not(.ft-h) :is(strong, b) {
  font-weight: 600;
}

body.neo-editorial-page :is(em, i) {
  font-feature-settings: "calt" 0;
}
