/*
 * Build-only Noyan Worldwide typography layer.
 * Keep structure, sizing, weights, color, and spacing in each approved page.
 */
:root {
  --nw-type-body: "Inter", sans-serif;
  --nw-type-display: "DM Serif Display", Georgia, serif;
  --app-font-sans: "Inter", sans-serif;
  --app-font-serif: "DM Serif Display", Georgia, serif;
  --dd-font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Inter", sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
}

/* Body copy, controls, navigation, and labels. The ID branch gives this shared
   layer enough specificity to replace the exported site's scoped font rules. */
html body :is(#noyan-home-export, #noyan-site-chrome, #noyan-haven, #lab-page, #root, #app, body)
  :is(p, a, button, input, select, textarea, label, li, dt, dd, small, strong, em, span, div, nav, footer, header, section, article, blockquote, figcaption),
html body :is(p, a, button, input, select, textarea, label, li, dt, dd, small, strong, em, span, div, nav, footer, header, section, article, blockquote, figcaption) {
  font-family: var(--nw-type-body) !important;
}

/* Headings, including headings with nested spans/emphasis, use the display face. */
html body :is(#noyan-home-export, #noyan-site-chrome, #noyan-haven, #lab-page, #root, #app, body)
  :is(h1, h2, h3, h4, h5, h6),
html body :is(h1, h2, h3, h4, h5, h6),
html body :is(#noyan-home-export, #noyan-site-chrome, #noyan-haven, #lab-page, #root, #app, body)
  :is(h1, h2, h3, h4, h5, h6) *,
html body :is(h1, h2, h3, h4, h5, h6) * {
  font-family: var(--nw-type-display) !important;
}

/* Existing editorial/display treatments are explicitly preserved as display
   text; ordinary spans and divs remain Inter. */
html body :is(#noyan-home-export, #noyan-site-chrome, #noyan-haven, #lab-page, #root, #app, body)
  :is(.serif, .display, .dil-display, [class~="font-serif"], .art-caption, .lede, .statement p, .recognition p:last-child, .hour-list strong, .after-session p:last-child, .quote-block blockquote, .qa-item dt, .closing p, .assessment-statement, .dil-brand-name, .dil-hero-subtitle, .dil-photo-label, .dil-talk-subtitle, .dil-development p:nth-child(2), .dil-engagement-end, .dil-video-card-middle, .dil-quote-mark, .dil-quotes blockquote, .dil-footer-brand strong, .haven-permission-statement, .haven-recognition blockquote, .haven-day-number, .haven-guide-mark, .haven-orbit-center, .haven-call-dates b, .noyan-brand strong),
html body :is(#noyan-home-export, #noyan-site-chrome, #noyan-haven, #lab-page, #root, #app, body)
  :is(.serif, .display, .dil-display, [class~="font-serif"], .art-caption, .lede, .statement p, .recognition p:last-child, .hour-list strong, .after-session p:last-child, .quote-block blockquote, .qa-item dt, .closing p, .assessment-statement, .dil-brand-name, .dil-hero-subtitle, .dil-photo-label, .dil-talk-subtitle, .dil-development p:nth-child(2), .dil-engagement-end, .dil-video-card-middle, .dil-quote-mark, .dil-quotes blockquote, .dil-footer-brand strong, .haven-permission-statement, .haven-recognition blockquote, .haven-day-number, .haven-guide-mark, .haven-orbit-center, .haven-call-dates b, .noyan-brand strong) *,
html body #lab-page :is(.lede, .statement p, .drop::first-letter),
html body :is(.serif, .display, .dil-display, [class~="font-serif"], .art-caption, .lede, .statement p, .recognition p:last-child, .hour-list strong, .after-session p:last-child, .quote-block blockquote, .qa-item dt, .closing p, .assessment-statement, .dil-brand-name, .dil-hero-subtitle, .dil-photo-label, .dil-talk-subtitle, .dil-development p:nth-child(2), .dil-engagement-end, .dil-video-card-middle, .dil-quote-mark, .dil-quotes blockquote, .dil-footer-brand strong, .haven-permission-statement, .haven-recognition blockquote, .haven-day-number, .haven-guide-mark, .haven-orbit-center, .haven-call-dates b, .noyan-brand strong) {
  font-family: var(--nw-type-display) !important;
}
html body :is(#noyan-home-export, #noyan-site-chrome, #noyan-haven, #lab-page, #root, #app, body)
  :is(.dil-photo-label .dil-eyebrow, .dil-video-card-middle .dil-play) {
  font-family: var(--nw-type-body) !important;
}
html body .dil-speaker :is(.dil-photo-label .dil-eyebrow, .dil-video-card-middle .dil-play) {
  font-family: var(--nw-type-body) !important;
}

/* The approved service experiences already use these typefaces. Keep their
   design-system variables aligned for content rendered by the React bundles. */
html body #noyan-home-export,
html body #noyan-site-chrome,
html body #noyan-haven,
html body #root,
html body #app {
  --app-font-sans: "Inter", sans-serif;
  --app-font-serif: "DM Serif Display", Georgia, serif;
  --dd-font-serif: "DM Serif Display", Georgia, serif;
}
