/* type.css - site-wide Fontshare type (2026-11-12).
   Satoshi = body / UI face, Clash Display = display / headings face, self-hosted, no CDN.
   Loaded LAST so the element rules below beat each shell's own base body/heading font by
   source order, while bespoke class-level headings (hero titles, section marks that set
   their own font-family) keep their identity. Also carries the shared motion credit line. */

@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/Satoshi-300.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/Satoshi-400.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/Satoshi-500.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/Satoshi-700.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/Satoshi-900.woff2) format("woff2"); }

@font-face { font-family: "Clash Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ClashDisplay-400.woff2) format("woff2"); }
@font-face { font-family: "Clash Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ClashDisplay-500.woff2) format("woff2"); }
@font-face { font-family: "Clash Display"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/ClashDisplay-600.woff2) format("woff2"); }
@font-face { font-family: "Clash Display"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/ClashDisplay-700.woff2) format("woff2"); }

:root {
  --ff-body: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display: "Clash Display", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  /* route every shell's font tokens through the new faces (names that do not exist are harmless) */
  --body: var(--ff-body);
  --font: var(--ff-body);
  --sans: var(--ff-body);
  --display: var(--ff-display);
}

/* base faces: element selectors loaded last beat each shell's own body/h rules by source order,
   but lose to any class-level font-family a page sets on a specific heading (kept on purpose) */
body { font-family: var(--ff-body); }
h1, h2, h3 { font-family: var(--ff-display); letter-spacing: 0; }

/* site accent: Coastal Midnight (owner's picked palette), used sparingly - the focus ring.
   Links/CTAs keep each shell's own treatment; this is the one shared accent touch. */
:root { --coastal: #6b92aa; --coastal-deep: #2d5b75; }
:focus-visible { outline-color: var(--coastal); }

/* shared motion / font credit line in the footer */
.j-credit { margin-top: 10px; font-size: 12.5px; line-height: 1.5; opacity: .62; max-width: 70ch; }
.j-credit a { text-decoration: underline; text-underline-offset: 2px; }

/* App pages: each app's own display face (owner's type system 2026-11-12, Fontshare, ITF Free Font Licence).
   Body stays Satoshi. Sculk Kola, Calcite Britney, Lapis Hoover, Sandstone Array, Garnet Alpino. */
@font-face { font-family: "Kola"; font-weight: 400; font-display: swap; src: url(/assets/fonts/Kola-Regular.woff2) format("woff2"); }
@font-face { font-family: "Britney"; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/Britney-Variable.woff2) format("woff2"); }
@font-face { font-family: "Hoover"; font-weight: 100 700; font-display: swap; src: url(/assets/fonts/Hoover-Variable.woff2) format("woff2"); }
@font-face { font-family: "Array"; font-weight: 400; font-display: swap; src: url(/assets/fonts/Array-Regular.woff2) format("woff2"); }
@font-face { font-family: "Array"; font-weight: 600; font-display: swap; src: url(/assets/fonts/Array-Semibold.woff2) format("woff2"); }
@font-face { font-family: "Array"; font-weight: 700 900; font-display: swap; src: url(/assets/fonts/Array-Bold.woff2) format("woff2"); }
@font-face { font-family: "Alpino"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/Alpino-Variable.woff2) format("woff2"); }
body.app-sculk { --ff-display: "Kola", "Satoshi", ui-sans-serif, system-ui, sans-serif; --display: var(--ff-display); font-synthesis: none; }
body.app-calcite { --ff-display: "Britney", "Satoshi", ui-sans-serif, system-ui, sans-serif; --display: var(--ff-display); }
body.app-lapis { --ff-display: "Hoover", "Satoshi", ui-sans-serif, system-ui, sans-serif; --display: var(--ff-display); }
body.app-sandstone { --ff-display: "Array", "Satoshi", ui-sans-serif, system-ui, sans-serif; --display: var(--ff-display); }
body.app-garnet { --ff-display: "Alpino", "Satoshi", ui-sans-serif, system-ui, sans-serif; --display: var(--ff-display); }