/*
 * TWP About TWP — Section 03 Future Plan
 * Corporate IBM-inspired blue/white visual system.
 */

#twp-future-plan {
    --twp-navy: #061a3a;
    --twp-deep: #04152f;
    --twp-blue: #1268f3;
    --twp-bright: #2484ff;
    --twp-ink: #0b1f43;
    --twp-muted: #687a99;
    --twp-line: #d8e2f1;
    --twp-soft: #f5f8fc;
    --twp-white: #ffffff;

    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--twp-soft);
    color: var(--twp-ink);
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

#twp-future-plan *,
#twp-future-plan *::before,
#twp-future-plan *::after {
    box-sizing: border-box;
}

#twp-future-plan h2,
#twp-future-plan h3,
#twp-future-plan p {
    margin-top: 0;
}

.twp-fp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr);
    min-height: 470px;
    background: #fff;
}

.twp-fp-hero-copy {
    padding: 58px 42px 48px max(42px, calc((100vw - 1540px) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.twp-fp-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
    color: var(--twp-blue);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .08em;
}

.twp-fp-number {
    width: 43px;
    height: 43px;
    border: 1px solid #9cb8e8;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 17px;
}

.twp-fp-hero h2 {
    max-width: 780px;
    margin-bottom: 24px;
    color: var(--twp-navy);
    font-size: clamp(48px, 5.2vw, 84px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 800;
}

.twp-fp-hero h2 span {
    color: var(--twp-blue);
}

.twp-fp-hero-lead {
    max-width: 760px;
    margin-bottom: 26px;
    color: #314668;
    font-size: 18px;
    line-height: 1.65;
}

.twp-fp-ambition {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--twp-navy);
    font-size: 13px;
    letter-spacing: .11em;
}

.twp-fp-line {
    width: 34px;
    height: 2px;
    background: var(--twp-blue);
}

.twp-fp-hero-visual {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: var(--twp-deep);
}

.twp-fp-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.twp-fp-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4,21,47,.08), rgba(4,21,47,.05)),
        linear-gradient(180deg, rgba(3,18,44,.03) 45%, rgba(3,18,44,.72) 100%);
}

.twp-fp-brand-lockup {
    position: absolute;
    right: 7%;
    bottom: 36px;
    width: min(330px, 42%);
    color: #fff;
    text-align: left;
    z-index: 2;
}

.twp-fp-brand-mark {
    font-size: 54px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.05em;
}

.twp-fp-brand-name {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.twp-fp-brand-lockup p {
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.55;
}

.twp-fp-brand-lockup p span {
    color: #4a9cff;
    font-weight: 800;
}

.twp-fp-panel {
    position: relative;
    margin: 0 20px 18px;
    background: #fff;
    border: 1px solid var(--twp-line);
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(14, 48, 95, .07);
}

.twp-fp-needs {
    margin-top: 20px;
}

.twp-fp-panel-heading {
    position: relative;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 22px;
    background: var(--twp-navy);
    color: #fff;
    border-radius: 0 0 7px 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.twp-fp-needs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 12px 18px 10px;
}

.twp-fp-need {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    min-height: 150px;
    padding: 25px 22px;
    border-right: 1px solid var(--twp-line);
    border-bottom: 1px solid var(--twp-line);
}

.twp-fp-need:nth-child(3n) {
    border-right: 0;
}

.twp-fp-need:nth-last-child(-n+3) {
    border-bottom: 0;
}

.twp-fp-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid var(--twp-blue);
    border-radius: 50%;
    color: var(--twp-blue);
    font-size: 21px;
    font-weight: 700;
}

.twp-fp-small-number {
    display: block;
    margin-bottom: 3px;
    color: var(--twp-blue);
    font-size: 11px;
    font-weight: 800;
}

.twp-fp-need h3 {
    margin-bottom: 8px;
    color: var(--twp-navy);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

.twp-fp-need p {
    max-width: 270px;
    margin-bottom: 0;
    color: var(--twp-muted);
    font-size: 12px;
    line-height: 1.55;
}


/* ROADMAP */

.twp-fp-roadmap {
    padding-bottom: 18px;
}

.twp-fp-roadmap-line {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 91px;
    height: 5px;
    background: linear-gradient(90deg, #c9dcfb, var(--twp-blue), #2b83ff);
    border-radius: 10px;
}

.twp-fp-roadmap-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 28px 22px 0;
}

.twp-fp-stage {
    position: relative;
    min-height: 335px;
    padding: 0 22px 10px;
    text-align: center;
    border-right: 1px solid var(--twp-line);
}

.twp-fp-stage:last-child {
    border-right: 0;
}

.twp-fp-stage-number {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    margin: 0 auto 4px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #c9d9ed;
    border-radius: 50%;
    color: var(--twp-navy);
    font-size: 13px;
    font-weight: 900;
}

.twp-fp-stage-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid #b8d2f5;
    border-radius: 50%;
    color: var(--twp-blue);
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 0 0 7px #fff;
}

.twp-fp-stage h3 {
    min-height: 34px;
    margin-bottom: 13px;
    color: var(--twp-navy);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.twp-fp-stage p {
    min-height: 76px;
    margin-bottom: 11px;
    color: var(--twp-muted);
    font-size: 11.5px;
    line-height: 1.55;
}

.twp-fp-stage ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #304563;
    font-size: 10.5px;
    line-height: 1.8;
}

.twp-fp-stage li::before {
    content: "•";
    margin-right: 5px;
    color: var(--twp-blue);
}


/* LOWER GRID */

.twp-fp-lower-grid {
    display: grid;
    grid-template-columns: 1.45fr 1.05fr 1.05fr;
    gap: 0;
}

.twp-fp-lower-grid .twp-fp-panel {
    margin: 0 9px 18px;
}

.twp-fp-scale {
    margin-left: 20px !important;
}

.twp-fp-scale-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 25px 15px 20px;
}

.twp-fp-scale-grid article {
    position: relative;
    padding: 8px 15px 10px;
    text-align: center;
}

.twp-fp-circle {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--twp-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 0 0 5px #edf4ff;
}

.twp-fp-scale-grid h3 {
    margin-bottom: 8px;
    color: var(--twp-navy);
    font-size: 10.5px;
    line-height: 1.25;
    font-weight: 900;
}

.twp-fp-scale-grid p {
    margin-bottom: 0;
    color: var(--twp-muted);
    font-size: 10px;
    line-height: 1.45;
}

.twp-fp-global {
    min-height: 320px;
}

.twp-fp-world {
    position: relative;
    height: 270px;
    margin: 0 15px 8px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 48%, rgba(28,116,240,.10), transparent 52%),
        linear-gradient(#fff, #f8fbff);
}

.twp-fp-world-grid {
    position: absolute;
    inset: 28px 20px;
    opacity: .8;
    background-image:
        linear-gradient(rgba(18,104,243,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18,104,243,.12) 1px, transparent 1px);
    background-size: 15px 15px;
    border-radius: 50%;
    transform: scaleY(.62);
}

.twp-fp-world::after {
    content: "";
    position: absolute;
    inset: 45px 40px;
    border: 1px dotted #9abce9;
    border-radius: 50%;
}

.twp-fp-region {
    position: absolute;
    z-index: 2;
    color: var(--twp-navy);
    font-size: 9px;
    line-height: 1.25;
    font-weight: 800;
}

.twp-fp-region b {
    font-size: 7px;
    color: var(--twp-blue);
}

.r-na { left: 9%; top: 62px; }
.r-eu { left: 46%; top: 47px; }
.r-gcc { left: 54%; top: 116px; }
.r-india { left: 61%; top: 135px; }
.r-apac { right: 7%; top: 101px; }
.r-africa { left: 43%; bottom: 43px; }
.r-sa { left: 20%; bottom: 48px; }

.twp-fp-pin {
    position: absolute;
    z-index: 3;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--twp-blue);
    box-shadow: 0 0 0 5px rgba(18,104,243,.13);
}

.p-na { left: 24%; top: 78px; }
.p-eu { left: 48%; top: 65px; }
.p-gcc { left: 56%; top: 126px; }
.p-india { left: 64%; top: 146px; }
.p-apac { right: 13%; top: 111px; }
.p-africa { left: 46%; bottom: 59px; }
.p-sa { left: 27%; bottom: 63px; }


/* IMPACT */

.twp-fp-impact-list {
    padding: 18px 22px 12px;
}

.twp-fp-impact-list article {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--twp-line);
}

.twp-fp-impact-list article:last-child {
    border-bottom: 0;
}

.twp-fp-impact-list article > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--twp-blue);
    font-weight: 900;
}

.twp-fp-impact-list p {
    margin: 0;
    color: #435875;
    font-size: 11px;
    line-height: 1.5;
}


/* CLOSING */

.twp-fp-closing {
    min-height: 100px;
    padding: 28px max(35px, calc((100vw - 1540px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    background: var(--twp-navy);
    color: #fff;
}

.twp-fp-quote {
    display: flex;
    align-items: center;
    gap: 12px;
}

.twp-fp-quote-mark {
    color: #2682ff;
    font-size: 50px;
    line-height: .5;
}

.twp-fp-quote p {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 500;
}

.twp-fp-quote strong {
    color: #2682ff;
}

.twp-fp-equation {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.twp-fp-equation b {
    color: #3289ff;
    font-size: 16px;
}


/* REVEAL */

#twp-future-plan [data-fp-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}

#twp-future-plan [data-fp-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1250px) {
    .twp-fp-hero {
        grid-template-columns: 1fr 1fr;
    }

    .twp-fp-hero-copy {
        padding-left: 35px;
    }

    .twp-fp-lower-grid {
        grid-template-columns: 1fr 1fr;
    }

    .twp-fp-impact {
        grid-column: 1 / -1;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}

@media (max-width: 950px) {
    .twp-fp-hero {
        grid-template-columns: 1fr;
    }

    .twp-fp-hero-copy {
        padding: 55px 28px 40px;
    }

    .twp-fp-hero-visual {
        min-height: 400px;
    }

    .twp-fp-hero-visual img {
        min-height: 400px;
    }

    .twp-fp-needs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .twp-fp-need:nth-child(3n) {
        border-right: 1px solid var(--twp-line);
    }

    .twp-fp-need:nth-child(2n) {
        border-right: 0;
    }

    .twp-fp-need:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--twp-line);
    }

    .twp-fp-need:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .twp-fp-roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .twp-fp-roadmap-line {
        display: none;
    }

    .twp-fp-stage:nth-child(2n) {
        border-right: 0;
    }

    .twp-fp-stage:nth-child(-n+3) {
        border-bottom: 1px solid var(--twp-line);
    }

    .twp-fp-stage {
        padding-top: 10px;
    }

    .twp-fp-lower-grid {
        grid-template-columns: 1fr;
    }

    .twp-fp-scale,
    .twp-fp-impact {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}

@media (max-width: 620px) {
    .twp-fp-hero h2 {
        font-size: 47px;
    }

    .twp-fp-hero-lead {
        font-size: 15px;
    }

    .twp-fp-brand-lockup {
        width: 55%;
        right: 6%;
    }

    .twp-fp-needs-grid,
    .twp-fp-roadmap-grid {
        grid-template-columns: 1fr;
    }

    .twp-fp-need,
    .twp-fp-stage {
        border-right: 0 !important;
        border-bottom: 1px solid var(--twp-line) !important;
    }

    .twp-fp-need:last-child,
    .twp-fp-stage:last-child {
        border-bottom: 0 !important;
    }

    .twp-fp-scale-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .twp-fp-closing {
        flex-direction: column;
        align-items: flex-start;
    }

    .twp-fp-equation {
        justify-content: flex-start;
    }

    .twp-fp-panel {
        margin-left: 10px;
        margin-right: 10px;
    }

    .twp-fp-scale,
    .twp-fp-impact {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}
