
/* PELORUS HOLDINGS - ABOUT INFOGRAPHIC */

.pelorus-overview {
    --navy: #102f46;
    --teal: #087f8b;
    --aqua: #12a6ae;
    --orange: #f6a03a;

    padding: 90px 0 100px;
    background:
        radial-gradient(circle at 85% 12%,
            rgba(18,166,174,.09), transparent 35%),
        #f6fafb;
    overflow: hidden;
}

.pelorus-overview,
.pelorus-overview * {
    box-sizing: border-box;
}

.pelorus-overview .container {
    width: min(1200px, calc(100% - 48px));
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADING */

.overview-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 42px;
}

.overview-eyebrow {
    display: block;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
}

.overview-heading h2 {
    color: var(--navy);
    font-size: clamp(30px, 3.5vw, 47px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 0;
}

.overview-heading h2 span {
    display: block;
    color: var(--teal);
}

.overview-heading > p {
    max-width: 330px;
    color: #60788a;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 5px;
}

/* FOUR CONNECTED PANELS */

.infographic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    filter: drop-shadow(0 16px 20px rgba(10,51,68,.12));
}

.info-block {
    position: relative;
    min-width: 0;
    min-height: 400px;
    padding: 34px 25px 32px;
    color: #fff;
    isolation: isolate;
    transition:
        transform .35s ease,
        filter .35s ease;
    animation: infographic-enter .7s ease both;
}

.info-block:hover {
    transform: translateY(-10px);
    filter: brightness(1.08);
    z-index: 5;
}

.info-block--one {
    background: linear-gradient(145deg, #07324b, #075b70);
    border-radius: 20px 0 0 20px;
    animation-delay: .05s;
}

.info-block--two {
    background: linear-gradient(145deg, #076b7d, #08939b);
    animation-delay: .15s;
}

.info-block--three {
    background: linear-gradient(145deg, #098e9b, #22adb2);
    animation-delay: .25s;
}

.info-block--four {
    background: linear-gradient(145deg, #087f8b, #13b1b3);
    border-radius: 0 20px 20px 0;
    animation-delay: .35s;
}

/* Subtle connectors between panels */

.info-block:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 47%;
    right: -12px;
    width: 24px;
    height: 24px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 3px;
    z-index: 3;
}

.info-block__content {
    position: relative;
    z-index: 4;
}

/* LARGE BACKGROUND NUMBERS */

.info-number {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: clamp(105px, 11vw, 170px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -12px;
    color: rgba(255,255,255,.10);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: transform .5s ease;
}

.info-block:hover .info-number {
    transform: translateY(-12px) scale(1.05);
}

/* ICON AND LABEL */

.info-block__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.info-block__icon {
    display: grid;
    place-items: center;
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: white;
    font-size: 25px;
    box-shadow: 0 5px 12px rgba(0,0,0,.08);
}

.info-block__label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.8);
}

.info-block h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 14px;
}

.info-block__rule {
    height: 2px;
    width: 100%;
    background: rgba(255,255,255,.25);
    margin-bottom: 20px;
    position: relative;
}

.info-block__rule::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 2px;
    left: 0;
    top: 0;
    background: #fff;
}

.info-block p {
    position: relative;
    color: rgba(255,255,255,.94);
    font-size: 12px;
    line-height: 1.8;
    margin: 0 0 13px;
}

.info-values {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-values li {
    position: relative;
    padding: 0 0 0 18px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}

.info-values li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
}

/* ENTRANCE ANIMATION */

@keyframes infographic-enter {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (max-width: 1050px) {
    .infographic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .info-block {
        min-height: 330px;
        border-radius: 16px;
    }

    .info-block::after {
        display: none;
    }

    .info-number {
        font-size: 130px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .pelorus-overview {
        padding: 55px 0 65px;
    }

    .pelorus-overview .container {
        width: calc(100% - 32px);
    }

    .overview-heading {
        display: block;
        margin-bottom: 30px;
    }

    .overview-heading h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .overview-heading > p {
        margin-top: 18px;
        font-size: 13px;
    }

    .infographic-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-block {
        min-height: 0;
        padding: 28px 25px;
        border-radius: 15px;
    }

    .info-block__top {
        margin-bottom: 20px;
    }

    .info-block h3 {
        font-size: 22px;
    }

    .info-block p,
    .info-values li {
        font-size: 13px;
    }

    .info-number {
        font-size: 125px;
        right: 18px;
        bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .info-block {
        animation: none;
        transition: none;
    }

    .info-block:hover,
    .info-block:hover .info-number {
        transform: none;
    }
}
