/* Ephor — the lockup on the pages that are not the home page: the guides, the
   legal notice, the privacy pages. The Watch Ring beside the EPHOR /
   INTELLIGENCE wordmark, and it MOVES as the home header's does (owner,
   2026-10-30, VIN-260): the ring draws itself closed on load and the watcher
   pops into its seat, a hover sends it once round its patrol, and scrolling
   turns its outer frame through one round from the top of the page to the end
   (js/lockup.js sets --scroll-round). These pages load none of base.css, so its
   rules are copied below scoped to .lockup, with the same timings and easings.
   Same sizes and letterspacing as base.css's header lockup; the ring takes the
   link colour, the watcher is the one cobalt on a light ground. */
.lockup {
  display: inline-flex; align-items: center; gap: var(--s-3);
  color: var(--navy); text-decoration: none; line-height: 1;
}
.lockup .brand-mark { inline-size: 2.35rem; block-size: 2.35rem; flex: none; }
.lockup .brand-word {
  display: flex; flex-direction: column; gap: var(--s-1);
  font-size: var(--fs-brand); font-weight: 500; letter-spacing: var(--ls-brand); line-height: 1;
}
.lockup small { display: inline-block; font-size: var(--fs-micro); letter-spacing: var(--ls-brand-tag); opacity: 0.66; line-height: 1; }
.lockup:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: var(--r-sm); }
.lockup:hover .brand-word, .lockup:focus-visible .brand-word { opacity: 0.8; }
/* the movement, copied from base.css's .brand-mark rules — the reasons (why
   116, why transform and not the standalone rotate property, why the hover lap
   rides inside the scroll frame) are written there and hold here unchanged */
.lockup .brand-mark path {
  stroke-dasharray: 116;
  animation: ring-close 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s backwards;
}
@keyframes ring-close { from { stroke-dashoffset: 116; } to { stroke-dashoffset: 0; } }
.lockup .brand-mark .watcher {
  transform-box: fill-box; transform-origin: center;
  animation: watcher-seat 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.9s backwards;
}
@keyframes watcher-seat { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
.lockup .brand-mark .progress {
  transform-box: view-box; transform-origin: 50% 50%;
  transform: rotate(var(--scroll-round, 0deg));
  transition: transform 90ms linear;
}
.lockup .brand-mark .patrol { transform-box: view-box; transform-origin: 50% 50%; }
.lockup:hover .brand-mark .patrol { animation: patrol 1.5s cubic-bezier(0.45, 0, 0.25, 1); }
@keyframes patrol { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .lockup .brand-mark path, .lockup .brand-mark .watcher, .lockup:hover .brand-mark .patrol { animation: none; }
  .lockup .brand-mark .progress { transform: none; transition: none; }
}
