/* Home page: living doorways (the bacterium, the sleeping network) roaming the screen, and a quiet "Play" line. */
body.art-research .home-roam {display:none;}
body.art-research:has(#home:not([hidden])) .home-roam {display:block;position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden;}
.home-roam svg {position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 6px #0a172b80);}
.home-roam .hs-hit {fill:transparent;pointer-events:all;cursor:pointer;}
.home-roam .hs-body {fill:#eef0f0;stroke:#363b40;stroke-width:2.2;}
.home-roam .hs-mesh {fill:none;stroke:#9aa6ae;stroke-width:.8;opacity:.85;}
.home-roam .hs-flag {fill:none;stroke:#f3eadc;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;}
.home-roam .hs-motor {stroke:#fff;stroke-width:1.8;}
.home-roam .hs-trail circle {fill:var(--trail,#f3eadc);}
.home-roam .hs-spring {stroke-linecap:round;}
.home-roam .hs-node {fill:#f3eadc;}
.home-roam .hs-z {fill:var(--z,#f3eadc);font-family:var(--serif);font-style:italic;font-weight:600;}
/* the photograph's water and light (home-swim.js, "the photograph") */
.home-roam .hs-shadow {fill:#160d05;filter:blur(3px);}
.home-roam .hs-drop {fill:#eaf7f8;}
.home-roam .hs-ripple {fill:none;stroke:#f1fbfb;stroke-width:1.2;}
.home-roam .hs-bubble {fill:#e8f4ff22;stroke:#eef7ff;stroke-width:1;}
.home-roam .hs-drop.hs-grass {fill:#a9c27a;}
.home-roam .hs-drop.hs-nectar {fill:#ffd27a;}
.home-roam .hs-tripod {fill:none;stroke:#d9cdb8;stroke-width:2;stroke-linecap:round;}
.home-roam .hs-tube {fill:#e9dfcd;stroke:#3a3f46;stroke-width:1.3;}
/* the mini Embody network: the same paint as the Embody page (photographic.css, embody-path.css) */
.home-roam .hs-sphere {opacity:.95;transition:opacity .25s ease;}
.home-roam .hs-sphere.is-hot {opacity:1;}
.home-roam .hs-ndisc {fill:#ffdbb8;fill-opacity:.9;stroke:#ffe9d2;stroke-width:1;}
.home-roam .hs-nhalo {fill:#ffdbb8;filter:blur(5px);}
.home-roam .hs-nempty {fill:#fff8ee;fill-opacity:.12;stroke:#fff8ee;stroke-opacity:.19;stroke-width:.8;}
.home-roam .hs-nempty.on {fill:#ffe9d2;fill-opacity:1;stroke:#fff1d9;}
.home-roam .hs-flow,.home-roam .hs-pulse {fill:none;stroke:#fff1d9;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px #ffdbb8);}
.home-roam .hs-pulse {stroke:#fffaf2;filter:drop-shadow(0 0 5px #ffdbb8);}
.home-roam .hs-spark {fill:#fff5e5;filter:drop-shadow(0 0 3px #ffdbb8);}
.home-roam .hs-ghost {fill:#ffdbb8;stroke:#ffe9d2;stroke-width:1;}
.home-roam .hs-ghost-glow {fill:#ffdbb8;filter:blur(7px);}
/* the still hint under what the mouse is on */
.home-roam .roam-tip {position:absolute;left:0;top:0;pointer-events:none;white-space:nowrap;padding:5px 12px 6px;border-radius:999px;border:1px solid #f6e3cf99;background:#0a172b8c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff1d9;font:500 13.5px/1.2 var(--sans);letter-spacing:.02em;text-shadow:0 0 10px #f6e3cf88;box-shadow:0 0 16px #f6e3cf40;opacity:0;transition:opacity .2s ease;}
.home-roam .roam-tip.on {opacity:1;}
.home-roam [data-tip] {display:none;}
@media (prefers-reduced-motion:reduce) {.home-roam .hs-flow,.home-roam .hs-pulse,.home-roam .hs-spark {display:none;}}
/* a soft ring when a sprite or its label is pointed at */
.home-roam .hs-halo {fill:color-mix(in srgb,#f3eadc 10%,transparent);stroke:#ffdbb8;stroke-width:1.2;opacity:0;transition:opacity .25s ease;}
.home-roam .hs-halo.on {opacity:.85;}
/* "this is where it lives": the Embody tab and the Projects menu glow while a sprite comes or goes */
body.art-research .site-nav a.is-beacon {color:#fff8ee;background:color-mix(in srgb,#ffdbb8 26%,transparent);box-shadow:0 0 0 1px #ffdbb8b3,0 0 22px #ffdbb88c;transition:background .3s ease,box-shadow .3s ease;}
body.art-research .embody-gate > summary.is-beacon {border-radius:16px;background:color-mix(in srgb,#ffdbb8 30%,transparent);box-shadow:0 0 0 2px #ffdbb8,0 0 30px #ffdbb8cc;transition:box-shadow .3s ease,background .3s ease;}
/* under the welcome: two glowing Play buttons (the Embody page's own button style), then two quiet links */
body.art-research .home-more {display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:22px;}
body.art-research .home-games {display:flex;flex-wrap:wrap;justify-content:center;gap:10px 14px;}
body.art-research .home-game {display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 20px;border:1px solid #f6e3cf99;border-radius:999px;background:#0a172b66;color:#f6e3cf;font:500 18px/1.2 var(--serif);letter-spacing:.01em;text-decoration:none;text-shadow:0 0 12px #f6e3cfaa;box-shadow:0 0 14px #f6e3cf40,inset 0 0 12px #f6e3cf1f;animation:embody-glow-champagne 3.2s ease-in-out infinite;transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;-webkit-tap-highlight-color:transparent;}
body.art-research .home-game + .home-game {animation-delay:1.6s;}
body.art-research .home-game .arr {color:#ffdbb8;display:inline-block;transition:transform .2s ease;}
body.art-research .home-game:hover,body.art-research .home-game:focus-visible,body.art-research .home-game.is-called {background:#f6e3cf26;border-color:#f6e3cf;color:#fffaf3;}
body.art-research .home-game:hover .arr,body.art-research .home-game:focus-visible .arr,body.art-research .home-game.is-called .arr {transform:translateX(4px);}
body.art-research .home-game.is-called {animation:home-game-call 1.1s ease-in-out infinite;transform:scale(1.05);}
body.art-research .home-game:focus-visible {outline:2px solid #f6e3cf;outline-offset:3px;}
@keyframes home-game-call {0%,100% {box-shadow:0 0 18px #f6e3cf66,inset 0 0 12px #f6e3cf26;} 50% {box-shadow:0 0 38px #ffdbb8cc,inset 0 0 16px #f6e3cf40;}}
body.art-research .home-also {display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;font:500 13px/1.4 var(--sans);letter-spacing:.03em;text-shadow:0 1px 2px #0a172bcc,0 8px 24px #0a172bb3;}
body.art-research .home-also a {color:#f3eadc;text-decoration:none;border-bottom:1px solid color-mix(in srgb,#f3eadc 40%,transparent);padding-bottom:1px;}
body.art-research .home-also a:hover,body.art-research .home-also a:focus-visible {color:#ffdbb8;border-bottom-color:currentColor;}
@media (max-width:700px) {
  body.art-research .home-more {gap:10px;margin-top:16px;}
  body.art-research .home-game {font-size:16px;min-height:42px;padding:8px 16px;}
  body.art-research .home-also {font-size:12.5px;}
}
@media (prefers-reduced-motion:reduce) {body.art-research .home-game,body.art-research .home-game.is-called {animation:none;transform:none;}}
/* Research: every project circle carries a small glowing "Read more →" pill, so people see there is a page inside */
body.art-research .research-orb > .research-more {grid-area:4 / 1;justify-self:center;align-self:start;display:inline-flex;align-items:center;gap:6px;margin-top:2px;padding:5px 14px 6px;border:1px solid #f6e3cf88;border-radius:999px;background:#0a172b59;color:#f6e3cf;font:500 13.5px/1.2 var(--sans);letter-spacing:.02em;text-shadow:0 0 10px #f6e3cf88;box-shadow:0 0 12px #f6e3cf33,inset 0 0 10px #f6e3cf14;animation:embody-glow-champagne 3.2s ease-in-out infinite;transition:background .25s ease,border-color .25s ease,color .25s ease;}
body.art-research .research-orb:nth-child(2n) > .research-more {animation-delay:1.6s;}
body.art-research .research-orb > .research-more .arr {color:#ffdbb8;display:inline-block;transition:transform .2s ease;}
body.art-research .research-orb:is(:hover,:focus-visible,.is-lit) > .research-more {background:#f6e3cf26;border-color:#f6e3cf;color:#fffaf3;}
body.art-research .research-orb:is(:hover,:focus-visible,.is-lit) > .research-more .arr {transform:translateX(4px);}
@media (prefers-reduced-motion:reduce) {body.art-research .research-orb > .research-more {animation:none;}}
/* the props the creatures use in each photograph (home-swim.js) */
.home-roam .hs-carbody {fill:#b8473b;stroke:#2a1d1c;stroke-width:1.4;stroke-linejoin:round;}
.home-roam .hs-lamp {fill:#ffe7a0;}
.home-roam .hs-tail {fill:#ff5a4a;}
.home-roam .hs-tyre {fill:#1e1a1a;stroke:#3a3433;stroke-width:1.5;}
.home-roam .hs-hub {fill:#d8cfc4;}
.home-roam .hs-spoke {stroke:#1e1a1a;stroke-width:1.6;}
.home-roam .hs-beam {fill:#ffe9a8;opacity:.16;filter:blur(5px);}
.home-roam .hs-carshadow {fill:#0d0708;opacity:.4;filter:blur(3px);}
.home-roam .hs-puff.hs-exhaust {fill:#d9c2c4;}
.home-roam .hs-puff.hs-smoke {fill:#cdbfae;}
.home-roam .hs-puff.hs-breath {fill:#f4efe6;}
.home-roam .hs-string {fill:none;stroke:#f3eadc;stroke-width:.9;opacity:.85;}
.home-roam .hs-ksail {fill:#e8613f;stroke:#7a2b1c;stroke-width:1.2;stroke-linejoin:round;}
.home-roam .hs-ksail2 {fill:#f3a33c;}
.home-roam .hs-kspar {fill:none;stroke:#6b3a22;stroke-width:1.2;}
.home-roam .hs-ktail {fill:none;stroke:#f3eadc;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;}
.home-roam .hs-ucanopy {fill:#2f7f8a;stroke:#1d3f45;stroke-width:1.3;stroke-linejoin:round;}
.home-roam .hs-urib {fill:none;stroke:#bfe3e3;stroke-width:1;opacity:.7;}
.home-roam .hs-uhandle {fill:none;stroke:#3b2a22;stroke-width:2.2;stroke-linecap:round;}
.home-roam .hs-rain path {stroke:#e3edf5;stroke-width:1.1;stroke-linecap:round;opacity:.5;}
.home-roam .hs-logs {fill:none;stroke:#6b4326;stroke-width:5;stroke-linecap:round;}
.home-roam .hs-fl1 {fill:#f08a2c;opacity:.95;}
.home-roam .hs-fl2 {fill:#ffc14d;}
.home-roam .hs-fl3 {fill:#fff1c2;}
.home-roam .hs-fireglow {fill:#ffad55;opacity:.28;filter:blur(14px);}
.home-roam .hs-bubble.hs-spark {fill:#ffb347;stroke:none;}
.home-roam .hs-stick {fill:none;stroke:#7a5236;stroke-width:1.8;stroke-linecap:round;}
.home-roam .hs-mallow {stroke:#bfae98;stroke-width:.8;}
.home-roam .hs-cambody {fill:#2b2c30;stroke:#55575d;stroke-width:1;}
.home-roam .hs-lens {fill:#3d4a5c;stroke:#9aa3ad;stroke-width:1.2;}
.home-roam .hs-lensin {fill:#9ec3e6;}
.home-roam .hs-flash {fill:#fffdf6;filter:blur(4px);}
.home-roam .hs-print rect {fill:#f7f3ea;stroke:#cfc6b8;stroke-width:.6;}
.home-roam .hs-print .hs-printpic {fill:#d9a86a;stroke:none;}
.home-roam .hs-leafrib {fill:none;stroke:#7a2e18;stroke-width:.8;opacity:.6;}
.home-roam .hs-wheelwell {fill:#140e0e;}
.home-roam .hs-cartrim {fill:none;stroke:#7d2c24;stroke-width:1.2;stroke-linecap:round;}
.home-roam .hs-steer {fill:none;stroke:#2a1d1c;stroke-width:2.4;stroke-linecap:round;}
.home-roam .hs-shorts {fill:#2f6fb0;}
.home-roam .hs-shortstripe {fill:#f3eadc;}
.home-roam .hs-shortband {fill:#1d4774;}
.home-roam .hs-brim {fill:#e8cf8f;stroke:#9b7a3c;stroke-width:1.3;}
.home-roam .hs-crown {fill:#efd99f;stroke:#9b7a3c;stroke-width:1.3;}
.home-roam .hs-hatband {fill:#d0503c;}
.home-roam .hs-shades {fill:#1c1c22;stroke:#55575d;stroke-width:1;}
.home-roam .hs-shadesarm {fill:none;stroke:#1c1c22;stroke-width:2;}
.home-roam .hs-beecoat {fill:#f2c230;}
.home-roam .hs-beestripe {fill:#2a2420;}
.home-roam .hs-antenna {fill:none;stroke:#2a2420;stroke-width:2.4;stroke-linecap:round;}
.home-roam .hs-wing {fill:#eef6ff;fill-opacity:.55;stroke:#ffffff;stroke-width:1.2;}
.home-roam .hs-costume * {transition:none;}
/* shark, diver, caterpillar, mountaineer, balloon */
.home-roam .hs-sharkskin {fill:#7f8d99;stroke:#4a5560;stroke-width:1.4;stroke-linejoin:round;}
.home-roam .hs-belly {fill:#eef0f0;}
.home-roam .hs-gill {fill:none;stroke:#4a5560;stroke-width:1.3;stroke-linecap:round;}
.home-roam .hs-eye {fill:#15161a;}
.home-roam .hs-glint {fill:#fff;}
.home-roam .hs-mouth {fill:#5a2630;}
.home-roam .hs-teeth {fill:#fff;}
.home-roam .hs-fishbody {fill:#cfdbe2;stroke:#6f8796;stroke-width:.8;}
.home-roam .hs-flush {fill:#ff6a6a;}
.home-roam .hs-mask {fill:#9fd3e6;fill-opacity:.85;stroke:#26292e;stroke-width:2.6;}
.home-roam .hs-strap {fill:none;stroke:#26292e;stroke-width:2.4;stroke-linecap:round;}
.home-roam .hs-snorkel {fill:none;stroke:#f08a2c;stroke-width:4.5;stroke-linecap:round;}
.home-roam .hs-drop.hs-zap {fill:#fff27a;}
.home-roam .hs-dizzy path {fill:#ffe27a;stroke:#b08a2a;stroke-width:.6;}
.home-roam .hs-catskin {fill:#82b94a;}
.home-roam .hs-catring {fill:none;stroke:#5c8a2f;stroke-width:2.2;}
.home-roam .hs-catleg {fill:#4f7a28;}
.home-roam .hs-catmouth {fill:#5a2a20;}
.home-roam .hs-bite {fill:#0b1208;opacity:.93;filter:blur(.6px);}
.home-roam .hs-drop.hs-crumb {fill:#9ccc5c;}
.home-roam .hs-pack {fill:#7a5a3c;stroke:#4d3826;stroke-width:1.3;}
.home-roam .hs-beanie {fill:#c8402f;stroke:#7d2419;stroke-width:1.2;}
.home-roam .hs-beanieband {fill:#f3eadc;}
.home-roam .hs-bobble {fill:#f3eadc;}
.home-roam .hs-pole {fill:none;stroke:#5a4636;stroke-width:2;stroke-linecap:round;}
.home-roam .hs-cloth {fill:#d94a3a;stroke:#8e2a20;stroke-width:.8;}
.home-roam .hs-env {fill:#e8613f;stroke:#7a2b1c;stroke-width:1.4;}
.home-roam .hs-gore {fill:none;stroke:#f3c14d;stroke-width:6;}
.home-roam .hs-gore2 {fill:none;stroke:#f6ead8;stroke-width:3;opacity:.8;}
.home-roam .hs-rope {fill:none;stroke:#5a4636;stroke-width:1.2;}
.home-roam .hs-basket {fill:#a8743f;stroke:#5a3c20;stroke-width:1.3;}

/* Play links (Nada, 2026-11-10: style D): the little creature and its words, no pill, no glow */
body.art-research .home-games {gap:10px 34px;}
body.art-research .home-game {gap:11px;min-height:44px;padding:4px 2px;border:0;border-radius:0;background:none;box-shadow:none;animation:none;color:#f6ead8;font:400 20px/1.2 var(--serif);text-shadow:0 1px 2px #0a172bcc,0 6px 20px #0a172b99;}
body.art-research .home-game + .home-game {animation:none;}
body.art-research .home-game span {border-bottom:1px solid transparent;transition:border-color .25s ease;}
body.art-research .home-game:hover,body.art-research .home-game:focus-visible,body.art-research .home-game.is-called {background:none;color:#fffaf3;transform:none;animation:none;box-shadow:none;}
body.art-research .home-game:hover span,body.art-research .home-game:focus-visible span,body.art-research .home-game.is-called span {border-bottom-color:#ffdbb8;}
body.art-research .home-game-ico {flex:none;overflow:visible;filter:drop-shadow(0 1px 3px #0a172bb3);transition:transform .3s ease;}
body.art-research .home-game:hover .home-game-ico,body.art-research .home-game.is-called .home-game-ico {transform:translateX(3px) rotate(-4deg);}
.home-game-ico .hgi-body {fill:#eef0f0;stroke:#363b40;stroke-width:2;}
.home-game-ico .hgi-flag {fill:none;stroke:#f6ead8;stroke-width:1.8;stroke-linecap:round;}
.home-game-ico .hgi-net {fill:none;stroke:#d6786c;stroke-width:1.4;stroke-linejoin:round;}
.home-game-ico circle:not([fill]) {fill:#f6ead8;}
@media (max-width:700px) {body.art-research .home-game {font-size:17px;gap:9px;} body.art-research .home-games {gap:6px 22px;}}

/* the two quieter links under the Play links: the same size and type as them */
body.art-research .home-also {gap:6px 34px;font:400 20px/1.2 var(--serif);letter-spacing:0;}
body.art-research .home-also a {color:#f6ead8;border-bottom:1px solid color-mix(in srgb,#f6ead8 35%,transparent);padding-bottom:2px;}
@media (max-width:700px) {body.art-research .home-also {font-size:17px;gap:6px 22px;}}

/* everything the creatures do stays below the introduction lines: anything drifting higher fades out (Nada, Nov 2026) */
.home-roam svg {-webkit-mask-image:linear-gradient(to bottom,transparent var(--roam-top,0px),#000 calc(var(--roam-top,0px) + 26px));mask-image:linear-gradient(to bottom,transparent var(--roam-top,0px),#000 calc(var(--roam-top,0px) + 26px));}
