:root {
    --ink: #6b6b6b;
    --ink-muted: #666666;
    --line-faint: rgba(52, 86, 59, 0.25);
    --heartbeat-duration: 4.2s;
    --leaf-duration: 5s;
}

.hero-graphic {
    margin-top:50px;
}

.hero-graphic svg {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
}

.hero-graphic .bg-line {
    stroke: var(--line-faint);
    fill: none;
}

.hero-graphic .beat {
    stroke: var(--ink);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 0 1;
    stroke-dashoffset: 0;
    animation: heartbeatPathTrim var(--heartbeat-duration) linear infinite;
}

    .hero-graphic .leaf {
        transform-origin: 10px 125px;
        transform-box: fill-box;
        animation: heartbeatLeafSway var(--leaf-duration) linear infinite;
    }

.hero-graphic .leaf-outline {
    stroke: var(--ink);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-opacity: 0.55;
}

.hero-graphic .leaf-midrib {
    stroke: var(--ink);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-graphic .leaf-stem {
    stroke: var(--ink);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-opacity: 0.55;
}

.hero-graphic .leaf-vein {
    stroke: var(--ink);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-opacity: 0.35;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s ease forwards;
}

    .fade-up:nth-child(1) {
        animation-delay: 0s;
    }

    .fade-up:nth-child(2) {
        animation-delay: 0.5s;
    }

    .fade-up:nth-child(3) {
        animation-delay: 1s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartbeatPathTrim {
    0% {
        stroke-dasharray: 0 1;
        stroke-dashoffset: 0;
        visibility: hidden;
    }

    14% {
        visibility: visible;
        stroke-dasharray: .35 1;
        stroke-dashoffset: 0;
    }

    73% {
        stroke-dasharray: .35 1;
        stroke-dashoffset: -.65;
    }

    87% {
        stroke-dasharray: 0 1;
        stroke-dashoffset: -1;
        visibility: hidden;
    }

    100% {
        stroke-dasharray: 0 1;
        stroke-dashoffset: -1;
        visibility: hidden;
    }
}

@keyframes heartbeatLeafSway {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(4px, 3px) rotate(2deg); }
    66% { transform: translate(-6px, -4px) rotate(-3deg); }
    88% { transform: translate(3px, 2px) rotate(1.5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}



