﻿/* =========================================================
   PHOENIX YORK - HOME PAGE
   Typography deliberately separated by role.
   ========================================================= */


/* =========================================================
   HERO / VIDEO
   ========================================================= */

.home-hero {
    position: relative;
    width: 100%;
    height: 648px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    color: #fff;
    border: 0;
    border-radius: 0;
}

.home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.08);
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding-top: 262px;
    color: #fff;
    text-align: center;
}

    /* 1. Main video sentence - original inline markup uses PYmuseosans. */
    .home-hero__content h1 {
        width: calc(100% - 110px);
        max-width: none;
        margin: 0 0 10px;
        padding: 0 0 0;
        font-family: "PYmuseosans";
        font-size: 54px;
        font-weight: 400;
        line-height: 66px;
        letter-spacing: 1px;
        color: #fff;
        text-align: center;
        text-transform: none;
        white-space: nowrap;
    }

    /* 2. Digital Platform line. */
    .home-hero__content h2 {
        width: 100%;
        max-width: none;
        margin: 0 auto 10px;
        padding: 0;
        font-family: "PYmuseosans";
        font-size: 20px;
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: 1px;
        color: #fff;
        text-align: center;
        text-transform: none;
    }

    /* 3. Hero description. */
    .home-hero__content p {
        width: 90%;
        max-width: none;
        margin: 0 auto;
        padding: 0;
        font-family: "PYmuseosans";
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        letter-spacing: 1px;
        color: #fff;
        text-align: center;
        text-transform: none;
    }

/* =========================================================
   THREE COLOURED BLOCKS
   ========================================================= */

.home-focus {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

/* 4. Strategy / Digital Solutions / Automation labels. */
.home-focus__item {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 20px;
    text-transform: uppercase;
}

    .home-focus__item span {
        display: inline-block;
        font-family: "pymontserratliner", Arial, sans-serif;
        font-size: 20px;
        color: #ffffff;
        font-weight: 300;
        line-height: 1;
        letter-spacing: 0.7px;
        transform: scaleX(0.82) scaleY(1.08);
        transform-origin: center;
        white-space: nowrap;
        text-shadow: 0 0 0.25px rgba(255,255,255,0.9);
        text-decoration: none !important;
        border-bottom: 0 !important;
    }

    .home-focus__item,
    .home-focus__item:link,
    .home-focus__item:visited,
    .home-focus__item:hover,
    .home-focus__item:focus,
    .home-focus__item:focus-visible,
    .home-focus__item:active {
        color: #ffffff !important;
        text-decoration: none !important;
        text-decoration-line: none !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

        .home-focus__item span,
        .home-focus__item:link span,
        .home-focus__item:visited span,
        .home-focus__item:hover span,
        .home-focus__item:focus span,
        .home-focus__item:focus-visible span,
        .home-focus__item:active span {
            color: #ffffff !important;
            text-decoration: none !important;
            text-decoration-line: none !important;
            border-bottom: 0 !important;
            box-shadow: none !important;
        }

.home-focus__item--strategy {
    background: #3b5998;
}

.home-focus__item--solutions {
    background: #000;
}

.home-focus__item--automation {
    background: #f12e45;
}

/* =========================================================
   SHOWCASE SECTIONS
   ========================================================= */

.home-showcase {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
}

.home-showcase__heading {
    width: 100%;
    min-height: 145px;
    margin: 0;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 0;
    border-radius: 0;
}

    /* 5. Coloured band heading - Helvetica in original .proflink. */
    .home-showcase__heading h2 {
        width: 50%;
        max-width: 1600px;
        margin: 0;
        padding: 0;
        color: #fff;
        font-family: Helvetica;
        font-size: 28px;
        font-weight: 100;
        line-height: 1.4;
        letter-spacing: 0.4px;
        text-align: center;
        text-transform: uppercase;
    }

.home-showcase--5g .home-showcase__heading {
    background: #d8ae47;
}

.home-showcase--retail .home-showcase__heading {
    background: #88b04b;
}

.home-showcase--dark .home-showcase__heading {
    background: #000;
}

.home-showcase__image {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
}

    .home-showcase__image img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        object-fit: cover;
        object-position: center top;
        border: 0;
        border-radius: 0;
    }

/* 6. Sentence on top of each photograph.
   Kept at the top to match the live-site screenshots you supplied,
   but given its own font family/size rather than sharing the band heading. */
.home-showcase__caption {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 34px 0 0;
    background: transparent;
    color: #090808;
    font-family: Helvetica !important;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.081em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: none;
}

.home-showcase .home-showcase__caption,
.home-showcase--5g .home-showcase__caption,
.home-showcase--retail .home-showcase__caption,
.home-showcase--dark .home-showcase__caption,
.home-showcase__caption--white {
    color: #101820;
    background: transparent;
    text-shadow: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1600px) {
    .home-hero__content h1 {
        width: calc(103% - 60px);
        font-size: 54px;
    }

    .home-hero__content h2 {
        width: 86%;
        font-size: 18px;
    }

    .home-hero__content p {
        width: 89%;
        font-size: 16px;
    }

    .home-showcase__heading h2 {
        font-size: 24px;
        width: 55%
    }

    .home-showcase__caption {
        font-size: 20px;
    }
}

@media (max-width: 1000px) {
    .home-hero {
        height: 610px;
    }

    .home-hero__content {
        padding-top: 220px;
    }

        .home-hero__content h1 {
            width: 94%;
            margin-left: auto;
            margin-right: auto;
            font-size: 39px;
            white-space: normal;
        }

        .home-hero__content h2 {
            width: 90%;
            font-size: 16px;
        }

        .home-hero__content p {
            width: 90%;
            font-size: 14px;
            line-height: 21px;
        }

    .home-focus {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-focus__item {
        height: 85px;
        min-width: 0;
        padding: 0 5px;
        overflow: hidden;
    }

        .home-focus__item span {
            font-size: 17px;
            letter-spacing: 0.3px;
            transform: scaleX(0.82) scaleY(1.05);
            transform-origin: center;
            white-space: nowrap;
        }

    .home-showcase__heading {
        min-height: 100px;
    }

        .home-showcase__heading h2 {
            font-size: 16px;
            width: 100%
        }

    .home-showcase__caption {
        padding-top: 22px;
        font-size: 14px;
    }
}

@media (min-width: 721px) and (max-width: 850px) {

    .home-focus {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-focus__item {
        height: 82px;
        min-width: 0;
        padding: 0 2px;
        overflow: hidden;
    }

        .home-focus__item span {
            font-size: 15px;
            letter-spacing: 0.15px;
            transform: scaleX(0.78) scaleY(1.05);
            white-space: nowrap;
        }
}

@media (max-width: 720px) {
    .home-hero {
        height: 610px;
    }

    .home-hero__content {
        padding-top: 145px;
    }

        .home-hero__content h1 {
            width: 92%;
            margin-left: auto;
            margin-right: auto;
            font-size: 30px;
            white-space: normal;
        }

        .home-hero__content h2 {
            width: 92%;
            font-size: 14px;
        }

        .home-hero__content p {
            width: 94%;
            font-size: 10px;
            line-height: 13px;
        }

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

    .home-focus__item {
        height: 62px;
        font-size: 14px;
        line-height: 1;
    }

    .home-showcase__heading {
        height: 62px;
        padding: 8px;
    }

        .home-showcase__heading h2 {
            font-size: 14px;
            width: 100%
        }

    .home-showcase__caption {
        padding: 14px 5px 0;
        font-size: 12px;
    }
}
