.hpv-company {
    --hpv-red: #e84e48;
    --hpv-ink: #242a32;
    --hpv-muted: #666e76;
    color: var(--hpv-ink);
    line-height: 1.65;
}

.hpv-company * {
    box-sizing: border-box;
}

.hpv-company h1,
.hpv-company h2,
.hpv-company h3,
.hpv-company p {
    margin-top: 0;
}

.hpv-company h1,
.hpv-company h2,
.hpv-company h3 {
    color: inherit;
    line-height: 1.15;
}

.hpv-company h1 {
    font-size: clamp(40px, 5.2vw, 72px);
    letter-spacing: -.045em;
}

.hpv-company h2 {
    font-size: clamp(30px, 3.3vw, 46px);
    letter-spacing: -.035em;
}

.hpv-company h3 {
    font-size: 21px;
}

.hpv-company p {
    color: var(--hpv-muted);
    font-size: 16px;
}

.hpv-company .hpv-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: var(--hpv-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hpv-company .hpv-shell {
    width: min(100%, var(--wd-container-w, 1222px));
    padding-inline: 15px;
    margin-inline: auto;
}

.hpv-company .hpv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 4px;
    background: var(--hpv-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}

.hpv-company .hpv-button:hover,
.hpv-company .hpv-button:focus-visible {
    background: #ca403b;
    color: #fff;
    transform: translateY(-2px);
}

.hpv-company .hpv-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: var(--hpv-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.hpv-company .hpv-text-link:hover,
.hpv-company .hpv-text-link:focus-visible {
    color: var(--hpv-red);
}

.hpv-company .hpv-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 30px;
}

.hpv-company .hpv-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    min-height: 510px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.hpv-company .hpv-hero::before {
    position: absolute;
    z-index: -1;
    inset-block: 0;
    inset-inline: calc(50% - 50vw);
    background: #fff;
    content: "";
}

.hpv-company .hpv-hero-copy {
    padding: clamp(68px, calc(6vw + 28px), 108px) clamp(40px, 6vw, 80px) clamp(40px, 6vw, 80px);
}

.hpv-company .hpv-hero-copy p {
    max-width: 560px;
    font-size: 18px;
}

.hpv-company .hpv-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    overflow: hidden;
    background: #fff;
}

.hpv-company .hpv-hero-visual img {
    display: block;
    width: min(110%, 570px);
    height: auto;
    max-height: 490px;
    object-fit: contain;
    filter: drop-shadow(0 24px 24px rgb(22 35 47 / 12%));
}

.hpv-company .hpv-intro,
.hpv-company .hpv-brand,
.hpv-company .hpv-contact-main {
    margin-block: 88px;
}

.hpv-company .hpv-intro {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}

.hpv-company .hpv-intro-image {
    overflow: hidden;
    border-radius: 7px;
    background: #e9edf1;
}

.hpv-company .hpv-intro-image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.hpv-company .hpv-intro-copy p:last-child,
.hpv-company .hpv-brand p:last-child {
    margin-bottom: 0;
}

.hpv-company .hpv-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-block: 32px 88px;
}

.hpv-company .hpv-pillar {
    min-height: 190px;
    padding: 28px;
    border: 1px solid #e2e6eb;
    border-radius: 6px;
    background: #fff;
}

.hpv-company .hpv-pillar-number {
    display: block;
    margin-bottom: 24px;
    color: var(--hpv-red);
    font-size: 13px;
    font-weight: 700;
}

.hpv-company .hpv-pillar p {
    margin-bottom: 0;
    font-size: 14px;
}

.hpv-company .hpv-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    padding: clamp(34px, 5vw, 66px);
    border-radius: 8px;
    background: #222b36;
    color: #fff;
}

.hpv-company .hpv-brand .hpv-eyebrow {
    color: #ffaaa5;
}

.hpv-company .hpv-brand p {
    color: #dce2e8;
}

.hpv-company .hpv-brand-quote {
    padding-left: 28px;
    border-left: 3px solid var(--hpv-red);
    font-size: clamp(23px, 2.6vw, 34px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.35;
}

.hpv-company .hpv-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-block: 88px 60px;
    padding: 32px 0;
    border-top: 1px solid #dde2e7;
}

.hpv-company .hpv-next h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 3vw, 42px);
}

.hpv-contact .hpv-hero {
    min-height: 340px;
    background: transparent;
    color: var(--hpv-ink);
}

.hpv-contact .hpv-hero-copy {
    grid-column: 1 / -1;
    max-width: 880px;
}

.hpv-contact .hpv-hero .hpv-eyebrow {
    color: var(--hpv-red);
}

.hpv-contact .hpv-hero p {
    color: var(--hpv-muted);
}

/* Keep the WooCommerce shop banner in the same restrained palette as company pages. */
body.woocommerce-shop .wd-page-title {
    background-color: #f0f2f6 !important;
    background-image: linear-gradient(rgb(255 255 255 / 20%), rgb(255 255 255 / 20%)), url("/wp-content/uploads/2024/07/landing-gadget-slider-bg.jpg") !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    color: #242a32;
}

body.woocommerce-shop .wd-page-title-bg img {
    display: none;
}

body.woocommerce-shop .wd-page-title .entry-title,
body.woocommerce-shop .wd-page-title .wd-nav-product-cat,
body.woocommerce-shop .wd-page-title .wd-nav-product-cat a {
    color: #242a32 !important;
}

body.woocommerce-shop .wd-page-title .wd-nav-product-cat .nav-link-count {
    color: #666e76 !important;
}

.hpv-contact .hpv-contact-main {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 6vw, 85px);
    align-items: start;
}

.hpv-contact .hpv-contact-details > p {
    max-width: 440px;
}

.hpv-contact .hpv-detail {
    padding-block: 18px;
    border-bottom: 1px solid #e1e5e9;
}

.hpv-contact .hpv-detail:first-of-type {
    margin-top: 30px;
    border-top: 1px solid #e1e5e9;
}

.hpv-contact .hpv-detail span {
    display: block;
    margin-bottom: 5px;
    color: var(--hpv-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hpv-contact .hpv-detail address {
    font-style: normal;
}

.hpv-contact .hpv-detail a {
    color: var(--hpv-ink);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.hpv-contact .hpv-detail a:hover,
.hpv-contact .hpv-detail a:focus-visible {
    color: var(--hpv-red);
}

.hpv-contact .hpv-form-panel {
    padding: clamp(26px, 4vw, 48px);
    border-radius: 7px;
    background: #f5f6f8;
}

.hpv-contact .hpv-form-panel h2 {
    margin-bottom: 14px;
}

.hpv-contact .hpv-form-panel p {
    margin-bottom: 25px;
}

.hpv-contact .wpcf7 form > p {
    margin-bottom: 18px;
}

.hpv-contact .wpcf7 label {
    display: block;
    color: var(--hpv-ink);
    font-size: 14px;
    font-weight: 600;
}

.hpv-contact .wpcf7 input:not([type="submit"]),
.hpv-contact .wpcf7 textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 1px solid #d7dde3;
    border-radius: 3px;
    background: #fff;
}

.hpv-contact .wpcf7 textarea {
    min-height: 150px;
}

.hpv-contact .wpcf7 input[type="submit"] {
    min-height: 48px;
    padding: 12px 25px;
    border-radius: 4px;
    background: var(--hpv-red);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.hpv-contact .wpcf7 input[type="submit"]:hover,
.hpv-contact .wpcf7 input[type="submit"]:focus-visible {
    background: #ca403b;
}

.hpv-contact .wpcf7 form .wpcf7-response-output {
    margin-inline: 0;
}

@media (max-width: 900px) {
    .hpv-company .hpv-hero,
    .hpv-company .hpv-intro,
    .hpv-company .hpv-brand,
    .hpv-contact .hpv-contact-main {
        grid-template-columns: 1fr;
    }

    .hpv-company .hpv-hero-visual {
        min-height: 340px;
    }

    .hpv-company .hpv-hero-visual img {
        max-height: 320px;
    }

    .hpv-company .hpv-brand {
        gap: 24px;
    }

    .hpv-contact .hpv-hero-copy {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .hpv-company .hpv-hero-copy {
        padding: 62px 26px 34px;
    }

    .hpv-company .hpv-hero-visual {
        min-height: 250px;
    }

    .hpv-company .hpv-hero-visual img {
        max-height: 250px;
    }

    .hpv-company .hpv-intro,
    .hpv-company .hpv-brand,
    .hpv-company .hpv-contact-main {
        margin-block: 52px;
    }

    .hpv-company .hpv-intro-image img {
        height: 260px;
    }

    .hpv-company .hpv-pillars {
        grid-template-columns: 1fr;
        margin-bottom: 52px;
    }

    .hpv-company .hpv-pillar {
        min-height: 0;
    }

    .hpv-company .hpv-next {
        display: block;
        margin-block: 52px 36px;
    }

    .hpv-company .hpv-next .hpv-button {
        margin-top: 24px;
    }
}
