/* =============================================================
   MALTIRA TYPE — one family, defined once

   Geologica, the face of the approved LinkedIn banner (matched
   against its wordmark glyph by glyph on 3 Oct 2026). One family
   carries everything from the wordmark to a table cell; hierarchy
   comes from weight and size, not from switching typefaces.

   Loaded from Google Fonts by each page's <link> (the CSP already
   allows it, and /privacy discloses it). Until it arrives, the
   fallback below is Arial resized to Geologica's measurements, so
   the swap does not reflow the page.

   A workspace's own look (presentation.js) may set --display and
   --text on the root element. Those are the customer's choice and
   win. --font-brand is never overridden: Maltira's own name is
   always drawn in Maltira's face.
   ============================================================= */
@font-face{
  font-family:"Geologica Fallback";
  src:local("Arial"),local("Helvetica Neue"),local("Helvetica");
  size-adjust:106%; ascent-override:92%; descent-override:26%; line-gap-override:0%;
}
:root{
  --font-brand:"Geologica","Geologica Fallback","Segoe UI",system-ui,-apple-system,sans-serif;
  /* For machine text only — a DNS record, a code to copy. Never a label. */
  --font-code:ui-monospace,SFMono-Regular,Consolas,Menlo,monospace;
  --display:var(--font-brand);
  --text:var(--font-brand);

  /* WEIGHT CALIBRATION
     Stylesheets keep the ordinary meanings — 400 reading text, 600 a
     label or button, 700 a heading — written as
     calc(600 + var(--fw-shift)). Geologica draws one step heavier than
     most faces (its 400 has the stem of a typical SemiBold; measured
     against Poppins, the brief's reference, 300 matches Regular and 500
     matches Medium-to-SemiBold), so with Maltira's face the step is
     taken back off. A workspace that chooses another face resets the
     shift for that role to 0 (presentation.js), so its fonts are drawn
     at exactly the weights they always were. */
  --fw-shift:-100;
  --fw-shift-display:-100;
}

/* The weights the browser would otherwise pick by itself. */
body,button,input,select,textarea{font-weight:calc(400 + var(--fw-shift))}
b,strong,th{font-weight:calc(700 + var(--fw-shift))}
h1,h2,h3,h4,h5,h6{font-weight:calc(700 + var(--fw-shift-display))}

/* The wordmark. Wherever "Maltira" is shown as the brand rather than
   written in a sentence: title case, as on the banner, never spaced
   capitals. Always Geologica, so its weight is the banner's own 500
   rather than a calibrated one. Size comes from the place it sits. */
.wordmark{font-family:var(--font-brand);font-weight:500;letter-spacing:-.02em;
          line-height:1;white-space:nowrap}
