/* Use the supplied letterforms at a common cap height. The underlying text
   remains the link or heading name, and is the fallback in high contrast. */
@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
  .mark-cineybot { --mark-art: url("../assets/cineybot-wordmark.svg"); --mark-ratio: 9.49164; }
  .mark-tribot { --mark-art: url("../assets/tribot-wordmark.svg"); --mark-ratio: 6.83099; }
  .product-mark {
    display: inline-block;
    position: relative;
    width: calc(var(--mark-cap, .68em) * var(--mark-ratio));
    max-width: 100%;
    aspect-ratio: var(--mark-ratio);
    vertical-align: baseline;
    line-height: 0;
    white-space: nowrap;
    overflow: hidden;
    text-indent: -999em;
  }
  .product-mark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: currentColor;
    -webkit-mask: var(--mark-art) center / contain no-repeat;
    mask: var(--mark-art) center / contain no-repeat;
  }
  .product-heading .product-mark { display: block; }
  .robot-card-caption > span:first-child { min-width: 0; }
  .robot-card-caption .product-mark { display: block; --mark-cap: .66em; }
  @media (forced-colors: active), print {
    .product-mark { display: inline; position: static; width: auto; line-height: inherit; text-indent: 0; }
    .product-mark::before { content: none; }
  }
}
