/* Shared screen typography for the institutional pages. The cover and the
   printed biographies have separate compositions. Use the home gutter here. */
body:not(.vf2-home) {
  --fs-page-face: Aventa, FS-Aventa, Arial, sans-serif;
  --fs-page-gutter: clamp(1.25rem, 5.65vw, 5.5rem);
  --fs-page-width: 94.375rem;
  --fs-page-title: clamp(2.125rem, 4vw, 3rem);
  --fs-section-title: clamp(1.5rem, 2.55vw, 2.3125rem);
  --fs-entry-title: clamp(1.1875rem, 1.65vw, 1.5625rem);
  --fs-body: clamp(1rem, .95rem + .14vw, 1.0625rem);
  --fs-section-space: clamp(2.5rem, 5.25vw, 5rem);
  --fs-row-space: clamp(1.125rem, 1.6vw, 1.5rem);
  margin: 0;
}

body:not(.vf2-home) main {
  font-family: var(--fs-page-face);
  font-size: var(--fs-body);
  line-height: 1.58;
}
body:not(.vf2-home) main :is(h1, h2, h3, h4, button, input, textarea, select) {
  font-family: var(--fs-page-face);
}
body:not(.vf2-home) main h1 {
  font-size: var(--fs-page-title);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
body:not(.vf2-home) main :is(h2, h3) {
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.18;
}
body:not(.vf2-home) main :is(h1, h2, h3) strong {
  font-weight: inherit;
}

/* Section headings have more room than a name, accordion or archive title. */
body:not(.vf2-home) main :is(.matter-band > h2, .vf2-emphasis, .vf2-bio-block h2,
    .about-split > h2, .careers-form > h2, .careers-story h2,
    .fs-publications-archive-heading h2, .archive-heading h2, .fs-section-title,
    .fs-publication-prose h2),
body:not(.vf2-home) main.fs-print-profile section h2 {
  font-size: var(--fs-section-title);
}
body:not(.vf2-home) main :is(.matter-xp h3, .vf2-row h3, .fs-publication-row h3,
    .fs-reading-card h3, .fs-reading-card h2, .fs-knowledge-topic-card h2,
    .fs-publication-prose h3, .fs-search-results h2) {
  font-size: var(--fs-entry-title);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.025em;
}
body:not(.vf2-home) main :is(.vf2-wrap, .vf2-practice-wrap, .vf2-team-width,
    .fs-home-wrap, .fs-container, .directory-inner),
body.fs-error-page main.vf2-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--fs-page-width);
  padding-inline: var(--fs-page-gutter);
  margin-inline: auto;
}

/* Give each chapter an opening and a consistent interval between sections. */
body:not(.vf2-home) main :is(.vf2-title, .vf2-practice-opening, .vf2-team-title,
    .fs-publication-opening, .careers-opening, .about-dark, .vf2-band,
    .fs-publications-archive, .fs-publication-related, .directory-inner) {
  padding-block: var(--fs-section-space);
}
body:not(.vf2-home) main :is(.about-hero, .vf2-bio-width) {
  padding-block: clamp(2rem, 4vw, 4rem) var(--fs-section-space);
}
body:not(.vf2-home) main .matter-paper {
  padding-block: var(--fs-section-space) 1rem;
}
body:not(.vf2-home) main .matter-band + .matter-band {
  padding-block: var(--fs-section-space);
}
body:not(.vf2-home) main :is(.matter-xp li, .matter-reads li, .vf2-row) {
  padding-block: var(--fs-row-space);
}
body:not(.vf2-home) main .vf2-bio-block:not(.vf2-bio-intro) {
  padding-block: clamp(1.5rem, 2.75vw, 2.75rem);
}
body:not(.vf2-home) main :is(.matter-prose, .matter-xp p, .matter-fold p,
    .about-copy p, .about-intro, .careers-intro, .vf2-bio-block p, .fs-publication-prose) {
  font-size: var(--fs-body);
  line-height: 1.62;
}
body:not(.vf2-home) main .fs-publication-prose { max-width: 68ch; line-height: 1.72; }
body:not(.vf2-home) main .fs-publication-prose p { margin-block: 0 1.2em; }
body:not(.vf2-home) main .fs-publication-prose strong { font-weight: 600; }
body:not(.vf2-home) main .fs-publication-opening h1 { max-width: 38ch; }
body:not(.vf2-home) main .vf2-bio-block p.text-sm { font-size: .9375rem; }
body:not(.vf2-home) main .careers-fields :is(input, select, textarea) { font-size: 1rem; }

@media (max-width: 47.5rem) {
  body:not(.vf2-home) main .matter-band { row-gap: 1.375rem; }
  body:not(.vf2-home) main .careers-opening { row-gap: 2.25rem; }
  body:not(.vf2-home) main .vf2-bio-header h1 {
    /* Narrower than a full-width heading because it shares the row with a portrait. */
    font-size: clamp(1.75rem, 7.4vw, 2.125rem);
  }
}
