/* Reglynn host: small decorative character loops (features.HOST2D; video loops 3 Dec 2026).
   Markup and API: see the comment at the top of /assets/host.js. The art is a filmed loop with
   alpha (WebM, or animated WebP on Safari); three of the four loops are cut flat at the bottom
   and are meant to peek over an edge: a heading rule, the hero's report window.
   The box is reserved here (1.4 : 1) before host.js runs, so nothing shifts. */
.host-spot { --hs: 120px; display: flex; align-items: flex-end; gap: 14px; }
.host-spot[data-size="s"] { --hs: 72px; }
.host-spot[data-size="l"] { --hs: 176px; }
.host-art { flex: none; position: relative; display: block; width: calc(var(--hs) * 1.4); height: var(--hs); }
.host-art img, .host-art video { position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 100%; pointer-events: none; }
.host-art video { opacity: 0; transition: opacity .3s ease; background: transparent; }
.host-art video.is-on { opacity: 1; }
.host-spot::before { content: ""; flex: none; width: calc(var(--hs) * 1.4); height: var(--hs); }
.host-spot:has(.host-art)::before { display: none; }
.host-spot.host-off { display: none; }
/* away from the hero window there is no edge to hide the cut, so it fades out instead */
.host-spot:not(.hero-host):is([data-loop="present"], [data-loop="research"], [data-loop="cards"]) .host-art {
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 26%); mask-image: linear-gradient(to top, transparent 0, #000 26%); }
.host-cap { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
@media print { .host-spot { display: none; } }
