|
332 | 332 | 53%, 100% { transform: rotate(0deg); } |
333 | 333 | } |
334 | 334 |
|
335 | | - /* Hub bot wobble — reacts twice per sequence: once when the file lands (~20%) |
336 | | - and once when the key lands (~56%), matching the hub's sequential timing. */ |
| 335 | + /* Hub bot wobble — the same quick ±1.5° rock as the Cryptomator card (0.5% |
| 336 | + steps ≈ the cryp scene's 1% steps on its half-length 5s clock), twice per |
| 337 | + sequence: when the file lands (25%) and when the key lands (75%). */ |
337 | 338 | @keyframes hero-hub-logo-wobble { |
338 | | - 0%, 18% { transform: rotate(0deg); } |
339 | | - 21% { transform: rotate(-5deg); } |
340 | | - 24% { transform: rotate(4deg); } |
341 | | - 27% { transform: rotate(-2deg); } |
342 | | - 30% { transform: rotate(0deg); } |
343 | | - 56% { transform: rotate(0deg); } |
344 | | - 59% { transform: rotate(-5deg); } |
345 | | - 62% { transform: rotate(4deg); } |
346 | | - 65% { transform: rotate(-2deg); } |
347 | | - 68%, 100% { transform: rotate(0deg); } |
348 | | - } |
349 | | - |
350 | | - /* Hub apex wobble — the Hub bot reacts once per sequence, when the fingerprint |
351 | | - reaches it (~38%). */ |
| 339 | + 0%, 25% { transform: rotate(0deg); } |
| 340 | + 25.5% { transform: rotate(-1.5deg); } |
| 341 | + 26% { transform: rotate(1.5deg); } |
| 342 | + 26.5% { transform: rotate(-1.5deg); } |
| 343 | + 27% { transform: rotate(1.5deg); } |
| 344 | + 28%, 75% { transform: rotate(0deg); } |
| 345 | + 75.5% { transform: rotate(-1.5deg); } |
| 346 | + 76% { transform: rotate(1.5deg); } |
| 347 | + 76.5% { transform: rotate(-1.5deg); } |
| 348 | + 77% { transform: rotate(1.5deg); } |
| 349 | + 78%, 100% { transform: rotate(0deg); } |
| 350 | + } |
| 351 | + |
| 352 | + /* Hub apex wobble — same rock, once per sequence, when the fingerprint |
| 353 | + reaches it (50%). */ |
352 | 354 | @keyframes hero-hub-apex-wobble { |
353 | | - 0%, 35% { transform: rotate(0deg); } |
354 | | - 38% { transform: rotate(-5deg); } |
355 | | - 41% { transform: rotate(4deg); } |
356 | | - 44% { transform: rotate(-2deg); } |
357 | | - 47%, 100% { transform: rotate(0deg); } |
| 355 | + 0%, 50% { transform: rotate(0deg); } |
| 356 | + 50.5% { transform: rotate(-1.5deg); } |
| 357 | + 51% { transform: rotate(1.5deg); } |
| 358 | + 51.5% { transform: rotate(-1.5deg); } |
| 359 | + 52% { transform: rotate(1.5deg); } |
| 360 | + 53%, 100% { transform: rotate(0deg); } |
358 | 361 | } |
359 | 362 |
|
360 | 363 | /* ───── Hub scene: a diamond/prism of the four nodes ───── |
|
414 | 417 | .hero-hub-anchor-cloud .hero-scene-icon { animation-delay: -2s; } |
415 | 418 | .hero-cryp-anchor-cloud .hero-scene-icon { animation-delay: -4s; } |
416 | 419 |
|
417 | | - /* Hub traveler — same mechanism as the Cryptomator card (translate3d round |
418 | | - trip), mapped onto the lower V of the diamond: Team (40,92) → bot (160,150) |
419 | | - → Cloud (280,92). The container is anchored on the Team anchor and carries |
420 | | - the position only; the file/vault faces handle fade/scale and only ever fade |
421 | | - while the container holds at a node (never mid-leg). Rest stops sit 26px |
422 | | - inward along each edge, on the dashed-line tips. */ |
| 420 | + /* Hub traveler — same mechanism as the Cryptomator card (translate3d legs, no |
| 421 | + fades), mapped onto the lower V of the diamond: Team (40,90) → bot (160,150) |
| 422 | + → Cloud (280,90). The container is anchored on the Team anchor centre and |
| 423 | + carries the position only; the file/vault faces hard-swap visibility while |
| 424 | + the container is parked behind the opaque bot. Legs start and end exactly on |
| 425 | + the anchor centres, so the pops are hidden behind the discs/logos. */ |
423 | 426 | .hero-hub-traveler { |
424 | 427 | position: absolute; |
425 | | - top: 92px; |
| 428 | + top: 90px; |
426 | 429 | left: 40px; |
427 | 430 | width: 28px; |
428 | 431 | height: 28px; |
|
433 | 436 | transform: translate3d(0, 0, 0); |
434 | 437 | opacity: 0; |
435 | 438 | transition: opacity 0.3s ease; |
436 | | - animation: hero-hub-travel 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; |
| 439 | + animation: hero-hub-travel 10s ease-in-out infinite; |
437 | 440 | will-change: transform; |
438 | 441 | } |
439 | 442 |
|
|
456 | 459 | opacity: 0; |
457 | 460 | filter: drop-shadow(0 0 5px rgba(113, 128, 150, 0.40)); |
458 | 461 | /* Own hub arc (decoupled from the Cryptomator card) so the hub runs its own |
459 | | - sequential timing; same calm no-scale fade style. */ |
460 | | - animation: hero-hub-file-arc 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; |
| 462 | + sequential timing; same instant pop/swap style. */ |
| 463 | + animation: hero-hub-file-arc 10s ease-in-out infinite; |
461 | 464 | } |
462 | 465 |
|
463 | 466 | .hero-hub-traveler-vault { |
|
469 | 472 | line-height: 1; |
470 | 473 | opacity: 0; |
471 | 474 | filter: drop-shadow(0 0 5px rgba(113, 128, 150, 0.40)); |
472 | | - animation: hero-hub-vault-arc 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; |
| 475 | + animation: hero-hub-vault-arc 10s ease-in-out infinite; |
473 | 476 | } |
474 | 477 |
|
475 | | - /* Position-only round trip along the lower V (visibility is owned by the |
476 | | - container's opacity transition; fade/scale by the faces). Same rhythm as the |
477 | | - Cryptomator card — short holds, the token is almost always in motion: |
478 | | - Team-side → bot (4–18) → Cloud-side (22–40) → back (54–68) → home (72–90). */ |
479 | | - /* Sequential story (one encrypt cycle per loop): the container carries the file |
480 | | - Team→bot (4–20%), HOLDS at the bot through the fingerprint (22–38%) and key |
481 | | - (40–56%) steps, then carries the vault bot→Cloud (58–74%), and returns to Team |
482 | | - to restart. */ |
| 478 | + /* Sequential story — four back-to-back quarter legs, no pause: the container |
| 479 | + carries the file Team→bot (0–25%), HOLDS behind the bot through the |
| 480 | + fingerprint (25–50%) and key (50–75%) steps, then carries the vault |
| 481 | + bot→Cloud (75–100%). The loop's 100%→0% snap back to Team happens while |
| 482 | + both faces are invisible behind the Cloud disc / Team disc. */ |
483 | 483 | @keyframes hero-hub-travel { |
484 | | - 0%, 4% { transform: translate3d(23px, 11px, 0); } /* Team side — file sets off */ |
485 | | - 20%, 58% { transform: translate3d(120px, 58px, 0); } /* bot — hold through fingerprint + key */ |
486 | | - 74%, 84% { transform: translate3d(217px, 11px, 0); } /* Cloud side — vault arrived */ |
487 | | - 100% { transform: translate3d(23px, 11px, 0); } /* return to Team for the next cycle */ |
| 484 | + 0% { transform: translate3d(0, 0, 0); } /* Team (40,90) — file sets off immediately */ |
| 485 | + 25%, 75% { transform: translate3d(120px, 60px, 0); } /* bot (160,150) — hold through fingerprint + key */ |
| 486 | + 100% { transform: translate3d(240px, 0, 0); } /* Cloud (280,90) — vault arrives, invisible snap-back */ |
488 | 487 | } |
489 | 488 |
|
490 | | - /* File face — visible only on its Team→bot leg (4–20%); hidden the rest of the |
491 | | - cycle while the fingerprint, key and vault steps play out. */ |
| 489 | + /* File face — visible from 0% on its Team→bot leg; pops away at 25% while |
| 490 | + hidden behind the bot (no fades). */ |
492 | 491 | @keyframes hero-hub-file-arc { |
493 | | - 0% { opacity: 0; } |
494 | | - 4% { opacity: 1; } /* fade in at Team */ |
495 | | - 16% { opacity: 1; } /* travelling to the bot */ |
496 | | - 20% { opacity: 0; } /* melts into the bot (encrypt) */ |
497 | | - 100% { opacity: 0; } |
| 492 | + 0%, 25% { opacity: 1; } /* pops in behind the Team disc, travels to the bot */ |
| 493 | + 25.01%, 100% { opacity: 0; } /* absorbed by the bot (encrypt) */ |
498 | 494 | } |
499 | 495 |
|
500 | | - /* Vault face — appears only after the key has landed, on its bot→Cloud leg |
501 | | - (58–74%). */ |
| 496 | + /* Vault face — pops in behind the bot at 75%, after the key has landed, and |
| 497 | + stays visible until the loop ends behind the Cloud disc. */ |
502 | 498 | @keyframes hero-hub-vault-arc { |
503 | | - 0%, 56% { opacity: 0; } /* hidden until the key has landed on the bot */ |
504 | | - 58% { opacity: 1; } /* fade in at the bot */ |
505 | | - 70% { opacity: 1; } /* travelling to the cloud */ |
506 | | - 74% { opacity: 0; } /* melts into the cloud */ |
507 | | - 100% { opacity: 0; } |
| 499 | + 0%, 75% { opacity: 0; } /* hidden through the file, fingerprint and key steps */ |
| 500 | + 75.01%, 100% { opacity: 1; } /* carries on to the cloud until the loop snaps */ |
508 | 501 | } |
509 | 502 |
|
510 | | - /* Hub key — the Hub issues the vault key down the centre axis (the vertical |
511 | | - mgmt line, x160 y62→118) to the Cryptomator bot, once before each transform: |
512 | | - drop 1 falls at ~8–18% and lands together with the file (encrypt); drop 2 at |
513 | | - ~58–68% together with the returning vault (decrypt). */ |
| 503 | + /* Hub key — the Hub issues the vault key down the centre axis to the |
| 504 | + Cryptomator bot on the third quarter leg (50–75%), after the fingerprint has |
| 505 | + reached the Hub and before the vault sets off. Pops in behind the Hub bot, |
| 506 | + pops away behind the Cryptomator bot. */ |
514 | 507 | .hero-hub-key { |
515 | 508 | position: absolute; |
516 | | - top: 26px; |
| 509 | + top: 30px; |
517 | 510 | left: 160px; |
518 | 511 | width: 28px; |
519 | 512 | height: 28px; |
|
530 | 523 | opacity: 0; |
531 | 524 | filter: drop-shadow(0 0 5px rgba(113, 128, 150, 0.40)); |
532 | 525 | transition: opacity 0.3s ease; |
533 | | - animation: hero-hub-key-drop 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; |
| 526 | + animation: hero-hub-key-drop 10s ease-in-out infinite; |
534 | 527 | will-change: transform, opacity; |
535 | 528 | } |
536 | 529 |
|
537 | 530 | @keyframes hero-hub-key-drop { |
538 | 531 | /* Step 3: only AFTER the fingerprint reaches the Hub does the key drop |
539 | | - Hub -> bot (40-56%). Constant size, single eased fall. */ |
540 | | - 0%, 40% { opacity: 0; transform: translate3d(0, 0, 0); } |
541 | | - 42% { opacity: 1; } |
542 | | - 56% { opacity: 1; } |
543 | | - 58% { opacity: 0; transform: translate3d(0, 124px, 0); } |
544 | | - 80% { opacity: 0; transform: translate3d(0, 0, 0); } |
545 | | - 100% { opacity: 0; transform: translate3d(0, 0, 0); } |
| 532 | + Hub (160,30) -> bot (160,150), 50-75%. Constant size, single eased fall. */ |
| 533 | + 0%, 50% { opacity: 0; transform: translate3d(0, 0, 0); } |
| 534 | + 50.01% { opacity: 1; } |
| 535 | + 75% { opacity: 1; transform: translate3d(0, 120px, 0); } |
| 536 | + 75.01%, 100% { opacity: 0; transform: translate3d(0, 0, 0); } |
546 | 537 | } |
547 | 538 |
|
548 | 539 | /* Auth request — per the Hub security docs the member authenticates against |
549 | 540 | Hub, which then issues the key; Hub itself NEVER talks to the cloud storage |
550 | 541 | (zero knowledge), so the Hub↔Cloud edge deliberately stays static. A small |
551 | | - fingerprint runs Team → Hub along the mgmt edge right before each key drop |
552 | | - (~0–8% ahead of encrypt, ~46–54% ahead of decrypt while the vault rests in |
553 | | - the cloud), and the edge brightens as the request passes. */ |
| 542 | + fingerprint runs Team → Hub along the mgmt edge on the second quarter leg |
| 543 | + (25–50%), between the file landing on the bot and the key drop, and the edge |
| 544 | + brightens as the request passes. */ |
554 | 545 | .hero-hub-auth { |
555 | 546 | position: absolute; |
556 | | - top: 92px; |
| 547 | + top: 90px; |
557 | 548 | left: 40px; |
558 | 549 | width: 24px; |
559 | 550 | height: 24px; |
|
570 | 561 | opacity: 0; |
571 | 562 | filter: drop-shadow(0 0 5px rgba(113, 128, 150, 0.40)); |
572 | 563 | transition: opacity 0.3s ease; |
573 | | - animation: hero-hub-auth-run 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; |
| 564 | + animation: hero-hub-auth-run 10s ease-in-out infinite; |
574 | 565 | will-change: transform, opacity; |
575 | 566 | } |
576 | 567 |
|
577 | | - /* Runs the Team→Hub edge (x62 y80 → x128 y43), stopping ~88% along so it is |
578 | | - absorbed at the Hub rather than crowding its logo. */ |
579 | 568 | @keyframes hero-hub-auth-run { |
580 | 569 | /* Step 2: only AFTER the file reaches the bot does the fingerprint run |
581 | | - Team -> Hub (22-38%). Constant size, single eased run. */ |
582 | | - 0%, 20% { opacity: 0; transform: translate3d(0, 0, 0); } |
583 | | - 22% { opacity: 1; } |
584 | | - 38% { opacity: 1; } |
585 | | - 40% { opacity: 0; transform: translate3d(120px, -66px, 0); } |
586 | | - 62% { opacity: 0; transform: translate3d(0, 0, 0); } |
587 | | - 100% { opacity: 0; transform: translate3d(0, 0, 0); } |
| 570 | + Team (40,90) -> Hub (160,30), 25-50%. Pops in behind the Team disc, pops |
| 571 | + away behind the Hub bot. Constant size, single eased run. */ |
| 572 | + 0%, 25% { opacity: 0; transform: translate3d(0, 0, 0); } |
| 573 | + 25.01% { opacity: 1; } |
| 574 | + 50% { opacity: 1; transform: translate3d(120px, -60px, 0); } |
| 575 | + 50.01%, 100% { opacity: 0; transform: translate3d(0, 0, 0); } |
588 | 576 | } |
589 | 577 |
|
590 | 578 | .hero-hub-link-mgmt-team { |
591 | 579 | animation: hero-hub-authorize-team 10s cubic-bezier(0.4, 0, 0.2, 1) infinite; |
592 | 580 | } |
593 | 581 |
|
594 | 582 | @keyframes hero-hub-authorize-team { |
595 | | - /* Edge brightens while the fingerprint runs Team -> Hub (20-40%). */ |
596 | | - 0%, 20% { opacity: 0.28; } |
597 | | - 24% { opacity: 0.6; } |
598 | | - 38% { opacity: 0.6; } |
599 | | - 40%, 100% { opacity: 0.28; } |
| 583 | + /* Edge brightens while the fingerprint runs Team -> Hub (25-50%). */ |
| 584 | + 0%, 25% { opacity: 0.28; } |
| 585 | + 29% { opacity: 0.6; } |
| 586 | + 46% { opacity: 0.6; } |
| 587 | + 50%, 100% { opacity: 0.28; } |
600 | 588 | } |
601 | 589 |
|
602 | 590 | /* Calm at rest, alive on hover. Animations are disabled by default |
|
631 | 619 | .hero-panel:hover .hero-cryp-traveler-vault { animation-name: hero-cryp-vault-arc; } |
632 | 620 | .hero-panel:hover .hero-cryp-scene .hero-scene-logo-img { animation-name: hero-cryp-logo-wobble; } |
633 | 621 |
|
634 | | - /* Hub scene — same rhythm and wobble as the Cryptomator card on the |
635 | | - diamond's lower V, with the auth/key accents riding the same cycle: |
636 | | - auth → key + file in (encrypt) → vault to cloud → auth → key + vault |
637 | | - back (decrypt) → file home. */ |
| 622 | + /* Hub scene — four back-to-back quarter legs per 10s cycle: file Team→bot, |
| 623 | + fingerprint Team→Hub, key Hub→bot, vault bot→Cloud, with a wobble at each |
| 624 | + quarter mark (bot 25%, Hub 50%, bot 75%). */ |
638 | 625 | .hero-panel:hover .hero-hub-traveler { animation-name: hero-hub-travel; } |
639 | 626 | .hero-panel:hover .hero-hub-traveler-file { animation-name: hero-hub-file-arc; } |
640 | 627 | .hero-panel:hover .hero-hub-traveler-vault { animation-name: hero-hub-vault-arc; } |
|
0 commit comments