/* Public type roles. Keep identities large; use a shared scale for editorial and UI text. */
:root {
  --type-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --type-lead: 38px;
  --type-section: 24px;
  --type-subhead: 20px;
  --type-body: 22px;
  --type-quote: 28px;
  --type-name: 24px;
  --type-nav: 16px;
  --type-action: var(--type-nav);
  --type-caption: var(--type-nav);
  --type-label: var(--type-nav);
  --type-menu: 32px;
  --type-primary: #f2f0ea;
  --type-reading: rgba(242, 240, 234, .88);
  --type-secondary: #aaa9a4;
  --discipline-dance: #f49c91;
  --discipline-film: #c4adf1;
  --discipline-music: #e7c76a;
  --discipline-theatre: #8fcce9;
  --discipline-visual: #9bcea7;
}

html body .artist-bio-meta [data-discipline="Dance"] { --discipline-color: var(--discipline-dance); }
html body .artist-bio-meta :is([data-discipline="Film / Video"], [data-discipline="Film/Video"]) { --discipline-color: var(--discipline-film); }
html body .artist-bio-meta [data-discipline="Music"] { --discipline-color: var(--discipline-music); }
html body .artist-bio-meta [data-discipline="Theatre"] { --discipline-color: var(--discipline-theatre); }
html body .artist-bio-meta [data-discipline="Visual Arts"] { --discipline-color: var(--discipline-visual); }
html body .artist-bio-meta [data-discipline] {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--discipline-color, var(--type-primary));
  color: #000;
  white-space: nowrap;
}

html body {
  font-family: var(--type-family);
}

html body :is(h1, h2, h3, h4, p, blockquote, cite, figcaption, a, button, input, summary, label) {
  letter-spacing: 0;
}

/* Main editorial introductions share the approved About treatment. */
html body :is(.award-opening, .panelists-introduction,
  .residencies-exchange > p, .residency-prizes-copy > p) {
  font-family: var(--type-family);
  font-size: var(--type-lead) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  color: var(--type-reading);
  text-wrap: pretty;
}

html body .panelists-introduction p { color: inherit; }

html body .artist-feature.is-organic-prototype .annie-profile-intro.is-readable-bio-preview p {
  font-family: var(--type-family);
  font-size: var(--type-body) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  color: var(--type-reading);
}

/* Section titles, then smaller subheadings; preserve the index toolbar height. */
html body :is(.award-history h2, .review-section-heading,
  .award-films summary, #image-credits h2, .annie-section-title,
  .annie-inline-archive-title, .annie-statement-chapter, .feature-section-title) {
  font-family: var(--type-family);
  font-size: var(--type-section);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--type-primary);
}

html body .archive-page:not(.is-feature-open):has(.artist-field.is-index) .artist-index-heading {
  font-size: var(--type-section);
  font-weight: 600;
}

html body.panelists-index-page .panelists-heading {
  font-size: var(--type-section);
  font-weight: 600;
  line-height: 44px;
}

html body :is(.annie-statement-speaker, .annie-interview-note-label,
  .annie-archive-subheading, .contact-newsletter > label) {
  font-family: var(--type-family);
  font-size: var(--type-subhead);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Long-form reading, FAQs and historical notes are quieter than introductions. */
html body :is(.award-history li p, .award-faq-list p, #image-credits p,
  .annie-statement-reading > p, .annie-inline-archive-reading > p,
  .annie-statement-quotation, #not-found-content section > p:not(.eyebrow)) {
  font-family: var(--type-family);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--type-reading);
  text-wrap: pretty;
}

html body :is(.award-faq-list summary, .annie-statement-question) {
  font-family: var(--type-family);
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

html body :is(.award-faq-content h2, .contact-email) {
  font-family: var(--type-family);
  font-size: var(--type-lead);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

/* Names in all three directories are the same role, separate from hero identities. */
html body .archive-page .artist-field.is-index .node-meta strong,
html body.panelists-index-page .panelist-index-name,
html body .recipient-name {
  font: 500 var(--type-name)/1.2 var(--type-family) !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  text-transform: none !important;
}

html.integrated-footer-preview body .annie-profile-bottom-nav button,
html.integrated-footer-preview body .site-footer-name,
html.integrated-footer-preview body .site-footer :is(a, button),
html body .annie-profile-links :is(a, button),
html body :is(.shared-archive-header .main-nav a,
  .shared-archive-header .archive-menu-toggle, .artist-home-link,
  .archive-header-view-button, .panelist-mode-controls button,
  .annie-materials-tabs button, .search-simple-form #close-search) {
  font-family: var(--type-family);
  font-size: var(--type-nav) !important;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  font-style: normal;
  text-transform: none;
  color: var(--type-primary);
}

html body .shared-archive-header .archive-mobile-menu a {
  font-family: var(--type-family);
  font-size: var(--type-menu);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

html body :is(.annie-viewer-nav, .residency-viewer-controls button,
  .annie-statement-back,
  .residency-prize-list-link, .recipient-utilities, .award-films li a,
  .contact-newsletter button, .landing-media .landing-entry-label,
  #not-found-content .actions a) {
  font-family: var(--type-family);
  font-size: var(--type-action);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

html body :is(.artist-bio-meta, .preview-meta, .archive-index-corner-meta,
  .panelist-hover-meta, .panelist-hover-meta .panelist-hover-profession,
  .recipient-context, .annie-inline-archive-meta, .annie-archive-context,
  .annie-statement-attribution, .annie-statement-citation,
  .index-letter, .panelist-letter, .recipient-year h2) {
  font-family: var(--type-family);
  font-size: var(--type-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

html body :is(.award-history time, .artist-bio-meta time, .preview-year, .recipient-year h2) {
  font-variant-numeric: tabular-nums;
}
html body .award-history time {
  font-size: var(--type-body);
  font-weight: 500;
  line-height: 1.5;
}

html body :is(.award-archive-image figcaption, .residency-hero-media figcaption,
  .residency-film-index figcaption, .annie-media-caption, .annie-viewer-caption,
  .annie-viewer-details, .reviewed-caption-credit, .residency-viewer-caption,
  .artist-closing-quote cite, .contact-newsletter > p) {
  font-family: var(--type-family);
  font-size: var(--type-caption);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--type-secondary);
}

/* Profile layouts have more specific legacy selectors than the document pages. */
html body .artist-feature.is-organic-prototype :is(.annie-media-caption,
  .annie-primary-media figcaption, .annie-viewer-caption, .annie-viewer-details) {
  font: 400 var(--type-caption)/1.5 var(--type-family) !important;
  letter-spacing: 0;
}
html body .artist-feature.is-organic-prototype .annie-inline-archive-reading {
  font: 400 var(--type-body)/1.5 var(--type-family);
}
html body .artist-feature.is-organic-prototype .annie-inline-archive-reading :is(
  .annie-statement-chapter, .annie-statement-question) {
  font: 600 var(--type-section)/1.35 var(--type-family);
}
html body .artist-feature.is-organic-prototype .annie-inline-archive-reading :is(
  .annie-statement-speaker, .annie-archive-subheading) {
  font: 600 var(--type-subhead)/1.3 var(--type-family);
}
html body .artist-feature.is-organic-prototype .annie-inline-archive-reading :is(
  .annie-statement-attribution, .annie-statement-citation, .annie-archive-context) {
  font: 400 var(--type-caption)/1.5 var(--type-family);
}
html body .artist-feature.is-organic-prototype .annie-inline-archive-reading .annie-statement-quotation {
  font: 400 var(--type-quote)/1.4 var(--type-family);
}

html body .artist-closing-quote blockquote {
  font-family: var(--type-family);
  font-size: var(--type-lead);
  font-weight: 500;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--type-reading);
}

html body :is(.search-panel-simple .search-input, .contact-newsletter input) {
  font-family: var(--type-family);
  font-size: var(--type-section);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}
html body .search-suggestion {
  font-family: var(--type-family);
  font-size: var(--type-body);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

html body #not-found-content h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
}
html body #not-found-content :is(.eyebrow, footer) {
  font: 500 var(--type-caption)/1.5 var(--type-family);
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1200px) {
  :root { --type-lead: 34px; }
}
@media (max-width: 760px) {
  :root {
    --type-body: 18px;
    --type-section: 22px;
    --type-subhead: 18px;
    --type-quote: 24px;
  }
}
@media (max-width: 600px) {
  :root { --type-lead: 28px; }
}

html.quote-hidden-preview body .artist-closing-quote { display: none; }

html body .annie-materials-viewer {
  padding: 80px 26px 120px;
}
html body .annie-materials-viewer .annie-statement-name {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  max-width: 100%;
  margin: 0 0 40px;
  overflow-wrap: anywhere;
}
html body .annie-materials-viewer .annie-statement-content {
  width: min(100%, 700px);
  margin: 0;
  padding: 0;
}
@media (max-width: 760px) {
  html body .annie-materials-viewer { padding: 72px 20px 140px; }
  html body .annie-materials-viewer .annie-statement-name { margin-bottom: 28px; }
}

/* Opt-in quote study; the published typography remains the default. */
html.quote-statement-preview body .artist-closing-quote {
  position: relative;
  left: 50%;
  width: min(840px, calc(100vw - 40px));
  max-width: none;
  margin-top: 112px;
  transform: translateX(-50%);
}
html.quote-statement-preview body .artist-closing-quote blockquote {
  font-size: 46px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.16;
  color: rgba(242, 240, 234, .92);
}
html.quote-statement-preview body .artist-closing-quote cite {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 760px) {
  html.quote-statement-preview body .artist-closing-quote { margin-top: 72px; }
  html.quote-statement-preview body .artist-closing-quote blockquote { font-size: 32px; }
}

@media (max-width: 760px) {
  html body .artist-feature.is-organic-prototype .annie-media-sequence .annie-media-caption {
    font: 500 16px/1.4 var(--type-family) !important;
    color: var(--type-primary);
  }
  html body .artist-feature .annie-media-caption .reviewed-caption-title {
    font: inherit;
    color: var(--type-primary);
  }
  html body .artist-feature .annie-media-caption .reviewed-caption-credit {
    margin-top: 6px;
    font: 400 14px/1.45 var(--type-family);
    color: #b8b8b8;
  }
  html body .artist-feature .annie-media-caption .reviewed-caption-credit:first-child {
    margin-top: 0;
  }
}

/* One small-text role across navigation, utilities, metadata and captions. */
html body :is(
  .shared-archive-header .main-nav a, .archive-menu-toggle, .artist-home-link,
  .archive-header-view-button, .panelist-mode-controls button,
  .annie-profile-bottom-nav button, .annie-profile-links a, .annie-profile-links button,
  .annie-materials-tabs button, .annie-statement-back, .annie-viewer-nav,
  .annie-viewer-nav button, .residency-viewer-controls button,
  .site-footer-name, .site-footer a, .site-footer button,
  .search-simple-form #close-search, .residency-prize-list-link, .recipient-utilities,
  .award-films li a, .contact-newsletter button, .contact-newsletter > p,
  .landing-entry-label, #not-found-content .actions a, #not-found-content .eyebrow,
  .artist-bio-meta, .artist-bio-meta time, .artist-bio-meta [data-discipline],
  .preview-meta, .preview-year, .archive-index-corner-meta,
  .panelist-hover-meta, .panelist-hover-profession, .recipient-context,
  .annie-inline-archive-meta, .annie-archive-context, .annie-statement-attribution,
  .annie-statement-citation, .index-letter, .panelist-letter, .recipient-year h2,
  .award-archive-image figcaption, .residency-hero-media figcaption,
  .residency-film-index figcaption, .annie-media-caption, .annie-primary-media figcaption,
  .annie-viewer-caption, .annie-viewer-details, .residency-viewer-caption,
  .reviewed-caption-title, .reviewed-caption-credit
) {
  font: 500 var(--type-nav)/1.25 var(--type-family) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--type-primary);
}
html body .artist-bio-meta [data-discipline] { color: #000 !important; }

/* Supporting information stays quieter without introducing another type style. */
html body :is(.annie-profile-links a, .annie-profile-links button,
  .award-archive-image figcaption, .residency-hero-media figcaption,
  .residency-film-index figcaption, .annie-media-caption, .annie-primary-media figcaption,
  .annie-viewer-caption, .annie-viewer-details, .residency-viewer-caption,
  .reviewed-caption-title, .reviewed-caption-credit) {
  color: var(--type-secondary) !important;
}
html body .annie-profile-links :is(a, button):is(:hover, :focus-visible) {
  color: var(--type-primary) !important;
}
