/* The photographic pan belongs to a shared plane. The registration below
   repeats the native picture's object-fit:cover box without changing its crop. */
.home-hero:has(.opening-map) > .or-image .or-camera {
  position:absolute;
  inset:0;
  container-type:size;
  overflow:hidden;
  transform-origin:67% 43%;
  animation:camera-breathe 22s ease-in-out infinite alternate paused;
}
.home-hero.on-running:has(.opening-map) > .or-image .or-camera {animation-play-state:running;}
.home-hero:has(.opening-map) > .or-image .or-still {display:block;width:100%;height:100%;}
.home-hero:has(.opening-map) > .or-image .or-still img {display:block;transform:none;animation:none;}
.or-registration {
  /* 1672 × 941 wide crop, tarsus at (1290, 570.5). */
  --or-aspect:1.776833;
  --or-image-x:55%;
  --or-image-y:48%;
  --or-leg-x:77.1531%;
  --or-leg-y:60.627%;
  --or-band-width:.83%;
  pointer-events:none;
  position:absolute;
  left:var(--or-image-x);
  top:var(--or-image-y);
  width:max(100cqw,calc(100cqh * var(--or-aspect)));
  aspect-ratio:var(--or-aspect);
  transform:translate(calc(-1 * var(--or-image-x)),calc(-1 * var(--or-image-y)));
}
.or-band {
  position:absolute;
  top:var(--or-leg-y);
  left:var(--or-leg-x);
  display:block;
  width:var(--or-band-width);
  height:auto;
  overflow:visible;
  transform:translate(-50%,-50%) rotate(21deg);
  transform-origin:50% 50%;
  filter:drop-shadow(0 .45px .35px #293120);
}
.or-band-return {opacity:.55;}
.or-wires {
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  overflow:hidden;
  pointer-events:none;
}
.or-segment {fill:none;stroke-linejoin:round;stroke-linecap:round;color:#aadaa8;}
.or-call {color:#a8ddd0;}
.or-read {color:#f7d48e;}
.or-association {color:#cddd9b;}
.or-segment path {stroke:currentColor;vector-effect:non-scaling-stroke;}
.or-guide {stroke-width:.8;opacity:.18;}
.or-read .or-guide {opacity:.24;}
.or-association .or-guide {stroke-width:.8;opacity:.25;}
.or-current {stroke-width:1.9;stroke-dasharray:3.6 104;opacity:0;}
.or-association .or-current {stroke-width:1.5;stroke-dasharray:2 105;}
.home-hero:has(.or-card:is(:hover,:focus-visible)) .or-guide {opacity:.50;}
.home-hero:has(.or-card:is(:hover,:focus-visible)) .or-current {stroke-width:2.3;}
.or-card {
  --or-accent:#dce9bb;
  position:absolute;
  top:calc(var(--on-main) - 67px);
  right:var(--pad);
  z-index:3;
  display:grid;
  gap:2px;
  padding:7px 10px 7px 11px;
  min-height:46px;
  min-width:154px;
  color:#f6f3dd;
  text-decoration:none;
  background:linear-gradient(108deg,rgba(17,32,25,.92),rgba(20,38,28,.77));
  border:1px solid rgba(214,231,183,.35);
  border-left:2px solid #d7d99c;
  border-radius:2px;
  box-shadow:0 2px 12px #11231838;
  line-height:1.14;
  touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(204,222,175,.2);
}
.or-card:is(:focus-visible,:hover) {border-color:#dceabf;background:rgba(16,32,25,.94);}
.or-card:focus-visible {outline:2px solid #fbedd0;outline-offset:3px;}
.or-station-head {
  display:flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  color:#c6dcc6;
  font:550 .63rem/1 var(--sans,sans-serif);
  letter-spacing:.055em;
}
.or-antenna {display:block;width:15px;height:15px;color:#bddcc4;}
.or-antenna-point {fill:#ebf5d8;}
.or-record-plot {display:block;width:47px;height:auto;margin-left:auto;overflow:visible;}
.or-lane {fill:none;stroke:#adbea4;stroke-width:.95;opacity:.63;}
.or-marks {fill:none;stroke:#d9e6bd;stroke-width:1.6;stroke-linecap:round;}
.or-sample-pin {fill:#ffe0a4;stroke:#f6d194;stroke-width:1;transform-box:fill-box;transform-origin:center;}
.or-action {display:flex;align-items:baseline;justify-content:space-between;gap:7px;white-space:nowrap;font:530 .85rem/1.2 var(--sans,sans-serif);}
.or-action > span {font-size:.92em;color:#d5e6bc;}
.or-detail {font:500 .58rem/1.1 var(--sans,sans-serif);font-variant-numeric:tabular-nums;letter-spacing:.048em;color:#d0d7bf;}
.or-tag-hit {
  display:none;
  position:absolute;
  left:var(--or-hit-x);
  top:var(--or-hit-y);
  width:44px;
  height:44px;
  border-radius:50%;
  clip-path:var(--or-hit-clip,none);
  transform:translate(-50%,-50%);
}
.or-ready.or-leg-visible .or-tag-hit {display:block;}
.or-ready:not(.or-leg-visible) :is(.or-call,.or-read) {display:none;}
.or-tag-hit::before,.or-tag-hit::after {
  content:'';
  position:absolute;
  width:8px;
  height:7px;
  opacity:.79;
  border:0 solid #f3e7ae;
  filter:drop-shadow(0 1px 1px #273727);
}
.or-tag-hit::before {left:9px;bottom:8px;border-left-width:1px;border-bottom-width:1px;border-bottom-left-radius:4px;}
.or-tag-hit::after {right:9px;top:8px;border-top-width:1px;border-right-width:1px;border-top-right-radius:4px;}
.or-card:is(:hover,:focus-visible) .or-tag-hit::before,.or-card:is(:hover,:focus-visible) .or-tag-hit::after {border-color:#fff9cb;opacity:1;}
.or-sr {position:absolute;overflow:hidden;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);white-space:nowrap;}

/* Each pulse starts at the reader antenna. The passive band reflects the scan
   and the actual read mark in the chart sends the next strand to Behaviour. */
.or-call .or-current {animation:or-interrogate 8.8s linear infinite paused;}
.or-read .or-current {animation:or-receive 8.8s linear infinite paused;}
.or-association .or-current {animation:or-associate 8.8s linear infinite paused;}
.or-query-light {animation:or-query-light 8.8s ease-in-out infinite paused;}
.or-band-return {animation:or-metal-glint 8.8s ease-in-out infinite paused;}
.or-sample-pin {animation:or-print-read 8.8s ease-in-out infinite paused;}
.home-hero.on-running :is(.or-current,.or-query-light,.or-band-return,.or-sample-pin) {animation-play-state:running;}
@keyframes or-interrogate {
  0%,6% {opacity:0;stroke-dashoffset:6;}
  8% {opacity:.9;}
  24% {opacity:.94;stroke-dashoffset:-96;}
  26%,100% {opacity:0;stroke-dashoffset:-106;}
}
@keyframes or-receive {
  0%,25% {opacity:0;stroke-dashoffset:6;}
  28% {opacity:.96;}
  45% {opacity:1;stroke-dashoffset:-96;}
  47%,100% {opacity:0;stroke-dashoffset:-106;}
}
@keyframes or-associate {
  0%,48% {opacity:0;stroke-dashoffset:5;}
  52% {opacity:.75;}
  88% {opacity:.96;stroke-dashoffset:-97;}
  90%,100% {opacity:0;stroke-dashoffset:-106;}
}
@keyframes or-query-light {0%,16%,100%{opacity:.35;}5%,9%{opacity:1;}}
@keyframes or-metal-glint {0%,21%,32%,100%{opacity:.45;}24%,27%{opacity:1;}}
@keyframes or-print-read {0%,41%,56%,100%{transform:scale(1);}46%,49%{transform:scale(1.85);}}
@media(min-width:651px) and (max-width:1130px) {
  .or-registration {
    /* 1100 × 619, corresponding tarsus at (848.5, 375.1). */
    --or-aspect:1.777060;--or-leg-x:77.137%;--or-leg-y:60.60%;
  }
}
@media(max-width:650px) {
  .or-registration {
    /* The phone source is a separate crop, 760 × 804. */
    --or-aspect:.945274;--or-image-x:53%;--or-image-y:40%;
    --or-leg-x:72.45%;--or-leg-y:60.618%;--or-band-width:1.51%;
  }
  .or-card {top:11px;left:var(--pad);right:auto;min-width:137px;padding:6px 8px;}
  .or-action {font-size:.78rem;}
  .or-record-plot {width:36px;}
  .or-station-head {font-size:.60rem;}
  .or-detail {font-size:.55rem;}
  .or-tag-hit::before {left:12px;bottom:12px;width:5px;height:5px;}
  .or-tag-hit::after {right:12px;top:12px;width:5px;height:5px;}
}
@media(min-width:560px) and (max-height:480px) {
  .or-card {top:calc(var(--on-main) - 64px);left:auto;right:var(--pad);}
}
@media(prefers-reduced-motion:reduce) {
  .home-hero:has(.opening-map) > .or-image .or-camera {animation:none;}
  .home-hero :is(.or-current,.or-query-light,.or-band-return,.or-sample-pin) {animation:none;}
  .or-current {display:none;}
}
@supports not (width:1cqw) {.or-registration {display:none;}}
