/* FHG page art, release 93 (4 Dec 2026). Owner: "The subpages need amplification
   as well. The main pages look great now... The subpages need to life feel as
   well for consistency." The homepages' moving first screen, as one component
   both sites load: a faint grid of dots and two small clusters of color icons
   joined by flowing lines, beside a subpage's title. A page opts in with one
   attribute on its first band, data-art="left,icons|right,icons";
   assets/fhg-art.js builds the layer, measures the band's own text and places
   the clusters outside it, and hides them where there is no room. Decoration
   only: hidden from readers, nothing to click, still for reduced motion. */
.fx-host { position: relative; isolation: isolate; }
/* The layer covers the top of its band only (at most 560px), so a long page
   that is its own band gets the art beside its title, not down its length. */
.fx-art { position: absolute; top: 0; left: 0; right: 0; height: min(100%, 560px); z-index: -1; pointer-events: none; overflow: hidden; }
.fx-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 2px 2px, var(--gold) 1.3px, transparent 1.6px); background-size: 32px 32px; opacity: 0.13; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.fx-art .fx-cluster { position: absolute; top: 24px; width: 220px; overflow: visible; }
.fx-art.fx-narrow .fx-cluster { display: none; }
.fx-art .fx-wire { fill: none; stroke: var(--gold); stroke-width: 1.6; opacity: 0.45; stroke-dasharray: 6 9; animation: fxWire 3.2s linear infinite; }
.fx-art .fx-float { animation: fxBob 6s ease-in-out infinite; }
.fx-art .fx-float.b { animation-delay: -2s; }
.fx-art .fx-float.c { animation-delay: -4s; }
.fx-art .fx-halo { fill: var(--gold); opacity: 0.1; animation: fxHalo 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fx-ic-gold { fill: url(#g-gold); }
.fx-ic-bronze { fill: url(#g-bronze); }
.fx-ic-clay { fill: url(#g-clay); }
.fx-ic-espresso { fill: url(#g-espresso); }
.fx-ic-olive { fill: url(#g-olive); }
.fx-ic-sage { fill: url(#g-sage); }
@keyframes fxWire { to { stroke-dashoffset: -30; } }
@keyframes fxBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fxHalo { 0%, 100% { transform: scale(0.85); opacity: 0.06; } 50% { transform: scale(1.15); opacity: 0.14; } }
@media (prefers-reduced-motion: reduce) {
  .fx-art .fx-wire, .fx-art .fx-float, .fx-art .fx-halo { animation: none; }
}
@media print {
  .fx-art { display: none; }
}
