/* ============================================================================
   THE ROSPUEK MARK — the rune with its two orbiting moons.

   Lifted from the app shell so the landing pages and the product wear the
   identical brand anchor:
     public/index.html : 216        @keyframes orbitspin
     public/index.html : 236-249    .mark / .rune / .ring / .oring
   Same geometry (34px box, 30px rune), same orbit timings (16s inner moon,
   26s outer moon), same colours. Sized a touch larger here per the owner's
   "a bit bigger and cleaner than today".

   WHY THE CLASS IS `rk-mark` AND NOT `mark`
   Two pages in this tree already use class="mark" for a TEXT label —
   intro.html ("Zach Edwards LLC") and work/index.html ("Lead gen"). A bare
   `.mark{width:36px;height:36px}` rule would silently crush both of them into
   a 36px square. Identical visuals, collision-free name. The keyframes are
   namespaced for the same reason (shared.css already ships `zrkspin`, the app
   ships `orbitspin`).

   Palette check: the rune's #e3e8ee sits against --bg #08090C on the redesign
   pages and the equally dark shared.css background on the legacy pages, so it
   needs no per-page colour override.
   ========================================================================= */

.rk-mark {
  --rk-size: 36px;
  position: relative;
  width: var(--rk-size);
  height: var(--rk-size);
  flex: 0 0 var(--rk-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  vertical-align: middle;
}

.rk-mark .rk-rune {
  height: calc(var(--rk-size) * 0.86);
  width: auto;
  color: #e3e8ee;
  filter: drop-shadow(0 0 6px rgba(210, 224, 240, .35));
}

/* inner moon — the bright one, 16s.

   `width/height:auto` are DEFENSIVE and load-bearing, not noise. Found by eye on
   labs/enter-mansion, which ships its own `.brand i { width:9px; height:9px }` for a
   little gold diamond. That selector has the same specificity as `.rk-mark i`, so this
   sheet wins the properties it DECLARES — but width/height were not among them, so the
   9px survived. An absolutely-positioned box with both `inset:0` and an explicit width
   lets the width win, so the moons rendered 9px and sat off-centre beside the rune
   instead of orbiting it. Declaring auto here reclaims the geometry for every host page.
   The browser proof now asserts moon size, not just that a border exists. */
.rk-mark i {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 50%;
  border: 1px solid rgba(205, 214, 224, .28);
  animation: rk-orbitspin 16s linear infinite;
}
.rk-mark i::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #eaf0f6;
  box-shadow: 0 0 6px #cdd6e0;
}

/* outer moon — larger, fainter ring, slower 26s */
.rk-mark i.rk-o {
  inset: -7px;
  border-color: rgba(205, 214, 224, .12);
  animation-duration: 26s;
}
.rk-mark i.rk-o::after {
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  top: -1.5px;
  background: #c2ccd8;
  box-shadow: 0 0 5px #aeb9c6;
}

@keyframes rk-orbitspin { to { transform: rotate(360deg) } }

/* Size variants. The outer moon sits 7px outside the box, so a header with a
   tight line-box gets the smaller one. */
.rk-mark--sm { --rk-size: 28px; margin-right: 10px }
.rk-mark--lg { --rk-size: 46px; margin-right: 14px }

/* The legacy `.bar` headers lay their children out in a row with no flex
   alignment on the anchor itself; make the wordmark sit on the mark's centre
   line without touching those pages' own rules. */
.rk-brand { display: inline-flex; align-items: center; text-decoration: none }

/* DEFENSIVE: never let a host page hide the mark by accident.

   Found by measuring, not by reading: on rospuek-home the mark rendered
   36x36 on desktop and 0x0 at 390px. Cause is that page's own
       @media (max-width: 560px) { .brand span { display: none } }
   which exists to drop the "by Zach Edwards LLC" text next to the logo on a
   phone — and the mark is itself a <span> inside .brand, so it was hidden
   along with the text.

   `.brand span` has specificity (0,1,1); a bare `.rk-mark` is (0,1,0) and
   loses no matter the order. `span.rk-mark` matches that specificity and
   this sheet loads after the host's, so the tie resolves here. The mark is
   the brand anchor and the owner asked for it on EVERY screen, so it wins. */
span.rk-mark { display: inline-flex }

/* Respect the OS setting. The moons still render, they just stop orbiting —
   the mark must never vanish, it is the brand anchor. */
@media (prefers-reduced-motion: reduce) {
  .rk-mark i { animation: none }
}
