/* MuseShift client deliverable — shared typographic foundation
   color-agnostic. loaded by every gated deliverable. fixes the rag. */

html{ -webkit-text-size-adjust:100%; text-size-adjust:100% }

body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-optical-sizing:auto;
  hanging-punctuation:first allow-end last;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
}

/* THE RAG: prevent orphans + short widow lines in running text */
p, li, blockquote, figcaption, dd{
  text-wrap:pretty;
}

/* balance multi-line display so both lines carry weight */
h1, h2, h3, h4,
.stitle, .lede, .ch-tt, .ci-t, .stitle b, .headline{
  text-wrap:balance;
}

/* optical sizing + refined tracking on variable display faces */
h1, h2, .stitle, .ch-tt b{
  font-optical-sizing:auto;
  letter-spacing:-.018em;
}

/* readable measure + leading for long-form prose blocks */
.section p, .intro, .close, .now p{
  max-width:64ch;
  line-height:1.62;
}

/* tabular/lining numerals in mono labels + oldstyle in body serif accents */
.kick, .slabel, .ci-label, .ch-ix, .ch-meta, .foot, .by{
  font-variant-numeric:tabular-nums;
}
em, .lede{
  font-variant-numeric:oldstyle-nums;
}

/* soften the first-letter-of-quote hang on pull lines */
.lede, blockquote{ hanging-punctuation:first last; }
