/* home page */

.home-hero {
    position: relative;
    height: 820px;
    overflow: hidden;
}

/* the art sits right of the text, fading in from the left */
.home-hero-art {
    position: absolute;
    left: 30%;
    top: 0;
    width: 70%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
    mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(3, 6, 14, 0), var(--t2-bg));
    pointer-events: none;
}

.home-hero .t2-wrap {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 40px;
}

.home-logo {
    width: 84px;
    height: 84px;
    color: var(--t2-heading);
    filter: drop-shadow(0 0 14px rgba(95, 200, 255, .8));
}

.home-title {
    margin: 20px 0 0;
    font-size: 80px;
    font-weight: 700;
    line-height: 80px;
    letter-spacing: .12em;
    color: var(--t2-heading);
    text-shadow: 0 0 18px rgba(90, 180, 255, .75), 0 0 2px rgba(210, 235, 255, .9);
}

.home-title span {
    display: block;
}

.home-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3em;
    color: var(--t2-label);
}

.home-marks {
    display: flex;
    gap: 5px;
}

.home-marks i {
    display: block;
    width: 11px;
    height: 4px;
    transform: skewX(-35deg);
    background: var(--t2-accent);
    box-shadow: 0 0 8px rgba(95, 200, 255, .85);
}

.home-marks i.is-dim {
    opacity: .45;
}

.home-tagline {
    margin: 34px 0 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .24em;
    color: var(--t2-label);
}

.home-lede {
    max-width: 560px;
    margin: 12px 0 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--t2-body);
}

.home-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.home-features {
    padding-top: 24px;
}

.home-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.home-cards h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--t2-heading);
}

.home-cards p {
    margin: 12px 0 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--t2-body);
}

.home-news {
    display: flex;
    gap: 20px;
    padding-top: 88px;
    padding-bottom: 104px;
}

.home-transmission {
    flex: 1.35 1 0;
}

.home-shots {
    flex: 1 1 0;
}

.home-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

/* too narrow for the text beside the art: the art becomes a band above the text, fading into it */
@media (max-width: 1199px) {
    .home-hero {
        height: auto;
    }

    .home-hero::after {
        display: none;
    }

    .home-hero-art {
        position: relative;
        display: block;
        left: auto;
        width: 100%;
        height: clamp(260px, 62vw, 600px);
        object-position: 55% 40%;
        -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
        mask-image: linear-gradient(180deg, #000 55%, transparent);
    }

    .home-hero .t2-wrap {
        height: auto;
        margin-top: calc(-1 * clamp(80px, 16vw, 160px));
        padding-top: 0;
        padding-bottom: 72px;
    }
}

@media (max-width: 899px) {
    .home-cards {
        grid-template-columns: 1fr;
    }

    .home-news {
        flex-direction: column;
        padding-top: 56px;
        padding-bottom: 64px;
    }
}

@media (max-width: 760px) {
    .home-logo {
        width: 60px;
        height: 60px;
    }

    .home-title {
        font-size: 46px;
        line-height: 48px;
    }

    .home-tagline {
        font-size: 17px;
        letter-spacing: .18em;
    }

    .home-lede {
        font-size: 18px;
    }

    .home-thumbs {
        grid-template-columns: 1fr;
    }
}
