/* =========================================================
   MESSAGING THAT MAKES SENSE
   Page-specific styles only.
   ========================================================= */

/* Add only styles unique to this service page. */
/* =========================================================
   LEAKENDIA
   MESSAGING THAT MAKES SENSE
   Page-specific styles only
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.messaging-page {
    position: relative;
    overflow: hidden;
    background: var(--bg, #080808);
    color: var(--text, #f5f5f5);
}


/* =========================================================
   SHARED EYEBROW
========================================================= */

.messaging-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: var(--primary, #ff3b30);
}

.messaging-eyebrow::before {
    content: "";

    width: 22px;
    height: 1px;

    background: currentColor;
}


/* =========================================================
   HERO
========================================================= */

.messaging-hero {
    position: relative;

    min-height: 90vh;

    display: flex;
    align-items: center;

    padding:
        clamp(120px, 14vw, 180px)
        0
        clamp(80px, 10vw, 130px);

    isolation: isolate;
}


/* RED GLOW */

.messaging-hero::before {
    content: "";

    position: absolute;

    width: 750px;
    height: 750px;

    left: -300px;
    top: -260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 59, 48, 0.12) 0%,
            rgba(255, 59, 48, 0.04) 35%,
            transparent 70%
        );

    pointer-events: none;
    z-index: -2;
}


/* GRID TEXTURE */

.messaging-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8),
            transparent 90%
        );

    pointer-events: none;
    z-index: -3;
}


.messaging-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(360px, 0.92fr);

    gap: clamp(60px, 8vw, 120px);

    align-items: center;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.messaging-hero-content {
    max-width: 760px;
}


.messaging-hero-content h1 {
    margin:
        24px
        0
        28px;

    max-width: 800px;

    font-size:
        clamp(
            3rem,
            6vw,
            5.8rem
        );

    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 700;
}


.messaging-hero-content h1 span {
    display: block;

    margin-top: 8px;

    color: var(
        --text-secondary,
        #a5a5a5
    );
}


.messaging-hero-lead {
    max-width: 670px;

    margin: 0;

    font-size:
        clamp(
            1rem,
            1.5vw,
            1.18rem
        );

    line-height: 1.8;

    color: var(
        --text-secondary,
        #a5a5a5
    );
}


/* HERO ACTIONS */

.messaging-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 38px;
}


/* HERO NOTE */

.messaging-hero-note {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 28px;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-hero-note > span {
    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background:
        var(
            --primary,
            #ff3b30
        );

    box-shadow:
        0 0 14px
        rgba(255, 59, 48, 0.65);
}


/* =========================================================
   MESSAGE SIGNAL
========================================================= */

.messaging-signal {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 18px;

    background:
        rgba(16, 16, 16, 0.88);

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.42);

    backdrop-filter: blur(18px);
}


.messaging-signal::before {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    right: -80px;
    top: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 59, 48, 0.12),
            transparent 70%
        );

    pointer-events: none;
}


/* HEADER */

.messaging-signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 18px 20px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-signal-status {
    color: var(
        --primary,
        #ff3b30
    );
}


/* BODY */

.messaging-signal-body {
    padding: 10px 22px;
}


.messaging-signal-stage {
    display: grid;

    grid-template-columns:
        42px
        1fr;

    gap: 14px;

    align-items: flex-start;

    padding: 20px 0;
}


.messaging-signal-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    font-size: 0.68rem;
    font-weight: 700;

    color: var(
        --text-muted,
        #6f6f6f
    );

    background:
        rgba(255, 255, 255, 0.025);
}


.messaging-signal-stage.is-weak
.messaging-signal-number {
    color: var(
        --primary,
        #ff3b30
    );

    border-color:
        rgba(255, 59, 48, 0.3);

    background:
        rgba(255, 59, 48, 0.06);
}


.messaging-signal-stage strong {
    display: block;

    margin-bottom: 7px;

    font-size: 0.95rem;
    font-weight: 650;

    color: var(
        --text,
        #f5f5f5
    );
}


.messaging-signal-stage p {
    margin: 0;

    font-size: 0.82rem;
    line-height: 1.65;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-signal-line {
    width: 1px;
    height: 18px;

    margin-left: 16px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 59, 48, 0.45),
            rgba(255, 255, 255, 0.08)
        );
}


/* SIGNAL FOOTER */

.messaging-signal-footer {
    padding: 20px 22px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    background:
        rgba(255, 255, 255, 0.018);
}


.messaging-signal-footer span {
    display: block;

    margin-bottom: 6px;

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-signal-footer strong {
    font-size: 0.95rem;

    color: var(
        --text,
        #f5f5f5
    );
}


/* =========================================================
   SHARED SECTION
========================================================= */

.messaging-section {
    position: relative;

    padding:
        clamp(80px, 10vw, 140px)
        0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);
}


.messaging-section-heading {
    display: grid;

    grid-template-columns:
        70px
        minmax(0, 760px);

    gap: 30px;

    align-items: flex-start;

    margin-bottom:
        clamp(
            45px,
            6vw,
            80px
        );
}


.messaging-section-number {
    padding-top: 3px;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-section-heading h2 {
    margin:
        18px
        0
        0;

    max-width: 760px;

    font-size:
        clamp(
            2rem,
            4vw,
            3.7rem
        );

    line-height: 1.05;

    letter-spacing: -0.04em;
}


/* =========================================================
   THE LEAK
========================================================= */

.messaging-leak {
    background:
        var(
            --bg-secondary,
            #101010
        );
}


.messaging-leak-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.85fr);

    gap:
        clamp(
            50px,
            8vw,
            120px
        );

    align-items: center;
}


.messaging-leak-copy {
    max-width: 680px;
}


.messaging-leak-copy p {
    margin:
        0
        0
        22px;

    font-size:
        clamp(
            1rem,
            1.4vw,
            1.13rem
        );

    line-height: 1.85;

    color: var(
        --text-secondary,
        #a5a5a5
    );
}


.messaging-leak-copy p:first-child {
    color: var(
        --text,
        #f5f5f5
    );
}


/* STATEMENT */

.messaging-statement {
    position: relative;

    margin: 0;

    padding:
        clamp(
            30px,
            4vw,
            50px
        );

    border:
        1px solid
        rgba(255, 59, 48, 0.20);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 59, 48, 0.07),
            rgba(255, 255, 255, 0.015)
        );
}


.messaging-statement::before {
    content: "";

    position: absolute;

    left: -1px;
    top: 28px;
    bottom: 28px;

    width: 2px;

    background:
        var(
            --primary,
            #ff3b30
        );
}


.messaging-statement > span {
    display: block;

    margin-bottom: 18px;

    font-size: 0.67rem;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(
        --primary,
        #ff3b30
    );
}


.messaging-statement p {
    margin: 0;

    font-size:
        clamp(
            1.3rem,
            2.3vw,
            2rem
        );

    line-height: 1.4;
    letter-spacing: -0.025em;

    color: var(
        --text,
        #f5f5f5
    );
}


/* =========================================================
   DECISION PATH
========================================================= */

.messaging-decision {
    background:
        var(
            --bg,
            #080808
        );
}


.messaging-path {
    display: grid;

    grid-template-columns:
        repeat(
            9,
            auto
        );

    align-items: center;

    overflow-x: auto;

    padding:
        10px
        2px
        20px;

    scrollbar-width: thin;
}


.messaging-path-step {
    width: 190px;
    min-height: 190px;

    padding: 24px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    background:
        var(
            --bg-secondary,
            #101010
        );
}


.messaging-path-step > span {
    display: block;

    margin-bottom: 38px;

    font-size: 0.68rem;
    font-weight: 700;

    color: var(
        --primary,
        #ff3b30
    );
}


.messaging-path-step strong {
    display: block;

    margin-bottom: 10px;

    font-size: 1.05rem;
}


.messaging-path-step p {
    margin: 0;

    font-size: 0.8rem;
    line-height: 1.6;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-path-arrow {
    padding: 0 18px;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


/* =========================================================
   INVESTIGATION
========================================================= */

.messaging-investigation {
    background:
        var(
            --bg-secondary,
            #101010
        );
}


.messaging-investigation-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;
}


.messaging-investigation-card {
    position: relative;

    padding:
        clamp(
            28px,
            4vw,
            42px
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    background:
        var(
            --bg-tertiary,
            #151515
        );

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background 220ms ease;
}


.messaging-investigation-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(255, 59, 48, 0.26);

    background:
        #171717;
}


.messaging-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 42px;
}


.messaging-card-top > span:first-child {
    font-size: 0.7rem;
    font-weight: 700;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-tag {
    padding: 7px 10px;

    border:
        1px solid
        rgba(255, 59, 48, 0.18);

    border-radius: 999px;

    background:
        rgba(255, 59, 48, 0.05);

    font-size: 0.6rem;
    font-weight: 700;

    letter-spacing: 0.09em;

    color: var(
        --primary,
        #ff3b30
    );
}


.messaging-investigation-card h3 {
    margin:
        0
        0
        15px;

    font-size:
        clamp(
            1.35rem,
            2vw,
            1.7rem
        );

    letter-spacing: -0.025em;
}


.messaging-investigation-card > p {
    max-width: 560px;

    margin:
        0
        0
        28px;

    font-size: 0.93rem;
    line-height: 1.75;

    color: var(
        --text-secondary,
        #a5a5a5
    );
}


.messaging-investigation-card ul {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 9px 18px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.messaging-investigation-card li {
    position: relative;

    padding-left: 16px;

    font-size: 0.76rem;
    line-height: 1.5;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-investigation-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0.58em;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        var(
            --primary,
            #ff3b30
        );
}


/* =========================================================
   METHOD
========================================================= */

.messaging-method {
    background:
        var(
            --bg,
            #080808
        );
}


.messaging-method-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.messaging-method-step {
    position: relative;

    min-height: 280px;

    padding: 34px 28px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.messaging-method-step:last-child {
    border-right: 0;
}


.messaging-method-step > span {
    display: block;

    margin-bottom: 72px;

    font-size: 0.7rem;
    font-weight: 700;

    color: var(
        --primary,
        #ff3b30
    );
}


.messaging-method-step h3 {
    margin:
        0
        0
        12px;

    font-size: 1.25rem;
}


.messaging-method-step p {
    margin: 0;

    font-size: 0.84rem;
    line-height: 1.7;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


/* =========================================================
   SHIFT
========================================================= */

.messaging-shift {
    background:
        var(
            --bg-secondary,
            #101010
        );
}


.messaging-shift-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;
}


.messaging-shift-card {
    padding:
        clamp(
            28px,
            4vw,
            42px
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    background:
        var(
            --bg-tertiary,
            #151515
        );
}


.messaging-shift-card.is-before {
    opacity: 0.7;
}


.messaging-shift-card.is-after {
    border-color:
        rgba(50, 215, 75, 0.20);

    background:
        linear-gradient(
            145deg,
            rgba(50, 215, 75, 0.035),
            #151515
        );
}


.messaging-shift-label {
    display: block;

    margin-bottom: 30px;

    font-size: 0.66rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


.messaging-shift-card.is-after
.messaging-shift-label {
    color: var(
        --success,
        #32d74b
    );
}


.messaging-shift-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}


.messaging-shift-path span {
    padding: 9px 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 7px;

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 0.76rem;

    color: var(
        --text-secondary,
        #a5a5a5
    );
}


.messaging-shift-path i {
    font-style: normal;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


/* =========================================================
   DELIVERABLES
========================================================= */

.messaging-deliverables {
    background:
        var(
            --bg,
            #080808
        );
}


.messaging-deliverables-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-left:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.messaging-deliverable {
    min-height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 40px;

    padding: 26px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);

    transition:
        background 200ms ease;
}


.messaging-deliverable:hover {
    background:
        var(
            --bg-secondary,
            #101010
        );
}


.messaging-deliverable span {
    font-size: 0.67rem;
    font-weight: 700;

    color: var(
        --primary,
        #ff3b30
    );
}


.messaging-deliverable strong {
    max-width: 240px;

    font-size: 1rem;
    line-height: 1.4;
}


/* =========================================================
   REALITY
========================================================= */

.messaging-reality {
    background:
        var(
            --bg-secondary,
            #101010
        );
}


.messaging-reality-box {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1fr);

    gap:
        clamp(
            50px,
            8vw,
            120px
        );

    padding:
        clamp(
            35px,
            6vw,
            70px
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    background:
        var(
            --bg-tertiary,
            #151515
        );
}


.messaging-reality-box h2 {
    margin:
        18px
        0
        0;

    font-size:
        clamp(
            2rem,
            3.5vw,
            3.2rem
        );

    line-height: 1.08;
    letter-spacing: -0.04em;
}


.messaging-reality-copy p {
    margin:
        0
        0
        22px;

    font-size: 0.96rem;
    line-height: 1.8;

    color: var(
        --text-secondary,
        #a5a5a5
    );
}


.messaging-reality-copy p:last-child {
    margin-bottom: 0;

    color: var(
        --text,
        #f5f5f5
    );
}


/* =========================================================
   FINAL CTA
========================================================= */

.messaging-final {
    position: relative;

    overflow: hidden;

    padding:
        clamp(
            100px,
            14vw,
            180px
        )
        0;

    text-align: center;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);

    background:
        #080808;
}


.messaging-final::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    left: 50%;
    top: 50%;

    transform:
        translate(
            -50%,
            -50%
        );

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 59, 48, 0.11),
            transparent 68%
        );

    pointer-events: none;
}


.messaging-final-inner {
    position: relative;

    z-index: 1;

    max-width: 900px;

    margin: 0 auto;
}


.messaging-final-inner
.messaging-eyebrow {
    justify-content: center;
}


.messaging-final h2 {
    margin:
        24px
        auto
        24px;

    max-width: 900px;

    font-size:
        clamp(
            2.5rem,
            5vw,
            5rem
        );

    line-height: 1.02;
    letter-spacing: -0.05em;
}


.messaging-final h2 span {
    color: var(
        --text-secondary,
        #a5a5a5
    );
}


.messaging-final p {
    max-width: 600px;

    margin:
        0
        auto
        34px;

    font-size: 1rem;
    line-height: 1.75;

    color: var(
        --text-muted,
        #6f6f6f
    );
}


/* =========================================================
   FOCUS
========================================================= */

.messaging-page a:focus-visible {
    outline:
        2px solid
        var(
            --primary,
            #ff3b30
        );

    outline-offset: 4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .messaging-hero {
        min-height: auto;
    }


    .messaging-hero-grid {
        grid-template-columns: 1fr;
    }


    .messaging-hero-content {
        max-width: 820px;
    }


    .messaging-signal {
        max-width: 680px;
    }


    .messaging-leak-grid {
        grid-template-columns: 1fr;
    }


    .messaging-investigation-grid {
        grid-template-columns: 1fr;
    }


    .messaging-method-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .messaging-method-step:nth-child(2) {
        border-right: 0;
    }


    .messaging-method-step:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.08);
    }


    .messaging-deliverables-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .messaging-reality-box {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .messaging-hero {
        padding-top: 110px;
    }


    .messaging-hero-content h1 {
        font-size:
            clamp(
                2.65rem,
                13vw,
                4rem
            );

        line-height: 1;
    }


    .messaging-hero-actions {
        flex-direction: column;
    }


    .messaging-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }


    .messaging-hero-note {
        align-items: flex-start;
        line-height: 1.6;
    }


    /* SIGNAL */

    .messaging-signal-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }


    .messaging-signal-body {
        padding:
            8px
            18px;
    }


    /* SECTION HEADING */

    .messaging-section-heading {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .messaging-section-number {
        display: inline-flex;
    }


    /* PATH */

    .messaging-path {
        grid-template-columns: 1fr;

        gap: 10px;

        overflow: visible;
    }


    .messaging-path-step {
        width: 100%;
        min-height: auto;
    }


    .messaging-path-step > span {
        margin-bottom: 28px;
    }


    .messaging-path-arrow {
        padding: 0;

        text-align: center;

        transform: rotate(90deg);
    }


    /* INVESTIGATION */

    .messaging-investigation-card ul {
        grid-template-columns: 1fr;
    }


    /* METHOD */

    .messaging-method-grid {
        grid-template-columns: 1fr;
    }


    .messaging-method-step {
        min-height: auto;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.08);
    }


    .messaging-method-step:last-child {
        border-bottom: 0;
    }


    .messaging-method-step > span {
        margin-bottom: 40px;
    }


    /* SHIFT */

    .messaging-shift-grid {
        grid-template-columns: 1fr;
    }


    /* DELIVERABLES */

    .messaging-deliverables-grid {
        grid-template-columns: 1fr;
    }


    .messaging-deliverable {
        min-height: 130px;
    }


    /* REALITY */

    .messaging-reality-box {
        padding: 28px 22px;
    }


    /* FINAL */

    .messaging-final {
        text-align: left;
    }


    .messaging-final-inner
    .messaging-eyebrow {
        justify-content: flex-start;
    }


    .messaging-final p {
        margin-left: 0;
        margin-right: 0;
    }


    .messaging-final .btn {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    .messaging-investigation-card,
    .messaging-deliverable {
        transition: none;
    }

}