@font-face {
  font-family: "Nunito Sans";
  src: url("./regular-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("./italic-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

html:root {
  --portfolio-ui-font: "Nunito Sans", system-ui, sans-serif;
  font-family: var(--portfolio-ui-font);
}

/* Feature styles set their own font shorthands. Keep the existing size,
   weight and line height while giving these controls the shared family. */
html:root .wn-berkeley-label,
html:root dialog.iv-dialog,
html:root .iv-header-host,
html:root .wn-landing :is(.wn-landing-cue, .wn-landing-replay, .wn-landing-message button),
html[data-workshop-embed] #enter,
html[data-workshop-embed] :is(#floor-switch, #framing-toggle, #framing-tools),
html[data-workshop-embed] :is(.viewer-reset, .viewport-menu),
html:root[data-contact-labels="dorm"] .wn-try-header .wn-rail-item[data-target="contact"],
html:root[data-contact-labels="dorm"] .wn-contact .wn-contact-label {
  font-family: var(--portfolio-ui-font);
}

/* Retain the original system face for a saved alternate Contact preference. */
html[data-contact-labels="current"] .wn-rail-item[data-target="contact"],
html[data-contact-labels="current"] .wn-contact-label {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
