.hero {
    width: 100%;
    padding: 0;
}

.hero-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    min-height: var(--hero-min-height);
    overflow: hidden;
    background: var(--anthracite);
}

.hero-banner::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--blue-light);
    content: "";
}

.hero-blue-field {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-image-position);
}

.hero-blue-field:has(.hero-image)::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 38, 70, .75));
    content: "";
}

.hero-blue-field:has(.hero-image) .polygon {
    display: none;
}

.hero-title-field {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(2rem, 5vh, 5rem) var(--page-gutter) clamp(2rem, 5vh, 5rem) clamp(1.25rem, 3vw, 3rem);
    text-align: left;
}

.hero-title-field p {
    margin: 0 0 1rem;
    color: #c4ccd9;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero-title-field h1 {
    margin: 0;
    color: var(--white);
    max-width: 20ch;
    font-size: clamp(2rem, 3.4vw, 4.4rem);
    line-height: 1.14;
    letter-spacing: .035em;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-copy {
    max-width: 36rem;
    margin: 1.5rem 0 0 !important;
    color: #d9dadd !important;
    font-size: clamp(.92rem, 1.1vw, 1.08rem) !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    line-height: 1.55;
    text-transform: none !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .75rem;
    margin-top: 1.5rem;
}

.hero-index {
    position: absolute;
    bottom: 2rem;
    left: var(--page-gutter);
    z-index: 1;
    max-width: calc(100% - 3rem);
    color: var(--white);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.polygon {
    position: absolute;
    display: block;
    opacity: .17;
    background: #a8c2da;
}

.polygon-one {
    top: -15%;
    left: -13%;
    width: 55%;
    height: 74%;
    clip-path: polygon(0 0, 100% 25%, 28% 100%);
}

.polygon-two {
    top: 12%;
    right: -2%;
    width: 56%;
    height: 46%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: #d7e7f5;
}

.polygon-three {
    bottom: -17%;
    left: 17%;
    width: 55%;
    height: 60%;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    background: #19315f;
}

.polygon-four {
    right: 19%;
    bottom: 0;
    width: 22%;
    height: 28%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: #fff;
}

.introduction {
    padding-block: clamp(3rem, 5vw, 4.6rem);
    background: var(--surface);
}

.introduction p {
    max-width: 50rem;
    margin: 0 auto;
    color: var(--text);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.75;
    text-align: center;
}

.service-overview {
    padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
    background: var(--surface);
}

.service-overview-heading {
    margin-bottom: 2rem;
}

.service-overview-heading h2 {
    margin-bottom: 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--paper);
}

.service-cards > * {
    min-width: 0;
}

.service-card {
    position: relative;
    display: grid;
    min-height: 25rem;
    align-content: start;
    justify-items: start;
    gap: .9rem;
    padding: clamp(1.5rem, 2.5vw, 2.2rem);
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
    text-align: left;
    transition: filter .2s, transform .2s;
}

.service-card:nth-child(2) {
    background: #416b93;
}

.service-card:nth-child(2)::before {
    opacity: .06;
}

.service-card::before {
    position: absolute;
    inset: 0;
    opacity: .14;
    background: linear-gradient(132deg, transparent 0 48%, #fff 48% 49%, transparent 49% 100%);
    content: "";
}

.service-card:hover {
    transform: translateY(-3px);
    z-index: 1;
}

.service-card-media {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(19, 35, 65, .45), rgba(255, 255, 255, .08));
}

.service-card-media svg {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
}

.service-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card span {
    position: relative;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.service-card .visually-hidden {
    position: absolute;
}

.service-card h3,
.service-card p,
.service-card-list,
.service-card-actions {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    margin: .35rem 0 0;
    color: var(--white);
    font-size: .88rem;
}

.service-card p {
    margin: 0;
    color: #e1e7ee;
    font-size: .78rem;
    line-height: 1.5;
}

.service-card:nth-child(2) p,
.service-card:nth-child(2) .service-card-list {
    color: var(--white);
}

.service-card-list {
    display: grid;
    gap: .3rem;
    padding: 0;
    margin: .15rem 0 0;
    list-style: none;
    color: #eef2f5;
    font-size: .72rem;
    line-height: 1.4;
}

.service-card-list li::before {
    margin-right: .45rem;
    content: "→" / "";
}

.service-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.service-card-actions a {
    padding-bottom: .12rem;
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    color: var(--white);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.service-card-actions a:hover {
    color: var(--white);
}

.company-profile {
    background: var(--paper);
}

.profile-grid {
    display: grid;
    grid-template-columns: 65fr 35fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.profile-content {
    display: grid;
    gap: clamp(3rem, 5vw, 5.2rem);
}

.profile-section {
    max-width: 44rem;
}

.profile-section h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 2.1vw, 1.85rem);
}

.profile-section p:not(.eyebrow) {
    max-width: 42rem;
    margin-bottom: 0;
    color: var(--text);
}

.profile-aside {
    display: grid;
    gap: 2rem;
}

.brand-graphic {
    position: relative;
    height: 15rem;
    overflow: hidden;
    background: #e9e9e5;
}

.brand-graphic i {
    position: absolute;
    display: block;
    transform: skewX(-27deg);
}

.brand-graphic i:nth-child(1) {
    top: -10%;
    left: 18%;
    width: 27%;
    height: 120%;
    background: var(--navy);
}

.brand-graphic i:nth-child(2) {
    top: 28%;
    left: 42%;
    width: 23%;
    height: 92%;
    background: var(--blue);
}

.brand-graphic i:nth-child(3) {
    top: -6%;
    left: 64%;
    width: 14%;
    height: 75%;
    background: var(--blue-light);
}

.brand-graphic span {
    position: absolute;
    right: 1.7rem;
    bottom: 1.2rem;
    color: var(--anthracite);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.profile-card {
    padding: 1.8rem;
    color: #d7d8db;
    background: var(--anthracite);
}

.profile-card>p {
    margin-bottom: 1rem;
    color: #aebccc;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.profile-card strong {
    display: block;
    margin-bottom: 1.7rem;
    color: var(--white);
    font-size: 1.28rem;
    line-height: 1.35;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profile-card dl {
    display: grid;
    gap: .75rem;
    padding-top: 1.1rem;
    margin: 0 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.profile-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .74rem;
}

.profile-card dt {
    color: #aeb2b8;
}

.profile-card dd {
    margin: 0;
    color: var(--white);
    text-align: right;
}

.profile-card a {
    display: inline-flex;
    gap: .5rem;
    color: #c6d7e8;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-card a:hover {
    color: var(--white);
}

.cta-banner {
    padding-top: 0;
    padding-bottom: 5.5rem;
    background: var(--paper);
}

.cta-banner .container {
    position: relative;
    padding: clamp(2.2rem, 5vw, 4.25rem);
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.cta-banner .container::after {
    position: absolute;
    top: 0;
    right: -6%;
    width: 37%;
    height: 100%;
    opacity: .42;
    background: var(--blue-light);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    content: "";
}

.cta-banner h2 {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    margin: 0 0 1.8rem;
    color: var(--white);
    font-size: clamp(1.55rem, 2.65vw, 2.45rem);
}

.cta-copy {
    position: relative;
    z-index: 1;
    max-width: 41rem;
    margin: -1rem 0 1.8rem;
    color: #e0e4e9;
    font-size: .92rem;
}

.cta-banner .eyebrow,
.cta-banner .button {
    position: relative;
    z-index: 1;
}

@media(max-width:800px) {
    .hero-banner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-blue-field {
        position: absolute;
        inset: 0;
        clip-path: none;
    }

    .hero-title-field {
        padding: clamp(2.5rem, 7vh, 5rem) var(--page-gutter) 5rem;
        background: linear-gradient(90deg, rgba(19, 35, 65, .91), rgba(19, 35, 65, .68));
    }

    .hero-title-field h1 {
        max-width: 22ch;
        font-size: clamp(2rem, 5.4vw, 3.25rem);
    }

    .hero-index {
        z-index: 3;
        bottom: 1.5rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

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

    .profile-aside {
        grid-template-columns: 1fr 1fr;
    }

    .brand-graphic {
        height: auto;
        min-height: 17rem;
    }

    .service-card {
        min-height: 0;
    }
}

@media(max-width:540px) {
    .hero-banner {
        min-height: var(--hero-min-height);
    }

    .hero-title-field {
        align-items: flex-start;
        padding: 2.5rem var(--page-gutter) 5rem;
    }

    .hero-title-field h1 {
        max-width: 100%;
        font-size: clamp(1.85rem, 7.6vw, 2.55rem);
    }

    .hero-actions {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
        max-width: 100%;
        padding-inline: .85rem;
        text-align: center;
        white-space: normal;
    }

    .hero-index {
        bottom: 1.25rem;
        left: 1.25rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .profile-aside {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding-bottom: 4rem;
    }

    .cta-banner h2 {
        font-size: clamp(1.25rem, 5.8vw, 1.6rem);
        letter-spacing: .035em;
        overflow-wrap: normal;
        text-wrap: pretty;
    }
}
