@media (min-width: 768px) {
    html[data-profile-layout]:not([data-profile-layout="intro"]) .profile-link-content {
        position: relative;
        isolation: isolate;
        width: min(100%, 39rem);
    }

    html[data-profile-layout]:not([data-profile-layout="intro"]) .profile-link-content::before {
        content: "";
        position: absolute;
        z-index: -1;
        pointer-events: none;
        background: url("field.svg") center / contain no-repeat;
        filter: var(--gaussian-filter, none);
    }

    html[data-profile-layout="beside"] .profile-link-content {
        display: grid;
        grid-template-columns: minmax(0, 58%) 1fr;
        padding-block: 1.6rem;
    }

    html[data-profile-layout="beside"] .profile-link-content > * {
        grid-column: 1;
    }

    html[data-profile-layout="beside"] .profile-link-content::before {
        inset: -2.75rem -0.25rem -2.75rem 55%;
        background-position: right center;
    }

    html[data-profile-layout="behind"] .profile-link-content {
        padding: 2rem clamp(1rem, 4vw, 3rem);
        border: 0;
    }

    html[data-profile-layout="behind"] .profile-link-content::before {
        inset: -4.5rem 0;
        background-size: 100% auto;
        mask-image:
            linear-gradient(to right, transparent, #0004 34%, #000b 57%, #000 74%),
            radial-gradient(ellipse 48% 27% at 39% 54%, #0005 40%, #000c 70%, #000 100%);
        mask-composite: intersect;
    }

    html[data-profile-layout="above"] .profile-link-content {
        padding: 9rem 1rem 1.25rem;
        border: 0;
        text-align: center;
    }

    html[data-profile-layout="above"] .profile-link-content::before {
        inset: 0 0 auto;
        height: 9rem;
        background-size: min(81%, 20rem) auto;
    }

    html[data-profile-layout="above"] .profile-link-list {
        justify-content: center;
    }

    /* Replace the older finishing accents when a profile illustration is selected. */
    html[data-profile-layout]:not([data-profile-layout="intro"])[data-gaussian="scattered"] #project-grid::before,
    html[data-profile-layout]:not([data-profile-layout="intro"])[data-gaussian="drift"] #project-grid::after,
    html[data-profile-layout]:not([data-profile-layout="intro"])[data-gaussian="breaks"] #profile-links::before {
        display: none;
    }
}

html[data-profile-layout="intro"] .profile-links {
    max-width: 100%;
    padding: .1rem 0 .35rem;
}

html[data-profile-layout="intro"] .profile-link-content {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
}

html[data-profile-layout="intro"] .profile-link-content h2 {
    display: none;
}

html[data-profile-layout="intro"] .profile-link-list {
    justify-content: center;
    gap: .3rem 1.1rem;
}

html[data-profile-layout="intro"] .profile-link-list a {
    padding: .1rem 0;
    color: #35383a;
    font-size: .92rem;
    text-decoration: underline;
    text-decoration-color: #aa947a;
    text-underline-offset: .22em;
}

html[data-profile-layout="intro"] .profile-link-list .btn {
    border: 0;
    border-radius: 0;
    background: none;
    font-weight: 600;
    line-height: inherit;
}
