|
209 | 209 | white-space: nowrap; |
210 | 210 | } |
211 | 211 |
|
212 | | - /* Logo: identical halo on both scenes; the wobble animation is assigned per |
213 | | - scene (name + clock) next to each scene's other rules. */ |
| 212 | + /* Logo: the scene's centre bot; the wobble animation is assigned per scene |
| 213 | + (name + clock) next to each scene's other rules. */ |
214 | 214 | .hero-scene-logo { |
215 | 215 | position: absolute; |
216 | 216 | top: 90px; |
217 | 217 | left: 160px; |
218 | 218 | width: 96px; |
219 | 219 | height: 96px; |
220 | | - border-radius: 50%; |
221 | | - background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 14%, transparent) 0%, transparent 70%); |
222 | 220 | transform: translate(-50%, -50%); |
223 | 221 | display: flex; |
224 | 222 | align-items: center; |
|
324 | 322 | 53%, 100% { transform: rotate(0deg); } |
325 | 323 | } |
326 | 324 |
|
327 | | - /* Hub bot wobble — the same quick ±1.5° rock as the Cryptomator card (0.5% |
328 | | - steps ≈ the cryp scene's 1% steps on its half-length 5s clock), twice per |
329 | | - sequence: when the file lands (25%) and when the key lands (75%). */ |
330 | | - @keyframes hero-hub-logo-wobble { |
| 325 | + /* Cryptomator (top) wobble — the same quick ±1.5° rock as the Cryptomator |
| 326 | + card (0.5% steps ≈ the cryp scene's 1% steps on its half-length 5s clock), |
| 327 | + twice per sequence: when the file lands (25%) and when the key lands (75%). */ |
| 328 | + @keyframes hero-hub-top-wobble { |
331 | 329 | 0%, 25% { transform: rotate(0deg); } |
332 | 330 | 25.5% { transform: rotate(-1.5deg); } |
333 | 331 | 26% { transform: rotate(1.5deg); } |
|
341 | 339 | 78%, 100% { transform: rotate(0deg); } |
342 | 340 | } |
343 | 341 |
|
344 | | - /* Hub apex wobble — same rock, once per sequence, when the fingerprint |
345 | | - reaches it (50%). */ |
346 | | - @keyframes hero-hub-apex-wobble { |
| 342 | + /* Hub bot (bottom) wobble — same rock, once per sequence, when the |
| 343 | + fingerprint reaches it (50%). */ |
| 344 | + @keyframes hero-hub-bot-wobble { |
347 | 345 | 0%, 50% { transform: rotate(0deg); } |
348 | 346 | 50.5% { transform: rotate(-1.5deg); } |
349 | 347 | 51% { transform: rotate(1.5deg); } |
|
353 | 351 | } |
354 | 352 |
|
355 | 353 | /* ───── Hub scene: a diamond/prism of the four nodes ───── |
356 | | - Hub (top), Team (left), Cloud (right) and Cryptomator (bottom) form a |
357 | | - diamond, keeping the same outer width as the Cryptomator card. Data flows |
358 | | - along the lower V (Team → Cryptomator → Cloud); the Hub oversees from the |
359 | | - apex, connected down the top edges and a center axis to all three, and |
360 | | - issues the vault key down that axis to the bot. */ |
| 354 | + Cryptomator (top), Team (left), Cloud (right) and the Hub bot (bottom) |
| 355 | + form a diamond, keeping the same outer width as the Cryptomator card. Data |
| 356 | + flows along the upper V (Team → Cryptomator → Cloud); the Hub oversees |
| 357 | + from the bottom, connected along the lower edges and the center axis, and |
| 358 | + issues the vault key up that axis to the Cryptomator bot. */ |
361 | 359 |
|
362 | 360 | .hero-hub-anchor-team { top: 90px; left: 40px; } |
363 | 361 | .hero-hub-anchor-cloud { top: 90px; left: 280px; } |
364 | | - .hero-hub-anchor-hub { top: 30px; left: 160px; } |
| 362 | + .hero-hub-anchor-cryp { top: 30px; left: 160px; } |
365 | 363 |
|
366 | | - /* Hub is the subject of this card — its bot sits above the center at a slightly |
367 | | - reduced size (the tight viewBox makes it read large) so it stays balanced |
368 | | - within the scene, with a soft secondary glow + drop-shadow. */ |
| 364 | + /* The Cryptomator bot sits above the center at a slightly reduced size so it |
| 365 | + stays balanced within the scene. */ |
369 | 366 | .hero-hub-anchor-img { |
370 | 367 | width: 44px; |
371 | 368 | height: 44px; |
372 | 369 | object-fit: contain; |
373 | | - filter: |
374 | | - drop-shadow(0 3px 9px rgba(47, 72, 88, 0.30)) |
375 | | - drop-shadow(0 0 1px rgba(47, 72, 88, 0.35)); |
376 | 370 | transform-origin: center bottom; |
377 | | - animation: hero-hub-apex-wobble var(--scene-cycle) ease-in-out infinite; |
| 371 | + animation: hero-hub-top-wobble var(--scene-cycle) ease-in-out infinite; |
378 | 372 | } |
379 | 373 |
|
380 | | - /* Cryptomator sits at the bottom vertex of the diamond at full size, the same |
381 | | - as the bot on the Cryptomator card (only the position differs). */ |
| 374 | + /* Hub bot — bottom vertex of the diamond. */ |
382 | 375 | .hero-hub-scene .hero-scene-logo { |
383 | 376 | top: 150px; |
384 | 377 | width: 78px; |
385 | 378 | height: 78px; |
386 | 379 | } |
387 | 380 |
|
388 | 381 | .hero-hub-scene .hero-scene-logo-img { |
389 | | - width: 52px; |
390 | | - animation: hero-hub-logo-wobble var(--scene-cycle) ease-in-out infinite; |
| 382 | + /* 52px like the old unpadded asset would get, scaled up by the canvas's |
| 383 | + key-centering padding (988/887) so the drawn bot keeps its size. */ |
| 384 | + width: 58px; |
| 385 | + animation: hero-hub-bot-wobble var(--scene-cycle) ease-in-out infinite; |
391 | 386 | } |
392 | 387 |
|
393 | 388 | /* Idle breathing — the outer anchor icons scale gently, offset in time so the |
|
402 | 397 | .hero-cryp-anchor-cloud .hero-scene-icon { animation-delay: -4s; } |
403 | 398 |
|
404 | 399 | /* Hub traveler — same shared scaffold as the Cryptomator card, mapped onto |
405 | | - the lower V of the diamond: Team (40,90) → bot (160,150) → Cloud (280,90). |
406 | | - Legs start and end exactly on the anchor centres, so the pops are hidden |
407 | | - behind the discs/logos. */ |
| 400 | + the upper V of the diamond: Team (40,90) → Cryptomator (160,30) → Cloud |
| 401 | + (280,90). Legs start and end exactly on the anchor centres, so the pops |
| 402 | + are hidden behind the discs/logos. */ |
408 | 403 | .hero-hub-traveler { animation: hero-hub-travel var(--scene-cycle) ease-in-out infinite; } |
409 | 404 | .hero-hub-traveler-file { animation: hero-hub-file-arc var(--scene-cycle) ease-in-out infinite; } |
410 | 405 | .hero-hub-traveler-vault { animation: hero-hub-vault-arc var(--scene-cycle) ease-in-out infinite; } |
411 | 406 |
|
412 | 407 | /* Sequential story — four back-to-back quarter legs, no pause: the container |
413 | | - carries the file Team→bot (0–25%), HOLDS behind the bot through the |
414 | | - fingerprint (25–50%) and key (50–75%) steps, then carries the vault |
415 | | - bot→Cloud (75–100%). The loop's 100%→0% snap back to Team happens while |
416 | | - both faces are invisible behind the Cloud disc / Team disc. */ |
| 408 | + carries the file Team→Cryptomator (0–25%), HOLDS behind the Cryptomator |
| 409 | + logo through the fingerprint (25–50%) and key (50–75%) steps, then carries |
| 410 | + the vault Cryptomator→Cloud (75–100%). The loop's 100%→0% snap back to |
| 411 | + Team happens while both faces are invisible behind the Cloud disc / Team |
| 412 | + disc. */ |
417 | 413 | @keyframes hero-hub-travel { |
418 | | - 0% { transform: translate3d(0, 0, 0); } /* Team (40,90) — file sets off immediately */ |
419 | | - 25%, 75% { transform: translate3d(120px, 60px, 0); } /* bot (160,150) — hold through fingerprint + key */ |
420 | | - 100% { transform: translate3d(240px, 0, 0); } /* Cloud (280,90) — vault arrives, invisible snap-back */ |
| 414 | + 0% { transform: translate3d(0, 0, 0); } /* Team (40,90) — file sets off immediately */ |
| 415 | + 25%, 75% { transform: translate3d(120px, -60px, 0); } /* Cryptomator (160,30) — hold through fingerprint + key */ |
| 416 | + 100% { transform: translate3d(240px, 0, 0); } /* Cloud (280,90) — vault arrives, invisible snap-back */ |
421 | 417 | } |
422 | 418 |
|
423 | | - /* File face — visible from 0% on its Team→bot leg; pops away at 25% while |
424 | | - hidden behind the bot (no fades). */ |
| 419 | + /* File face — visible from 0% on its Team→Cryptomator leg; pops away at 25% |
| 420 | + while hidden behind the Cryptomator logo (no fades). */ |
425 | 421 | @keyframes hero-hub-file-arc { |
426 | | - 0%, 25% { opacity: 1; } /* pops in behind the Team disc, travels to the bot */ |
427 | | - 25.01%, 100% { opacity: 0; } /* absorbed by the bot (encrypt) */ |
| 422 | + 0%, 25% { opacity: 1; } /* pops in behind the Team disc, travels to the Cryptomator logo */ |
| 423 | + 25.01%, 100% { opacity: 0; } /* absorbed by the Cryptomator bot (encrypt) */ |
428 | 424 | } |
429 | 425 |
|
430 | | - /* Vault face — pops in behind the bot at 75%, after the key has landed, and |
431 | | - stays visible until the loop ends behind the Cloud disc. */ |
| 426 | + /* Vault face — pops in behind the Cryptomator logo at 75%, after the key has |
| 427 | + landed, and stays visible until the loop ends behind the Cloud disc. */ |
432 | 428 | @keyframes hero-hub-vault-arc { |
433 | 429 | 0%, 75% { opacity: 0; } /* hidden through the file, fingerprint and key steps */ |
434 | 430 | 75.01%, 100% { opacity: 1; } /* carries on to the cloud until the loop snaps */ |
|
453 | 449 | transition: opacity 0.3s ease; |
454 | 450 | } |
455 | 451 |
|
456 | | - /* Hub key — the Hub issues the vault key down the centre axis to the |
457 | | - Cryptomator bot on the third quarter leg (50–75%), after the fingerprint has |
458 | | - reached the Hub and before the vault sets off. Pops in behind the Hub bot, |
459 | | - pops away behind the Cryptomator bot. */ |
| 452 | + /* Hub key — the Hub issues the vault key up the centre axis to the |
| 453 | + Cryptomator bot on the third quarter leg (50–75%), after the fingerprint |
| 454 | + has reached the Hub and before the vault sets off. Pops in behind the Hub |
| 455 | + bot, pops away behind the Cryptomator logo. */ |
460 | 456 | .hero-hub-key { |
461 | | - top: 30px; |
| 457 | + top: 150px; |
462 | 458 | left: 160px; |
463 | 459 | width: 28px; |
464 | 460 | height: 28px; |
465 | 461 | margin-top: -14px; |
466 | 462 | margin-left: -14px; |
467 | | - animation: hero-hub-key-drop var(--scene-cycle) ease-in-out infinite; |
| 463 | + animation: hero-hub-key-rise var(--scene-cycle) ease-in-out infinite; |
468 | 464 | } |
469 | 465 |
|
470 | | - @keyframes hero-hub-key-drop { |
471 | | - /* Step 3: only AFTER the fingerprint reaches the Hub does the key drop |
472 | | - Hub (160,30) -> bot (160,150), 50-75%. Constant size, single eased fall. */ |
| 466 | + @keyframes hero-hub-key-rise { |
| 467 | + /* Step 3: only AFTER the fingerprint reaches the Hub does the key rise |
| 468 | + Hub (160,150) -> Cryptomator (160,30), 50-75%. Constant size, single |
| 469 | + eased climb. */ |
473 | 470 | 0%, 50% { opacity: 0; transform: translate3d(0, 0, 0); } |
474 | 471 | 50.01% { opacity: 1; } |
475 | | - 75% { opacity: 1; transform: translate3d(0, 120px, 0); } |
| 472 | + 75% { opacity: 1; transform: translate3d(0, -120px, 0); } |
476 | 473 | 75.01%, 100% { opacity: 0; transform: translate3d(0, 0, 0); } |
477 | 474 | } |
478 | 475 |
|
479 | 476 | /* Auth request — per the Hub security docs the member authenticates against |
480 | 477 | Hub, which then issues the key; Hub itself NEVER talks to the cloud storage |
481 | 478 | (zero knowledge), so the Hub↔Cloud edge deliberately stays static. A small |
482 | 479 | fingerprint runs Team → Hub along the mgmt edge on the second quarter leg |
483 | | - (25–50%), between the file landing on the bot and the key drop. */ |
| 480 | + (25–50%), between the file landing on the Cryptomator logo and the key |
| 481 | + rise. */ |
484 | 482 | .hero-hub-auth { |
485 | 483 | top: 90px; |
486 | 484 | left: 40px; |
|
492 | 490 | } |
493 | 491 |
|
494 | 492 | @keyframes hero-hub-auth-run { |
495 | | - /* Step 2: only AFTER the file reaches the bot does the fingerprint run |
496 | | - Team (40,90) -> Hub (160,30), 25-50%. Pops in behind the Team disc, pops |
497 | | - away behind the Hub bot. Constant size, single eased run. */ |
| 493 | + /* Step 2: only AFTER the file reaches the Cryptomator logo does the |
| 494 | + fingerprint run Team (40,90) -> Hub (160,150), 25-50%. Pops in behind |
| 495 | + the Team disc, pops away behind the Hub bot. Constant size, single |
| 496 | + eased run. */ |
498 | 497 | 0%, 25% { opacity: 0; transform: translate3d(0, 0, 0); } |
499 | 498 | 25.01% { opacity: 1; } |
500 | | - 50% { opacity: 1; transform: translate3d(120px, -60px, 0); } |
| 499 | + 50% { opacity: 1; transform: translate3d(120px, 60px, 0); } |
501 | 500 | 50.01%, 100% { opacity: 0; transform: translate3d(0, 0, 0); } |
502 | 501 | } |
503 | 502 |
|
|
0 commit comments