/* =========================================================
   TWP ABOUT TWP — SECTION 04 THE NEXT CHAPTER
   White / navy / blue corporate closing section
   ========================================================= */

#twp-next-chapter {
    --twp-navy: #061a3a;
    --twp-blue: #1268f3;
    --twp-blue-bright: #2478ff;
    --twp-muted: #536987;
    --twp-line: #d7e3f5;
    --twp-soft: #f7faff;
    --twp-white: #ffffff;

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

#twp-next-chapter *,
#twp-next-chapter *::before,
#twp-next-chapter *::after { box-sizing: border-box; }

#twp-next-chapter h2,
#twp-next-chapter h3,
#twp-next-chapter p { margin-top: 0; }

.twp-nc-shell {
    width: min(1500px, calc(100% - 80px));
    margin: 0 auto;
    padding: 84px 0 52px;
}

.twp-nc-intro {
    text-align: center;
}

.twp-nc-eyebrow {
    color: var(--twp-blue);
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.twp-nc-rule {
    display: block;
    width: 76px;
    height: 2px;
    margin: 20px auto 34px;
    background: var(--twp-blue);
}

.twp-nc-intro h2,
.twp-nc-intro h3 {
    margin: 0;
    color: var(--twp-navy);
    font-weight: 850;
    letter-spacing: -.045em;
}

.twp-nc-intro h2 {
    font-size: clamp(48px, 5.1vw, 78px);
    line-height: 1.02;
}

.twp-nc-intro h3 {
    margin-top: 18px;
    font-size: clamp(42px, 4.5vw, 68px);
    line-height: 1.04;
}

.twp-nc-intro h3 span { color: var(--twp-blue); }

.twp-nc-lead {
    width: min(900px, 100%);
    margin: 30px auto 0;
    color: #314867;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: -.01em;
}

.twp-nc-divider {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 48px auto 34px;
}

.twp-nc-divider::before,
.twp-nc-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--twp-line);
}

.twp-nc-divider span {
    width: 140px;
    height: 2px;
    margin: 0 0;
    background: var(--twp-blue);
}

.twp-nc-journey {
    text-align: center;
}

.twp-nc-kicker {
    color: var(--twp-blue);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .14em;
}

.twp-nc-journey-small {
    margin: 18px auto 0;
    color: #344b69;
    font-size: 17px;
    line-height: 1.5;
}

.twp-nc-journey-large {
    margin: 13px auto 0;
    color: var(--twp-navy);
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.035em;
}

.twp-nc-signature {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 38px;
    color: var(--twp-navy);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .2em;
}

.twp-nc-signature b,
.twp-nc-footer-equation b {
    color: #aabbd3;
    font-weight: 600;
}

.twp-nc-signature .is-blue,
.twp-nc-footer-equation .is-blue { color: var(--twp-blue); }

.twp-nc-cta {
    margin-top: 32px;
    text-align: center;
}

.twp-nc-cta-line {
    display: block;
    width: 72px;
    height: 2px;
    margin: 0 auto 23px;
    background: var(--twp-blue);
}

.twp-nc-cta h3 {
    margin-bottom: 25px;
    color: var(--twp-navy);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.035em;
}

.twp-nc-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.twp-nc-button {
    min-width: 285px;
    min-height: 58px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--twp-blue);
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .07em;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.twp-nc-button b {
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}

.twp-nc-button-primary {
    background: var(--twp-blue);
    color: #fff;
    box-shadow: 0 10px 25px rgba(18, 104, 243, .16);
}

.twp-nc-button-secondary {
    background: #fff;
    color: var(--twp-blue);
}

.twp-nc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(18, 104, 243, .15);
}

.twp-nc-button-primary:hover { background: #0c5fdf; color: #fff; }
.twp-nc-button-secondary:hover { background: var(--twp-soft); color: var(--twp-blue); }

.twp-nc-footer {
    margin-top: 45px;
    text-align: center;
}

.twp-nc-footer-rule {
    display: block;
    width: 100%;
    height: 1px;
    margin-bottom: 25px;
    background: var(--twp-line);
}

.twp-nc-footer-rule::after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    margin: -1px auto 0;
    background: var(--twp-blue);
}

.twp-nc-footer-name {
    color: var(--twp-navy);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .24em;
}

.twp-nc-footer-equation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 11px;
    color: #263d5c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

#twp-next-chapter [data-nc-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

#twp-next-chapter [data-nc-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 800px) {
    .twp-nc-shell { width: min(100% - 40px, 680px); padding: 65px 0 40px; }
    .twp-nc-intro h2 { font-size: clamp(38px, 8vw, 58px); }
    .twp-nc-intro h3 { font-size: clamp(34px, 7vw, 50px); }
    .twp-nc-lead { font-size: 15px; }
    .twp-nc-buttons { flex-direction: column; align-items: center; }
    .twp-nc-button { width: min(100%, 360px); }
}

@media (max-width: 520px) {
    .twp-nc-shell { width: calc(100% - 28px); padding-top: 50px; }
    .twp-nc-eyebrow { font-size: 12px; letter-spacing: .13em; }
    .twp-nc-rule { margin-bottom: 27px; }
    .twp-nc-desktop-break { display: none; }
    .twp-nc-intro h2 { font-size: 38px; }
    .twp-nc-intro h3 { margin-top: 13px; font-size: 34px; }
    .twp-nc-lead { margin-top: 23px; font-size: 14px; line-height: 1.6; }
    .twp-nc-divider { margin-top: 36px; }
    .twp-nc-kicker { font-size: 13px; letter-spacing: .1em; }
    .twp-nc-journey-small { font-size: 14px; }
    .twp-nc-journey-large { font-size: 25px; }
    .twp-nc-signature { gap: 10px; font-size: 10px; letter-spacing: .11em; }
    .twp-nc-cta h3 { font-size: 28px; }
    .twp-nc-button { min-width: 0; min-height: 54px; font-size: 11px; }
    .twp-nc-footer-name { font-size: 13px; letter-spacing: .17em; }
    .twp-nc-footer-equation { font-size: 8px; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
    #twp-next-chapter [data-nc-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .twp-nc-button { transition: none; }
}
