/* ═══════════════════════════════════════════════════════════════════════
   TREATMENT: orbit
   JT: "one might have a animated spinning globe ( i dont think we put a
   globe there)".

   Right, there is no globe, and inventing one would be decoration standing
   in for a claim. These pages are about reach and recall: matter memory,
   the corpus, deployment. So the animated centrepiece is a set of
   concentric rings that turn slowly around the page's own figure, which
   reads as orbit without pretending to be a map of anything.

   Built in CSS on an element the page already has, so it costs no asset,
   no sprite and no request. 26s and 34s periods, counter-rotating: slow
   enough that nobody catches it moving, which is the same discipline as
   the 18s backdrop drift in the shared layer.

   Scoped to main.
   ═══════════════════════════════════════════════════════════════════════ */

[data-treatment="orbit"] main .band-media-fig{position:relative;
  isolation:isolate}
[data-treatment="orbit"] main .band-media-fig::before,
[data-treatment="orbit"] main .band-media-fig::after{
  content:"";position:absolute;z-index:-1;border-radius:50%;
  pointer-events:none;
  border:1px dashed color-mix(in srgb,var(--hue,#15803d) 42%,transparent)}
[data-treatment="orbit"] main .band-media-fig::before{
  inset:-9% -7%;border-style:dashed}
[data-treatment="orbit"] main .band-media-fig::after{
  inset:-18% -14%;
  border-color:color-mix(in srgb,var(--hue,#15803d) 22%,transparent)}

@media (prefers-reduced-motion:no-preference){
  html.js-motion[data-treatment="orbit"] main .band-media-fig::before{
    animation:t-orbit 26s linear infinite}
  html.js-motion[data-treatment="orbit"] main .band-media-fig::after{
    animation:t-orbit 34s linear infinite reverse}
}
@keyframes t-orbit{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

/* The figure sits centred with air around it so the rings have room, and
   the band runs taller than elsewhere for the same reason. */
[data-treatment="orbit"] main .band-media .band-in{
  align-items:center;gap:clamp(34px,5vw,74px)}
[data-treatment="orbit"] main .band-media{padding-block:clamp(44px,5.4vw,78px)}
[data-treatment="orbit"] main .band-media-fig img{
  border-radius:var(--r-soft);box-shadow:0 30px 70px -44px rgba(4,20,36,.6)}

/* Cards here describe capability, so they read as a sequence rather than
   as a grid of equals: a numbered rail down the left. */
[data-treatment="orbit"] main .card-grid,
[data-treatment="orbit"] main .mosaic{
  grid-template-columns:minmax(0,1fr);gap:0;counter-reset:orbit}
[data-treatment="orbit"] main .mosaic>.tile,
[data-treatment="orbit"] main .card-grid>.card{
  counter-increment:orbit;position:relative;background:transparent;
  border:0;border-left:1px solid var(--rule-light);border-radius:0;
  padding:16px 0 20px 52px;box-shadow:none}
[data-treatment="orbit"] main .mosaic>.tile::before,
[data-treatment="orbit"] main .card-grid>.card::before{
  content:counter(orbit);position:absolute;left:-15px;top:16px;
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:var(--hue,#15803d);color:#fff;font-family:var(--sans);
  font-size:13px;font-weight:700}
