.activity-page {
    min-height: calc(100vh - 4rem);
    padding: 1.25rem clamp(1rem, 4vw, 3rem) 4rem;
    color: #fff;
    background: #080808;
}

.activity-page__shell {
    width: min(100%, 1280px);
    margin: 0 auto;
}

.activity-switcher {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 3.5rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
    overflow: hidden;
}

.activity-switcher__home,
.activity-switcher__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: .45rem .8rem;
    border: 2px solid #fff;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}

.activity-switcher__home {
    gap: .45rem;
    border-color: var(--color-pop-red);
    background: var(--color-pop-red);
}

.activity-switcher__home span:first-child {
    font-size: 1rem;
    line-height: 1;
}

.activity-switcher__divider {
    display: none;
}

.activity-switcher__list {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.activity-switcher__list::-webkit-scrollbar {
    display: none;
}

.activity-switcher__link {
    white-space: nowrap;
}

.activity-switcher__link:hover,
.activity-switcher__home:hover {
    color: #080808;
    background: var(--color-pop-yellow);
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--color-pop-red);
}

.activity-switcher__link.is-active {
    color: #080808;
    background: var(--color-pop-yellow);
    box-shadow: 3px 3px 0 var(--color-pop-red);
}

.activity-hero {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.activity-hero::after {
    position: absolute;
    right: 1rem;
    bottom: .25rem;
    width: 5rem;
    height: 5rem;
    background-image: radial-gradient(var(--color-pop-red) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    content: "";
    opacity: .85;
    pointer-events: none;
}

.activity-hero__eyebrow {
    margin: 0 0 .6rem;
    color: var(--color-pop-yellow);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.activity-hero__eyebrow span {
    padding: 0 .25rem;
    color: var(--color-pop-red);
}

.activity-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .95;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 var(--color-pop-red);
}

.activity-add-project {
    z-index: 1;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .4rem;
    padding: .65rem .85rem;
    border: 2px solid #080808;
    color: #080808;
    background: var(--color-pop-yellow);
    box-shadow: 3px 3px 0 var(--color-pop-red);
    font-size: .75rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .15s ease, box-shadow .15s ease;
}

.activity-add-project:hover {
    color: #080808;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--color-pop-red);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.project-tile {
    min-width: 0;
}

.project-tile__visual {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    background: #181818;
    box-shadow: 5px 5px 0 var(--color-pop-red);
}

.project-tile__visual img,
.project-tile__visual video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-tile__empty {
    color: var(--color-pop-yellow);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.project-tile__index {
    position: absolute;
    top: .65rem;
    left: .65rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    border: 2px solid #080808;
    border-radius: 50%;
    color: #080808;
    background: var(--color-pop-yellow);
    font-size: .7rem;
    font-weight: 900;
    place-items: center;
}

.project-tile__actions {
    display: flex;
    gap: .5rem;
    padding-top: .75rem;
}

.project-tile__actions a,
.project-tile__actions button {
    padding: .35rem .6rem;
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    font-size: .7rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.project-tile__actions a:hover,
.project-tile__actions button:hover {
    color: #080808;
    background: var(--color-pop-yellow);
}

.activity-empty {
    display: flex;
    min-height: 12rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border: 3px solid #fff;
    box-shadow: 5px 5px 0 var(--color-pop-red);
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.activity-empty a {
    color: var(--color-pop-yellow);
    font-size: .75rem;
    text-decoration: none;
}

@media (max-width: 700px) {
    .activity-switcher {
        margin-bottom: 3rem;
    }

    .activity-switcher__home,
    .activity-switcher__link {
        padding-right: .6rem;
        padding-left: .6rem;
        font-size: .65rem;
    }

    .activity-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .activity-hero::after {
        right: .25rem;
        width: 3.5rem;
        height: 3.5rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .activity-switcher__home,
    .activity-switcher__link,
    .activity-add-project {
        transition: none;
    }
}
