:root {
  --type-display: clamp(2.75rem, 6vw, 6rem);
  --type-heading: clamp(1.375rem, 2.5vw, 2.5rem);
  --type-copy: 1rem;
  --type-art: Georgia, 'Songti SC', 'Noto Serif CJK SC', serif;
}

/* The page title, section titles and reading text share one scale across routes. */
body[data-route] main h1 {
  font-family: var(--type-art) !important;
  font-size: var(--type-display) !important;
  font-weight: 400 !important;
  line-height: 1.03 !important;
  letter-spacing: -.035em !important;
  overflow-wrap: anywhere;
}

body[data-route] main :is(h2, h3, h4, h5, h6, .study-story, .ft-ending, .ft-slogan) {
  font-family: var(--sans) !important;
  font-size: var(--type-heading) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  overflow-wrap: anywhere;
}

body[data-route] :is(
  main p:not(.study-story, .ft-ending, .ft-slogan),
  main li, main figcaption, main dt, main dd, main caption,
  main th, main td, main .eyebrow, main .ft-orbit-label,
  main .ft-stage-labels, main .cover-tagline, main .clip-numbers,
  header nav, footer
) {
  font-family: var(--sans) !important;
  font-size: var(--type-copy) !important;
  line-height: 1.5;
}

body[data-route] main :is(
  h1, h2, h3, h4, h5, h6, p, figcaption, dt, dd,
  .eyebrow, .pagehead, .case-head, .hero-intro, .study-story
) {
  text-align: start;
}

body[data-route] img {-webkit-touch-callout:none;-webkit-user-drag:none}
