/* Fit-word rise: a word or name set on one line at exactly the width of its parent's content box (font-size
   solved in JS, re-solved on resize and when fonts load), whose letters rise one by one out of their own masks
   when it scrolls into view. Timings: data- attributes, see part.js. */
.fwr {
  --fwr-line: 1;
  --fwr-tracking: -.02em;
  --fwr-mask-pad: .14em;          /* room below the baseline inside each letter's mask, so descenders aren't cut */

  display: inline-block;
  white-space: nowrap;
  line-height: var(--fwr-line);
  letter-spacing: var(--fwr-tracking);
  font-size: 10vw;                 /* first guess before the fit (source: 10vw) */
}
.fwr__c { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: var(--fwr-mask-pad); margin-bottom: calc(-1 * var(--fwr-mask-pad)); }
.fwr__c > span { display: inline-block; will-change: transform; }
.fwr__s { white-space: pre; }
html.fwr-js .fwr:not(.is-done) .fwr__c > span { transform: translateY(100%); }
