
.ht-technology {
    --ht-red: #8C1D2C;
    --ht-gold: #B08D57;
    --ht-text: #262422;
    --ht-body: #6F6A64;
    --ht-cream: #F7F5F2;
    --ht-border: #E4DED7;

    font-family: "Open Sans", Arial, sans-serif;

    color: var(--ht-text);
}

.ht-technology *,
.ht-technology *::before,
.ht-technology *::after {
    box-sizing: border-box;
}


/* =====================================================
   TECHNOLOGY
   ===================================================== */

.ht-tech-section {
    padding: 95px 5%;

    background: #fff;
}

.ht-tech-inner {
    max-width: 1320px;

    margin: 0 auto;
}

.ht-tech-heading {
    text-align: center;

    margin-bottom: 58px;
}

.ht-tech-eyebrow {
    margin-bottom: 14px;

    font-size: 10px;

    letter-spacing: 3px;

    color: var(--ht-gold);
}

.ht-tech-heading h2 {
    margin: 0;

    font-size: 38px;

    font-weight: 500;

    letter-spacing: 3px;
}

.ht-tech-heading p {
    margin: 14px 0 0;

    font-size: 13px;

    color: var(--ht-body);

    letter-spacing: 1px;
}


/* CARDS */

.ht-tech-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.ht-tech-card {
    position: relative;

    height: 420px;

    overflow: hidden;

    background: #222;
}

.ht-tech-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.ht-tech-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 38%,
            rgba(0,0,0,.78)
        );
}

.ht-tech-card:hover img {
    transform: scale(1.06);
}

.ht-tech-card-content {
    position: absolute;

    z-index: 2;

    left: 28px;
    right: 28px;
    bottom: 28px;

    color: #fff;
}

.ht-tech-card-content span {
    display: block;

    margin-bottom: 9px;

    font-size: 9px;

    letter-spacing: 2px;

    color:
        rgba(255,255,255,.70);
}

.ht-tech-card-content h3 {
    margin: 0;

    font-size: 19px;

    line-height: 1.45;

    font-weight: 400;
}


/* =====================================================
   R&D
   ===================================================== */

.ht-rd-section {
    padding: 90px 5%;

    background: var(--ht-cream);
}

.ht-rd-inner {
    max-width: 1320px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;
}

.ht-rd-image {
    height: 420px;

    overflow: hidden;
}

.ht-rd-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.ht-rd-eyebrow {
    font-size: 10px;

    letter-spacing: 3px;

    color: var(--ht-gold);
}

.ht-rd-content h2 {
    margin: 15px 0 25px;

    font-size: 34px;

    line-height: 1.45;

    font-weight: 400;
}

.ht-rd-content p {
    margin: 0;

    font-size: 13px;

    line-height: 2;

    color: var(--ht-body);
}


/* MOBILE */

@media (max-width: 900px) {

    .ht-tech-section {
        padding: 70px 20px;
    }

    .ht-tech-heading h2 {
        font-size: 30px;
    }

    .ht-tech-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .ht-tech-card {
        height: 330px;
    }

    .ht-rd-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .ht-rd-image {
        height: 320px;
    }
}


@media (max-width: 600px) {

    .ht-tech-section {
        padding: 60px 20px;
    }

    .ht-tech-heading h2 {
        font-size: 26px;
    }

    .ht-tech-grid {
        grid-template-columns: 1fr;
    }

    .ht-tech-card {
        height: 360px;
    }

    .ht-rd-section {
        padding: 60px 20px;
    }

    .ht-rd-content h2 {
        font-size: 28px;
    }

    .ht-rd-image {
        height: 280px;
    }
}
