/* site2 fixes over today's live stylesheets (go.md quality bar), loaded last on every Ghost-served page. Each one fixes
   a failure the browser gates found on the live site too (14 Nov 2026). The build names the served file by its hash. */

/* 1. Grey text on the cream page was #697782 (4.3:1); WCAG AA needs 4.5:1. #5f6c77 gives 5.0:1 on the page and 4.7:1
      on the footer cream. */
body.ar-page, body.ar-home { --ar-soft: #5f6c77; }

/* 2. Article pages use a light footer (aibio-article.css), but some of its text kept the colours of the dark footer:
      white on cream (1.2:1). */
/*    Only the light lower part: the site map above it (.botbar) keeps its navy band and light links. */
.ar-page footer .wrap.grid .bb-mark, .ar-page footer .wrap.grid .wordmark { color: var(--ar-ink, #172a3a); }
.ar-page footer .wrap.grid a { color: var(--ar-ink, #172a3a); }
.ar-page footer #credits, .ar-page footer #credits a { color: var(--ar-soft) !important; }   /* beats its inline colour */

/* 3. The header is fixed and a script sizes its spacer after loading, which pushed the page down by the header's height
      (layout shift 0.12 on a phone profile). The spacer now starts at the header's height for each layout. */
.head-slot { height: 95px; }
body.ar-home .head-slot { height: 97px; }
@media (min-width: 760px) { .head-slot, body.ar-home .head-slot { height: 109px; } }
@media (min-width: 1100px) { .head-slot, body.ar-home .head-slot { height: 73px; } }

/* 4. Keyboard focus was hidden under the fixed header (WCAG 2.4.11): scroll focused items clear of it. */
html { scroll-padding-top: 120px; }

/* 6. Main content under 2.5 s on a phone: with font-display "swap" the text was drawn again when the web fonts arrived
      (about 3 s on a slow phone connection), and that late redraw counted as the main paint. "optional" keeps the first
      drawing; the fonts (preloaded in the head) are used whenever they are already there, as on every later page.
      The same faces as site.css, declared last, so these rules win. */
@font-face { font-family: "Newsreader"; font-weight: 200 800; font-style: normal; font-display: optional;
  src: url(/assets/fonts/newsreader-latin-opsz-normal.89196f02e4.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 200 800; font-style: italic; font-display: optional;
  src: url(/assets/fonts/newsreader-latin-opsz-italic.5f4c501ec1.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-style: normal; font-display: optional;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); }

/* 5. Ticker chips in story lists were 22px tall (WCAG 2.5.8 asks 24px). */
.meta .tick, .tchips .tick { display: inline-flex; align-items: center; min-height: 24px; }
