.home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    min-height: 380px;
    padding-block: 2rem;
}

.home-hero__title {
    margin: 0;
    max-width: 17em;
    color: #fff;
    font-size: clamp(2.25rem, 3.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.14;
    text-wrap: balance;
}

.home-hero__title span {
    display: block;
    color: #b983ff;
}

.home-hero__description {
    max-width: 35em;
    margin-top: 1.125rem;
    color: #c4bfd1;
    font-size: 1rem;
    line-height: 1.75;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.home-hero__primary {
    min-height: 48px;
    padding-inline: 1.375rem;
}

.home-hero__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    color: #d6cde5;
    font-size: 0.875rem;
    font-weight: 500;
    text-underline-offset: 0.3em;
    transition: color 160ms ease;
}

.home-hero__secondary:hover {
    color: #fff;
    text-decoration: underline;
}

.home-hero__actions a:focus-visible,
.home-marketplace__link:focus-visible {
    outline: 2px solid #c4a2ff;
    outline-offset: 5px;
}

.home-hero__art {
    position: relative;
    width: 100%;
    max-width: 400px;
    justify-self: end;
    margin: 0;
}

.home-hero__mobile-swap {
    display: none;
}

.home-hero__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.home-marketplace__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-marketplace__title {
    color: #fff;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.3;
}

.home-marketplace__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 44px;
    flex-shrink: 0;
    color: #c29aff;
    font-size: 0.8125rem;
    font-weight: 500;
}

.home-marketplace__link:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .home-hero__inner {
        grid-template-areas: "headline artwork" "description description" "actions actions";
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 0.875rem 0.75rem;
        min-height: 0;
        padding-block: 1.5rem 1.75rem;
    }

    .home-hero__copy {
        display: contents;
    }

    .home-hero__title {
        grid-area: headline;
        font-size: clamp(1.5rem, 6.8vw, 2.125rem);
        line-height: 1.2;
        text-wrap: initial;
    }

    .home-hero__description {
        grid-area: description;
        max-width: 38em;
        margin: 0;
        font-size: 0.875rem;
        line-height: 1.7;
    }

    .home-hero__actions {
        grid-area: actions;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin: 0;
    }

    .home-hero__art {
        grid-area: artwork;
        width: 112px;
    }

    .home-hero__mobile-swap {
        position: absolute;
        top: 50%;
        left: 50%;
        display: flex;
        width: 26px;
        height: 26px;
        align-items: center;
        justify-content: center;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: #1c1030;
        color: #d7b5ff;
        font-size: 24px;
        font-variation-settings: 'wght' 600;
    }

    .home-hero__primary {
        font-size: 0.875rem;
    }

    .home-marketplace__heading {
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.875rem;
    }

    .home-marketplace__link {
        font-size: 0.75rem;
    }
}

@media (max-width: 359px) {
    .home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 92px;
    }

    .home-hero__art {
        width: 92px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__actions a {
        transition: none;
        transform: none;
    }
}
