.screens-page {
    width: min(1600px, calc(100% - 64px));
    margin: 0 auto;
    padding: 96px 0 120px;
}

.screens-header {
    max-width: 980px;
    margin-bottom: 54px;
}

.screens-header h1,
.screens-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: .95;
    letter-spacing: -.055em;
}

.screens-header p {
    max-width: 780px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.85;
}

.screens-section {
    margin-top: 104px;
    scroll-margin-top: 96px;
}

.screens-subheader h2 {
    font-size: clamp(2.6rem, 6vw, 5.3rem);
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.screen-card {
    border: 1px solid var(--line);
    background: rgba(3, 7, 13, .78);
}

.screen-image-button {
    display: block;
    width: 100%;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #05070a;
    cursor: zoom-in;
}

.screen-image-button img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: contain;
    background: #000;
}

.screen-image-button:hover,
.screen-image-button:focus-visible {
    outline: 1px solid rgba(42,168,255,.55);
    outline-offset: -1px;
}

.screen-copy {
    padding: 24px 26px 28px;
}

.screen-number {
    color: var(--blue);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.screen-copy h2 {
    margin: 12px 0 10px;
    color: #fff;
    font-size: clamp(1.5rem, 2.7vw, 2.4rem);
    letter-spacing: -.03em;
}

.screen-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.screen-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0,0,0,.9);
}

.screen-lightbox.is-open {
    display: flex;
}

.screen-lightbox-dialog {
    position: relative;
    width: min(1500px, 96vw);
    max-height: 92vh;
}

.screen-lightbox-image {
    display: block;
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
    background: #000;
}

.screen-lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: #05070a;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 820px) {
    .screens-page {
        width: min(100% - 28px, 1600px);
        padding: 68px 0 80px;
    }

    .screens-header {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .screens-header p {
        margin-left: auto;
        margin-right: auto;
    }

    .screens-section {
        margin-top: 76px;
    }

    .screens-grid {
        grid-template-columns: 1fr;
    }

    .screen-image-button img {
        height: auto;
        max-height: 520px;
    }

    .screen-lightbox {
        padding: 18px;
    }

    .screen-lightbox-close {
        top: 8px;
        right: 8px;
    }
}
