/* Roster icon parade inside the dino card art: two free-floating rows at
   different depths (small dim herd behind, large bright one in front) drifting
   at different speeds for parallax. Each row holds two identical icon runs so
   a -50% translate loops seamlessly; per-icon lift, tilt, spacing, tint, and
   bob phase are computed in JS identically for both runs. Falls back to the
   centered dragon glyph if icons never load. */
.home-dino-marquee {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.home-dino-marquee-row {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    width: max-content;
}
.home-dino-marquee-row.row-back {
    top: 14px;
    opacity: 0.28;
}
.home-dino-marquee-row.row-front {
    bottom: 16px;
}
.hd-ico {
    display: block;
    flex: 0 0 auto;
}
.hd-ico img {
    display: block;
    object-fit: contain;
}
.row-back .hd-ico img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}
.row-front .hd-ico img {
    width: 92px;
    height: 92px;
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.65));
}
/* Every so often one of the silhouettes walks by in brand gold. */
.row-front .hd-ico.is-gold img {
    filter: sepia(1) saturate(2.4) hue-rotate(-12deg) brightness(1.04) drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.65));
}
@media (prefers-reduced-motion: no-preference) {
    .home-dino-marquee-row.is-live {
        animation: dino-marquee linear infinite;
    }

    .home-dino-marquee-row.row-front.is-live {
        animation-duration: 32s;
    }

    .home-dino-marquee-row.row-back.is-live {
        animation-duration: 74s;
    }

    .home-card:hover .home-dino-marquee-row.is-live {
        animation-play-state: paused;
    }

    .home-dino-marquee-row .hd-ico img {
        animation: hd-bob 3.4s ease-in-out infinite;
        animation-delay: var(--bob-delay, 0s);
    }

    @keyframes hd-bob {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-7px); }
    }

    @keyframes dino-marquee {
        to { transform: translateX(-50%); }
    }
}
.home-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 26px 26px;
}
.home-card-body .kicker {
    margin-bottom: 10px;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
}
.home-card-body h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.home-card-body .section-text {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}
.home-card-features {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    color: var(--text);
    font-size: 0.92rem;
}
.home-card-features i {
    width: 22px;
    color: var(--accent);
    text-align: center;
}
.home-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 16px;
    border: 2px solid var(--border);
    background: var(--panel-deep);
    color: var(--text);
    font-weight: 600;
    box-shadow: var(--shadow-m);
    transition: border-color 0.12s linear, color 0.12s linear;
}
.home-card-cta i {
    transition: transform 0.15s ease;
}
.home-card:hover .home-card-cta {
    border-color: var(--border-strong);
    color: var(--accent-strong);
}
.home-card:hover .home-card-cta i {
    transform: translateX(4px);
}
