.view-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem;
}

@media (max-width: 600px) {
    .site-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }
}

/* ==========================
   Header
========================== */

.site-header {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
}

.logo {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-decoration: none;
    color: white;
    margin-bottom: 0;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0;
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.site-nav a:visited {
    color: white;
}

.site-nav a:hover {
    opacity: 0.7;
}

.site-nav a.active {
    opacity: 1;
    font-weight: 700;
}

/* ==========================
   GIF Modal
========================== */

.gif-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: grid;
    place-items: center;

    padding: 2rem;
    background: rgba(0, 0, 0, 0.82);
}

.gif-modal[hidden] {
    display: none;
}

.gif-modal img {
    max-width: min(90vw, 900px);
    max-height: 85vh;
    object-fit: contain;
}

.modal-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;

    border: 0;
    background: transparent;
    color: white;

    font-size: 3rem;
    line-height: 1;

    cursor: pointer;
}

/* ==========================
   Cycle / Skit layout
========================== */

.cycle {
    width: 100%;
}

.skit {
    width: 100%;
    margin-bottom: 2.5rem;
    padding-bottom: 3rem;
}

.skit + .skit {
    padding-top: 2rem;
}


/* ==========================
   GIF moments
========================== */

.skit-gifs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;

    gap: 1rem;
    width: 85%;
    margin: 0 auto 2rem;
}

.artwork-trigger {
    flex: 0 0 105px;

    width: 105px;
    height: 105px;
    aspect-ratio: 1 / 1;

    padding: 0;
    border: 0;
    background: transparent;

    cursor: pointer;
    overflow: hidden;
}

.artwork-trigger img {
    display: block;

    width: 105px;
    height: 105px;

    object-fit: cover;
}

.artwork-trigger:focus-visible {
    outline: 4px solid white;
    outline-offset: 5px;
}


/* ==========================
   Featured skit
========================== */

.skit-feature {
    display: grid;
    grid-template-columns: minmax(0, 450px) minmax(0, 1fr);

    gap: 3.5rem;
    align-items: center;

    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.skit-image {
    display: block;
    width: 100%;
}

.skit-image img {
    display: block;

    width: 100%;
    height: auto;
    padding-bottom: 2rem;
}

.skit-info {
    min-width: 0;
    align-self: center;
}

.skit-info h2 {
    margin: 0 0 0.75rem;

    font-size: clamp(2rem, 3vw, 4rem);
    line-height: 1;

    color: white;
}

.skit-number {
    margin: 0 0 1.75rem;

    font-size: clamp(1.25rem, 1.6vw, 1.55rem);
    font-weight: 700;

    color: #2F2F2F;
}

.skit-description {
    max-width: 620px;
    margin: 0 0 1.75rem;

    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    line-height: 1.4;

    color: #3A3A3A;
}

.skit-watch {
    display: inline-block;

    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 700;

    color: #0066CC;
    text-decoration: underline;

    padding-bottom: 0;
    border-bottom: 0;
}

.skit-watch:hover {
    opacity: 0.7;
}

/* ==========================
   Footer
========================== */

.site-footer {
    margin-top: 5rem;
    padding: 2.5rem 1rem;

    background-color: #84A92A;
    border-top: 2px solid rgba(255,255,255,.35);

    text-align: center;
}

.site-footer a {
    color: white;
    font-size: 2rem;
    text-decoration: none;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.site-footer a:hover {
    opacity: .75;
    transform: scale(1.1);
}

.site-footer p {
    color: white;
    margin-top: 1rem;
    margin-bottom: 0;

    font-size: .9rem;
    letter-spacing: .05em;
}


/* ==========================
   Responsive
========================== */

@media (max-width: 1000px) {

    .skit-gifs {
        gap: 1.5rem;
    }

    .artwork-trigger {
        flex-basis: 150px;

        width: 150px;
        height: 150px;
    }

    .skit-feature {
        grid-template-columns: minmax(0, 450px) minmax(0, 1fr);

        gap: 2rem;
    }
}


@media (max-width: 800px) {

    .view-page {
        padding: 2rem 1rem;
    }

    .skit-gifs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        gap: 0.75rem;

        margin-bottom: 2.5rem;
    }

    .artwork-trigger {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .skit-feature {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }

    .skit-image {
        max-width: 600px;
    }
}


@media (max-width: 500px) {

    .skit-gifs {
        gap: 0.5rem;
    }

    .skit-info h2 {
        font-size: 1.6rem;
    }

    .skit-number {
        font-size: 1.1rem;
    }
}