/* November 2026 type for the four static case-study pages.
   Loaded LAST in each page's <head>, so it wins over the page's own styles
   without touching them. The pages keep their dark ground; only the type
   moves to the brand: Adelle headings in sentence case, Tablet Gothic body.
   Adelle and Tablet Gothic come from the Adobe Fonts kit (the same kit as
   the rest of the site); until it lists brainbuddy.ai, Bitter and Archivo
   stand in. */

:root {
  --bb-display: "adelle", "Bitter", Georgia, "Times New Roman", serif;
  --bb-body: "tablet-gothic", "Archivo", "Helvetica Neue", Arial, sans-serif;
}

body { font-family: var(--bb-body); font-feature-settings: "lnum" 1; }

h1, h2, h3, h4,
h1.title, h2.title {
  font-family: var(--bb-display) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: -0.012em !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}
h3, h4 { font-weight: 600 !important; line-height: 1.15 !important; }

/* The small capital labels (eyebrows, table heads, the disclaimer heading)
   stay as they are: labels are the one place capitals belong. */
.disclaimer h3 {
  font-family: var(--bb-body) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
}

/* Phones (20 Nov 2026): the charts are drawn 720 units wide, so on a phone their
   numbers and month labels shrank to about 4 pixels tall. Under 600px the chart
   card gives the drawing nearly its full width and the chart's own text is set
   larger, so it lands at roughly 11 to 13 pixels on screen. Sizes here are in
   the drawing's units, not screen pixels. */
@media (max-width: 600px) {
  /* A figure keeps the browser's own 40px side margins unless told otherwise. */
  .figure { margin-inline: 0; padding: 14px 8px 16px; }
  .figure figcaption { padding-inline: 6px; }
  .chart { overflow: visible; }
  .chart text { font-size: 22px; letter-spacing: 0; }
  .chart .tick { font-size: 24px; }
  /* The larger month labels sit a little lower, clear of the bottom number on the scale. */
  .chart .barcat { font-size: 25px; transform: translateY(9px); }
  .chart .barval { font-size: 30px; }
  .chart .mult { font-size: 34px; }
}
