/* ORBINTU global type system (2026-09-26) — every public page. Loaded after type/orbitu-type.css (the kit).
   Display statements: <orbitu-pixel-heading> (canvas, source font Libre Caslon Display) inside the page's real h1/h2.
   Everything else: Pixelify Sans via the tokens in orbintu/base.css (tools_orbintu/gen_base_css.py). */

/* pixel headings */
orbitu-pixel-heading { display: block; width: 100%; }
/* the kit caps the element at min(100%, 1000px) and centres it (margin: 0 auto): in any column wider than 1000px that pushed
   left-aligned headings ~150px right of their own chip and copy. Inside a heading element the canvas decides alignment itself. */
.ob-pxh .orbitu-pixel-heading { width: 100%; max-width: var(--measure-display, 880px); margin: 0; }   /* one display measure (layout.css) */
.ob-endcta .ob-pxh .orbitu-pixel-heading, [style*="text-align:center"] .ob-pxh .orbitu-pixel-heading { margin-inline: auto; }
.ob-pxh.ob-bigneq .orbitu-pixel-heading, .ob-pxh.ob-vstate .orbitu-pixel-heading { max-width: none; }   /* Trust's two oversized statements run wide by design */
/* the canvas draws with the element's inherited font settings: isolate it from the page's font-size-adjust so the kit's glyph
   geometry is exact everywhere (the heading/body roles use font-size-adjust to keep Pixelify at the old optical size) */
orbitu-pixel-heading, orbitu-pixel-heading canvas { font-size-adjust: none; }   /* letter-spacing stays inherited: part of the approved look */
:is(h1, h2, h3).ob-pxh.ob-pxh { font-family: var(--font-interface); filter: none; text-shadow: none;                /* the canvas carries the kit's 3px shadow */
  display: block; justify-self: stretch; align-self: stretch; width: 100%; max-width: none; }   /* its old grid/flex was for DOM spans                 /* span the column: the canvas sizes itself to it (legacy ch caps no longer apply) */
.ob-pxh orbitu-pixel-heading canvas { max-width: none; }
/* JS off / before upgrade / no canvas: the heading stays readable, in the interface face (never a smooth serif) */
orbitu-pixel-heading:not(:defined), .orbitu-pixel-fallback { display: block; font-family: var(--font-interface); line-height: 1.1; white-space: normal; }

/* reading rhythm: long copy stays in Pixelify, comfortable through the existing size / leading / measure (verified 2026-09-26:
   legal 16.5px / 1.75 / ≈76ch desktop, ≈44ch phone; Trust + Developers body 60–67ch at 1.5–1.65). No second face. */
