/* The home's fly button (home-fly.js): a small clear-glass pill in the lower right corner, on the line of the hero's legal words and the gutter of the menu. Its two labels share one
   place; the pill's width runs to the words it is showing, the arrow turns over, and the words cross with a short
   blur, so it changes shape rather than swapping. */
.home-fly {
  position: fixed; z-index: 40; right: var(--gutter, 28px); bottom: 19px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 36px; padding: 0 13px 0 15px;
  border: 1px solid #ffffff21; border-radius: 999px;
  background: linear-gradient(180deg, #ffffff12, #ffffff08);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 #ffffff24, 0 1px 2px #03050a47, 0 10px 28px -14px #03050a99;
  color: #f2eee7d9; font: 300 14px/1 "Helvetica Neue", var(--sans, sans-serif); letter-spacing: -.006em;
  cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 420ms cubic-bezier(.2, .7, .2, 1), transform 420ms cubic-bezier(.2, .7, .2, 1), border-color 160ms ease, color 160ms ease;
}
.home-fly.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.home-fly em { font-family: "Instrument Serif", serif; font-style: italic; font-size: 16.5px; letter-spacing: 0; }
.home-fly__words {
  display: inline-grid; overflow: hidden; justify-items: start; width: var(--words, auto); height: 20px; align-items: center;
  transition: width 520ms cubic-bezier(.65, 0, .35, 1);
}
.home-fly__go, .home-fly__back {
  grid-area: 1 / 1; white-space: nowrap;
  transition: opacity 300ms ease, transform 520ms cubic-bezier(.65, 0, .35, 1), filter 300ms ease;
}
.home-fly[data-state="back"] .home-fly__go { opacity: 0; transform: translateY(-9px); filter: blur(3px); }
.home-fly:not([data-state="back"]) .home-fly__back { opacity: 0; transform: translateY(9px); filter: blur(3px); }
.home-fly__arrow { flex: none; transition: transform 520ms cubic-bezier(.65, 0, .35, 1); }
.home-fly[data-state="back"] .home-fly__arrow { transform: rotate(180deg); }
@media (hover: hover) {
  .home-fly:hover { border-color: #ffffff3d; color: #fff; }
  .home-fly:hover .home-fly__arrow { transform: translateY(2px); }
  .home-fly[data-state="back"]:hover .home-fly__arrow { transform: rotate(180deg) translateY(2px); }
}
.home-fly:focus-visible { outline: 2px solid #f2eee7; outline-offset: 3px; }
.home-fly.is-flying .home-fly__arrow { animation: home-fly-pulse 1.1s ease-in-out infinite; }
@keyframes home-fly-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .home-fly { display: none; } }
