/* ⚠️ .ring is renamed .dring here: the library owns .ring (its progress ring, rotated -90°) and
   the first mount spun the whole stage sideways. Nothing else is changed.
/* VENDORED from the designer's build (see vendor/designer-dots.js): the ring box, its canvas,
   the floating pills and their open state, with the designer's font variable mapped to ours. */
  .dring { position: relative; width: min(100%, 1716px); margin: 0 auto; aspect-ratio: 1716 / 1366; container-type: inline-size; }
  .dring canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
  .dring.in canvas { opacity: 1; }

  .pills { display: contents; }
  .pill { --ease: cubic-bezier(.22, .8, .24, 1); position: absolute; left: var(--x); top: calc(var(--y) - 1.5cqw); transform: translateX(-50%);
    width: var(--pw); min-height: 3cqw; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: .85cqw 1.2cqw;
    border: 1px solid rgba(255,255,255,.09); border-radius: 1.6cqw; color: #fff; font: inherit; font-family: var(--font); text-align: center; cursor: pointer;
    background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.03));          /* frosted glass, same as the cards in "All of this." */
    -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); will-change: translate, width;
    box-shadow: 0 1.2cqw 3cqw rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
    transition: width .18s var(--ease), background .15s ease, box-shadow .18s ease; }
  .pill .t { font-size: max(13px, 1.2cqw); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; white-space: nowrap; }
  .pill .d { display: grid; grid-template-rows: 0fr; width: 0; min-width: 100%; transition: grid-template-rows .18s var(--ease); }
  .pill .d > span { overflow: hidden; min-height: 0; opacity: 0; font-size: max(11px, .78cqw); line-height: 1.45; color: #a9a9a9; transition: opacity .1s ease; }
  .pill .d > span > i { display: block; font-style: normal; padding: .7cqw 0 .55cqw; }
  .pill { animation: pillfloat var(--fd, 7s) ease-in-out var(--fl, 0s) infinite alternate; }
  .pill:nth-child(4n+1) { --fd: 7.2s; --fl: -1s; } .pill:nth-child(4n+2) { --fd: 8.6s; --fl: -3.4s; }
  .pill:nth-child(4n+3) { --fd: 6.4s; --fl: -5s; }  .pill:nth-child(4n) { --fd: 9.4s; --fl: -2.2s; }
  @keyframes pillfloat { 0% { translate: 0 0; } 33% { translate: .35cqw -.6cqw; } 66% { translate: -.3cqw .3cqw; } 100% { translate: .15cqw -.4cqw; } }
  .pill.open, .pill:focus-visible, .pill:hover { animation-play-state: paused; }   /* hold still while you read it */
  @media (prefers-reduced-motion: reduce) { .pill { animation: none; } }
  .pill:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
  .pill.open, .pill:focus-visible { width: var(--cw); z-index: 6; background: linear-gradient(160deg, rgba(255,255,255,.15), rgba(255,255,255,.05)); box-shadow: 0 1.4cqw 3.4cqw rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.1); }
  .pill.open .d, .pill:focus-visible .d { grid-template-rows: 1fr; }
  .pill.open .d > span, .pill:focus-visible .d > span { opacity: 1; transition-delay: 0s; }
  @media (max-width: 1099px) {
    .measure .m-head { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 26vw 0 12vw; }
    .m-head h2 { font-size: 2.6rem; } .m-head p { font-size: 1rem; margin-top: 16px; }
    .pills { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
    .pill { position: relative; left: auto; top: auto; transform: none; width: auto; max-width: 100%; min-height: 0; padding: 12px 18px; border-radius: 24px; }
    .pill .t { font-size: .95rem; } .pill .d > span { font-size: .85rem; } .pill .d > span > i { padding: 8px 0 2px; }
    .pill.open, .pill:focus-visible { width: 100%; }
  }
