.link {
    font-weight: 600;
    text-decoration: none;
    color: transparent;
    background-image: linear-gradient(to right, #ea580c 50%, #475569 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-position 0.45s ease-in-out;
}

.link:hover,
.link:focus-visible {
    background-position: 0 0;
}

.link:focus-visible {
    outline: 2px solid var(--line);
    outline-offset: 3px;
    border-radius: 2px;
}

.link[target="_blank"]::after {
    content: "" / " (opens in a new tab)";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-left: 0.2em;
    background-color: #475569;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (prefers-reduced-motion: reduce) {
    .link {
        transition: none;
    }
}
