/* Site fonts, set D (lane L526): the owner chose set D on the font preview of lane L524.
   Headings: Urbanist (Latin) with Athiti (Thai), light. Body and UI: Urbanist (Latin) with IBM Plex Sans Thai (Thai).
   Linked last on every Cresive and WizeHome page (after site.css, site-light.css and wizehome-system.css, because it sets
   heading weights over them). CresFlores keeps its own fonts: cresflores.css sets --cs-font-display/ui/mono from --cf-font-*
   and its pages never link this file, so the old faces in fonts.css stay for CresFlores.
   Readability: body text stays Regular 400, because both sites draw dark (even under a light system theme) and body text
   is 14 to 17px. Light 300 is used only for large headings. Thai body leading stays 1.65.
   Every family is unicode-range split, so a heading that mixes Thai and Latin takes Urbanist for Latin and Athiti for Thai.
   Fonts are SIL OFL 1.1 (fonts/urbanist/OFL.txt, fonts/athiti/OFL.txt, fonts/ibm-plex-sans-thai/OFL.txt). */

@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url('/assets/urbanist-latin-300-normal.8ed2ed0d3b49.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: 'Urbanist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/urbanist-latin-400-normal.526bab743f8a.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: 'Urbanist';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/urbanist-latin-500-normal.c45d13e9c1dc.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: 'Urbanist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/urbanist-latin-600-normal.0df215a774fa.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: 'Athiti';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url('/assets/athiti-thai-300-normal.2dcde2eff805.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Athiti';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/athiti-thai-500-normal.78a4bb6bc6f1.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/ibm-plex-sans-thai-thai-400-normal.2d66381c26d3.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/ibm-plex-sans-thai-thai-500-normal.7e01c133031a.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/ibm-plex-sans-thai-thai-600-normal.ea935955dc3b.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/assets/ibm-plex-sans-thai-thai-700-normal.0862e44c0076.woff2') format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

:root {
  --cs-font-display:      "Urbanist", "Athiti", system-ui, sans-serif;
  --cs-font-thai-display: "Urbanist", "Athiti", "IBM Plex Sans Thai", sans-serif;
  --cs-font-ui:           "Urbanist", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cs-font-thai:         "Urbanist", "IBM Plex Sans Thai", system-ui, sans-serif;
  /* Urbanist light is open and wide: the Playfair tracking (-0.067em) runs the letters together */
  --cs-tracking-heading:  -0.02em;
  /* Urbanist is stored at 300 to 600: a 700 request draws the real 600, never a smeared fake bold */
  font-synthesis-weight: none;
}

/* Large headings are light. The accent line was italic in Trirong and Playfair; neither Urbanist nor Athiti is stored
   in italic, so the accent stays upright and keeps its brand colour, one step heavier than the line beside it. */
.display, .wh-h1, .wh-h2, .page-about .name-word { font-weight: 300; }
.display em, .wh-h1 .ln-accent, .wh-h2 .ln-accent, .wh-foot-line em { font-style: normal; font-weight: 500; }
.wh-foot-line .ln { font-weight: 300; }
/* Small headings (19px and under) keep their semibold; the labels that were italic regular become upright Medium
   so they hold up on the dark background */
.wh-h3 .ln-accent, .path-index-label, .brand-cards .tile h3 { font-weight: 500; font-style: normal; }
.page-about .name-root, .page-about .name-part dt { font-style: normal; }
