/* Opt-in visual roles. Page styles own composition and editorial headline sizes. */
.nova-editorial-title {
  font-family: var(--nova-serif);
  font-weight: 400;
}

.nova-product-title {
  font: var(--nova-product-title-font);
  letter-spacing: -.03em;
  text-wrap: pretty;
}

.nova-package-title {
  font: var(--nova-package-title-font);
  letter-spacing: -.024em;
  text-wrap: pretty;
}

.nova-card-description {
  color: var(--nova-card-ink);
  font: var(--nova-card-body-font);
}

.nova-eyebrow {
  font: var(--nova-eyebrow-font);
  letter-spacing: .19em;
  text-transform: uppercase;
}

.nova-measure {
  font-family: var(--nova-mono);
  font-variant-numeric: tabular-nums;
}

.nova-action {
  --nova-action-fill: var(--nova-action-light);
  --nova-action-hover: var(--nova-action-light-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  box-sizing: border-box;
  min-height: var(--nova-action-height);
  padding: 10px clamp(12px, 1.18vw, 23px);
  border: 1px solid var(--nova-action-border, var(--nova-action-fill));
  border-radius: 4px;
  background: var(--nova-action-fill);
  color: var(--nova-ink);
  font: 650 clamp(14px, .98vw, 18px)/1.25 var(--nova-sans);
  text-decoration: none;
  text-align: center;
}

.nova-action--light {
  --nova-action-fill: var(--nova-action-light);
  --nova-action-border: #e9efed;
  --nova-action-hover: var(--nova-action-light-hover);
}

.nova-action--outline {
  --nova-action-fill: rgba(0, 20, 26, .55);
  --nova-action-border: var(--nova-action-light);
  color: var(--nova-action-light);
}

/* The same artwork is used at normal and high pixel densities on closing panels. */
.nova-cta-panel, .ngl-cta {
  --nova-cta-artwork: image-set(url("../homepage-assets/footer-1086.webp") 1x, url("../homepage-assets/footer-2172.webp") 2x);
  color: var(--nova-platform-text);
  background-color: var(--nova-surface-platform);
  background-image: linear-gradient(90deg, #041c23, #082e36 43%, rgba(5,39,46,.85) 58%, var(--nova-cta-edge, rgba(2,20,26,.72)) 86%),
    var(--nova-cta-artwork);
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: cover, var(--nova-cta-art-size, auto 100%);
}

.ngl-cta {
  --nova-cta-art-size: 53% auto;
  --nova-cta-edge: rgba(5,38,44,.02);
}

.nova-cta-panel--ink {
  background: var(--nova-surface-platform);
}

.nova-cta-panel .nova-action {
  color: var(--nova-ink);
  text-decoration: none;
}

.nova-cta-panel .nova-action--outline { color: var(--nova-action-light); }
.nova-cta-panel .nova-action:hover { color: var(--nova-ink); }
@media (max-width: 680px) {
  .ngl-cta { --nova-cta-art-size: 78% auto; }
}
@media (max-width: 430px) {
  .nova-cta-panel, .ngl-cta { --nova-cta-artwork: url("../homepage-assets/footer-1086.webp"); }
}
@media print {
  .nova-cta-panel { background: white; color: black; }
}

.nova-action--science {
  --nova-action-fill: var(--nova-action-science);
  --nova-action-hover: var(--nova-action-science-hover);
  --nova-action-hover-border: var(--nova-action-science-hover);
}

.nova-action:hover {
  background: var(--nova-action-hover);
  border-color: var(--nova-action-hover-border, var(--nova-action-border, var(--nova-action-fill)));
  color: var(--nova-ink);
}

.nova-action:focus-visible {
  outline: 3px solid #18bccb;
  outline-offset: 4px;
}

/* Long labels must also fit when the reader increases text spacing. */
@media (max-width: 440px) {
  .arc-hero-copy h1,
  .nhn-twin,
  .tm-flow,
  .cc-hero,
  .cc-exhibit,
  .cr-page,
  .sl-independence .sl-hero h1,
  .news-collection > header,
  .ir-presentation-info h1 {
    overflow-wrap: anywhere;
  }
  .arc-hero-copy h1 {
    font-size: clamp(2.625rem, 13vw, 3.5rem);
  }
}
