/* Holobiome mockups: the real Holobiome mark, wordmark and ambient network.
 * GENERATED by mockups/tools/build_logo.php from the holobiome.ai landing page (tinyprojects/landing/app/landing, read only).
 * Do not edit by hand: re-run  php design_review/mockups/tools/build_logo.php
 * The rules below are the landing page's own, copied verbatim. Portal sizing, placement, reduced motion and pausing
 * live in shared/ui.css ("Brand mark"); behaviour lives in shared/brand.js. */

/* Tokens (style.css :root and :root[data-theme="dark"]); the portal always resolves data-theme to light or dark.
   Print always uses the light values, as the portal's own print palette does. */
:root { --pill-a: #65788f; --pill-m: #3f4e6e; --pill-b: #283356; --net-ink: #283356; --net-a: .07; --net-a-login: .14; --pulse: #5b7cfa; }
:root[data-theme="dark"] { --pill-a: #8ea1bd; --pill-m: #5a6b92; --pill-b: #34426b; --net-ink: #d3dcf0; --net-a: .17; --net-a-login: .26; --pulse: #a9bcff; }
@media print { :root, :root[data-theme="dark"] { --pill-a: #65788f; --pill-m: #3f4e6e; --pill-b: #283356; --net-ink: #283356; --net-a: .07; --net-a-login: .14; --pulse: #5b7cfa; } }

/* icons.css: nodes scale in place */
.tb, .ic .tb { transform-box: fill-box; transform-origin: center; }   /* any node/dot that scales must scale in place — also outside .ic (background net, logos) */

/* icons.css: the mark's choreography (verbatim) */
/* Logo choreography mirrored from the study dashboard, at 80% of original speed. */
.hbmark.motion-paused *, .hbmark.motion-paused { animation-play-state: paused !important; }
@keyframes hb-kf-pop       { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes hb-kf-fade-out  { to { opacity: 0; } }
@keyframes hb-kf-draw      { to { stroke-dashoffset: 0; opacity: 1; } }
/* ---------- the Holobiome mark (.hbmark wrapper around .hblogo-intro) ----------
   Base state (no .play/.outro): nothing drawn.
   .play  → intro, ~3.3 s × --spd, `forwards` so it holds:
            0.25s network traces outward from the centre node · 1.35s pill outline draws ·
            2.05s gradient wipes in left→right, lines turn white · 2.7s glow (+ wordmark on login)
   .outro → deactivate, ~2.2 s × --spd, `both` so each element holds the intro's end state until its turn:
            (wordmark sinks) · gradient un-wipes right→left revealing the ink network ·
            outline reappears and un-draws · network retracts inward, nodes pop out
   --spd scales every duration and delay (header uses .775). app.js swaps play → outro → play:
   every data-cycle seconds on the login page, and on hover of the header logo. */
@keyframes hb-kf-node       { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes hb-kf-edge       { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes hb-kf-edge-so    { 0%,100% { stroke-opacity: .45; } 50% { stroke-opacity: 1; } }
@keyframes hb-kf-wipe       { to { transform: scaleX(1); } }
@keyframes hb-kf-unwipe     { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes hb-kf-undraw     { from { stroke-dashoffset: 0; opacity: 1; } to { stroke-dashoffset: var(--len); opacity: 0; } }
@keyframes hb-kf-unpop      { from { transform: scale(1); opacity: 1; } to { transform: scale(0); opacity: 0; } }
@keyframes hb-kf-outline-out{ 0% { opacity: 0; stroke-dashoffset: 0; } 30% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 1480; } }
@keyframes hb-kf-sink       { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(6px); } }
@keyframes hb-kf-mark-glow  { 0% { filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--pill-b) 40%, transparent)); }
                           40% { filter: drop-shadow(0 0 34px color-mix(in srgb, var(--pill-a) 95%, transparent)); }
                           100% { filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--pill-b) 40%, transparent)); } }
@keyframes hb-kf-rise-in    { to { opacity: 1; transform: translateY(0); } }

/* base */
.hbmark { --spd: 1.25; }
.hblogo-intro .trace { stroke: var(--net-ink); stroke-width: 5; }
.hblogo-intro .trace .e { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); opacity: 0; }
.hblogo-intro .trace .n { fill: var(--net-ink); transform: scale(0); opacity: 0; }
.hblogo-intro .outline { stroke: var(--net-ink); stroke-width: 5; stroke-dasharray: 1480; stroke-dashoffset: 1480; opacity: 0; }
.hblogo-intro .wipe { transform-box: view-box; transform-origin: -20px 0; transform: scaleX(0); }
.hblogo-intro .fill .net { stroke-width: 5; }
.hblogo-intro .fill .net .n { animation: hb-kf-node 5.25s ease-in-out infinite !important; animation-delay: calc(var(--i) * -.875s) !important; }
.hblogo-intro .fill .net .e { animation: hb-kf-edge 6.25s ease-in-out infinite !important; animation-delay: calc(var(--i) * -.5625s) !important; }
.login-logo .hbword .w1, .login-logo .hbword .w2 { transform-box: fill-box; }
.login-logo .hbword .w1, .login-logo .hbword .w2, .login-logo .sub { opacity: 0; transform: translateY(6px); }

/* intro */
.hbmark.play .hblogo-intro .trace .e { animation: hb-kf-draw calc(.5s * var(--spd)) ease-out forwards !important; animation-delay: calc((.25s + var(--d) * 1s) * var(--spd)) !important; }
.hbmark.play .hblogo-intro .trace .n { animation: hb-kf-pop calc(.5s * var(--spd)) cubic-bezier(.2,1.4,.4,1) forwards !important; animation-delay: calc((.25s + var(--nd) * 1s) * var(--spd)) !important; }
.hbmark.play .hblogo-intro .outline { animation: hb-kf-draw calc(.9s * var(--spd)) cubic-bezier(.4,0,.2,1) calc(1.35s * var(--spd)) forwards, hb-kf-fade-out calc(.4s * var(--spd)) calc(2.55s * var(--spd)) forwards !important; }
.hbmark.play .hblogo-intro .wipe { animation: hb-kf-wipe calc(.75s * var(--spd)) cubic-bezier(.45,0,.2,1) calc(2.05s * var(--spd)) forwards !important; }
.hbmark.play .mark, .logo .hbmark.play { animation: hb-kf-mark-glow calc(1.1s * var(--spd)) ease-out calc(2.7s * var(--spd)) both !important; }
.login-logo.play .hbword .w1, .login-logo.play .hbword .w2, .login-logo.play .sub { animation: hb-kf-rise-in calc(.6s * var(--spd)) cubic-bezier(.2,.8,.2,1) forwards !important; }
.login-logo.play .hbword .w1 { animation-delay: calc(2.6s * var(--spd)) !important; }
.login-logo.play .hbword .w2 { animation-delay: calc(2.8s * var(--spd)) !important; }
.login-logo.play .sub { animation-delay: calc(3s * var(--spd)) !important; }

/* outro */
.login-logo.outro .sub { animation: hb-kf-sink calc(.4s * var(--spd)) ease-in 0s both !important; }
.login-logo.outro .hbword .w2 { animation: hb-kf-sink calc(.45s * var(--spd)) ease-in calc(.08s * var(--spd)) both !important; }
.login-logo.outro .hbword .w1 { animation: hb-kf-sink calc(.45s * var(--spd)) ease-in calc(.22s * var(--spd)) both !important; }
.hbmark.outro .hblogo-intro .wipe { animation: hb-kf-unwipe calc(.65s * var(--spd)) cubic-bezier(.45,0,.2,1) calc(.35s * var(--spd)) both !important; }
.hbmark.outro .hblogo-intro .fill { animation: hb-kf-fade-out calc(.1s * var(--spd)) calc(.9s * var(--spd)) forwards !important; }
.hbmark.outro .hblogo-intro .outline { animation: hb-kf-outline-out calc(.9s * var(--spd)) cubic-bezier(.4,0,.2,1) calc(.5s * var(--spd)) both !important; }
.hbmark.outro .hblogo-intro .trace .e { animation: hb-kf-undraw calc(.4s * var(--spd)) ease-in both !important; animation-delay: calc((1.05s + (.7 - var(--d)) * 1s) * var(--spd)) !important; }
.hbmark.outro .hblogo-intro .trace .n { animation: hb-kf-unpop calc(.35s * var(--spd)) ease-in both !important; animation-delay: calc((1.15s + (.7 - var(--nd)) * 1s) * var(--spd)) !important; }
.hbmark.outro .mark, .logo .hbmark.outro { animation: hb-kf-mark-glow calc(1s * var(--spd)) ease-out calc(1.1s * var(--spd)) both !important; }

/* header instance: faster, and user-unit strokes thick enough to read at 58 px */
.logo .hbmark { --spd: .775; cursor: pointer; }
.logo .hblogo-intro .trace, .logo .hblogo-intro .outline, .logo .hblogo-intro .fill .net { stroke-width: 14; }
.logo .hblogo-intro .fill .net .n { animation-duration: 5s !important; }

/* style.css: mark, wordmark, ambient network and card entrance (verbatim) */
.bg .hbnet { position: absolute; width: 78vw; min-width: 620px; right: -16vw; top: -10vw; aspect-ratio: 1095 / 806; color: var(--net-ink); stroke: currentColor; stroke-width: 1.3px; overflow: visible; animation: net-drift 60s ease-in-out infinite alternate; }
.bg .hbnet .e { vector-effect: non-scaling-stroke; opacity: var(--net-a); }
.bg .hbnet .nodes { fill: currentColor; }
.bg .hbnet .n { fill: currentColor; opacity: var(--net-a); }
.bg .hbnet .gl { fill: currentColor; opacity: calc(var(--net-a) * .55); filter: blur(18px); }
.bg .hbnet .pulse { fill: var(--pulse); stroke: none; opacity: 0; }
.bg .hbnet .pulse.halo { filter: blur(10px); }
body.login .bg .hbnet .e, body.login .bg .hbnet .n { opacity: var(--net-a-login); }
body.login .bg .hbnet .gl { opacity: calc(var(--net-a-login) * .6); }
body.login .bg .hbnet { stroke-width: 1.5px; }
@keyframes net-drift { to { translate: -2vw 2vw; } }
.logo .mark { width: 58px; height: 29px; display: block; }
.hblogo { display: block; width: 100%; height: 100%; overflow: visible; }
.hblogo .pa { stop-color: var(--pill-a); }
.hblogo .pm { stop-color: var(--pill-m); }
.hblogo .pb { stop-color: var(--pill-b); }
.hblogo .net { stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.hblogo .net .e { vector-effect: non-scaling-stroke; }
.logo .mark { filter: drop-shadow(0 4px 12px color-mix(in srgb, var(--pill-b) 35%, transparent)); }
.hbword { display: block; height: 20px; width: auto; overflow: visible; }
.hbword path { fill: currentColor; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.login-logo .mark { width: 180px; height: 92px; display: block; filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--pill-b) 40%, transparent)); }
.hblogo-intro .net .e, .hblogo-intro .trace .e { vector-effect: none; }
