@charset "utf-8";

/*
    Communications - /features/communications.

    ? The one real asset on this page is a photograph (a service advisor on the phone, the shop
    ? floor behind her) rather than an invented mock-up, so this is the one feature page whose hero
    ? is a photo instead of a dark card. The rest keeps the family's grammar: the dashed red bay
    ? line, condensed Archivo display type, concrete and steel for the darker bands.

    ? Three of the six catalog facts are gated above Starter (one at Growth, two at Elite), so the
    ? body is organized as a ladder - what is included at each tier - rather than a flat bullet list
    ? that bundles an Elite capability in with a Starter one. Nothing below claims a capability or a
    ? tier the 'communications' row does not already state.

    ? Scoped under .communications-page so the shared components keep their look elsewhere.
*/

.communications-page {
    --cm-concrete: #e8ebee;
    --cm-paper: #f4f6f7;
    --cm-line: #cdd4da;
    --cm-ink: #151b21;
    --cm-steel: #1f272f;
    --cm-text: #36424d;
    --cm-muted: #55616c;
    --cm-red: #fb172b;
    --cm-red-dark: #d9101f;

    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-stretch: 100%;
    color: var(--cm-text);
}

.communications-page .comms-hero-title,
.communications-page .comms-section-title,
.communications-page .rung-name,
.communications-page .teaser-title {
    font-stretch: 76%;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.communications-page a:focus-visible {
    outline: 3px solid var(--cm-ink);
    outline-offset: 3px;
}

/*-------------------------------------------------------------------------------------------------
    Hero - the photograph, with a scrim for the type
-------------------------------------------------------------------------------------------------*/

.communications-page .comms-hero {
    position: relative;
    background-color: var(--cm-ink);
}

.communications-page .comms-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--cm-red) 0 28px, transparent 28px 48px);
    z-index: 2;
}

.communications-page .comms-hero-media {
    position: relative;
    min-height: clamp(420px, 56vw, 620px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.communications-page .comms-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%;
}

.communications-page .comms-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(21, 27, 33, 0.94) 0%, rgba(21, 27, 33, 0.82) 32%, rgba(21, 27, 33, 0.25) 62%, rgba(21, 27, 33, 0) 80%);
}

.communications-page .comms-hero-copy {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 6vw, 64px);
}

.communications-page .comms-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cm-red);
    margin: 0 0 14px;
}

.communications-page .comms-hero-title {
    margin: 0 0 22px;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1;
    color: #ffffff;
    max-width: 17ch;
    text-wrap: balance;
}

.communications-page .comms-hero-lede {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #d3dae0;
    max-width: 46ch;
}

.communications-page .comms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.communications-page .btn-comms-ghost,
.communications-page .btn-comms-ghost:focus {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.communications-page .btn-comms-ghost:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--cm-ink);
}

/*-------------------------------------------------------------------------------------------------
    Shared section heading
-------------------------------------------------------------------------------------------------*/

.communications-page .comms-section-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.2vw, 50px);
    color: var(--cm-ink);
    text-wrap: balance;
}

.communications-page .comms-section-lede {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--cm-muted);
    max-width: 54ch;
}

/*-------------------------------------------------------------------------------------------------
    One thread, however it arrives
-------------------------------------------------------------------------------------------------*/

.communications-page .comms-thread {
    background-color: #ffffff;
    padding: clamp(56px, 8vw, 104px) 0;
}

.communications-page .comms-thread-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.communications-page .thread-card {
    width: 100%;
    max-width: 460px;
    background-color: var(--cm-paper);
    border-radius: 14px;
    padding: 18px 20px 20px;
    box-shadow: 0 30px 50px -32px rgba(0, 0, 0, 0.45);
}

.communications-page .thread-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--cm-line);
    font-size: 15px;
    font-weight: 700;
    color: var(--cm-ink);
}

.communications-page .thread-card-sub {
    font-size: 13px;
    font-weight: 600;
    color: var(--cm-muted);
}

.communications-page .thread-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/*  ? The one thing on the page that moves by itself: the thread fills in, once. */
.communications-page .thread-row {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: thread-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.5s + var(--i, 0) * 0.85s);
}

.communications-page .thread-channel {
    flex: none;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--cm-steel);
    color: #ffffff;
    font-size: 13px;
}

.communications-page .thread-bubble {
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid var(--cm-line);
    border-radius: 12px;
    font-size: 14.5px;
    color: var(--cm-ink);
}

.communications-page .thread-row-note {
    justify-content: center;
}

.communications-page .thread-row-note span {
    padding: 5px 14px;
    background-color: #ffffff;
    border: 1.5px dashed var(--cm-red);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cm-red-dark);
}

.communications-page .thread-card-caption {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--cm-muted);
}

@keyframes thread-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

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

    .communications-page .thread-row {
        animation: none;
    }
}

/*-------------------------------------------------------------------------------------------------
    What's included, and when - the ladder
-------------------------------------------------------------------------------------------------*/

.communications-page .comms-ladder {
    background-color: var(--cm-concrete);
    padding: clamp(56px, 8vw, 104px) 0;
}

.communications-page .ladder-head {
    margin-bottom: clamp(36px, 5vw, 56px);
}

.communications-page .ladder-rungs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.communications-page .rung {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 26px 24px;
    border-top: 4px solid var(--cm-line);
}

.communications-page .rung-growth {
    border-top-color: var(--cm-red);
}

.communications-page .rung-elite {
    border-top-color: var(--cm-ink);
}

.communications-page .rung-tier {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cm-red-dark);
    background-color: var(--cm-concrete);
    border-radius: 100px;
    padding: 3px 11px;
    margin-bottom: 14px;
}

.communications-page .rung-elite .rung-tier {
    color: #ffffff;
    background-color: var(--cm-ink);
}

.communications-page .rung-name {
    margin: 0 0 14px;
    font-size: 22px;
    color: var(--cm-ink);
}

.communications-page .rung-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.communications-page .rung-points li {
    position: relative;
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--cm-text);
}

.communications-page .rung-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background-color: var(--cm-red);
}

/*-------------------------------------------------------------------------------------------------
    Go deeper - the phone teaser
-------------------------------------------------------------------------------------------------*/

.communications-page .comms-teaser {
    background-color: #ffffff;
    padding: clamp(56px, 8vw, 104px) 0;
}

.communications-page .teaser-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    background-color: var(--cm-steel);
    border-radius: 16px;
    padding: 32px clamp(24px, 4vw, 44px);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.communications-page .teaser-card:hover,
.communications-page .teaser-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 24px 44px -28px rgba(0, 0, 0, 0.5);
}

.communications-page .teaser-icon {
    flex: none;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--cm-red);
    color: #ffffff;
    font-size: 22px;
}

.communications-page .teaser-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa6b1;
    margin: 0 0 6px;
}

.communications-page .teaser-title {
    margin: 0 0 6px;
    font-size: clamp(20px, 2.2vw, 26px);
    color: #ffffff;
}

.communications-page .teaser-line {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #c3ccd5;
    max-width: 56ch;
}

.communications-page .teaser-go {
    flex: none;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.communications-page .teaser-go i {
    margin-left: 6px;
    transition: transform 0.18s ease;
}

.communications-page .teaser-card:hover .teaser-go i,
.communications-page .teaser-card:focus-visible .teaser-go i {
    transform: translateX(4px);
}

/*-------------------------------------------------------------------------------------------------
    Responsive
-------------------------------------------------------------------------------------------------*/

@media (max-width: 991px) {

    .communications-page .comms-thread-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .communications-page .thread-card {
        max-width: 100%;
    }

    .communications-page .ladder-rungs {
        grid-template-columns: minmax(0, 1fr);
    }

    .communications-page .teaser-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .communications-page .teaser-go {
        grid-column: 2 / 3;
    }
}

@media (max-width: 767px) {

    .communications-page .comms-hero-actions .btn {
        width: 100%;
    }

    .communications-page .comms-hero-media {
        align-items: flex-end;
    }

    .communications-page .comms-hero-scrim {
        background: linear-gradient(0deg, rgba(21, 27, 33, 0.96) 10%, rgba(21, 27, 33, 0.55) 55%, rgba(21, 27, 33, 0.15) 100%);
    }

    .communications-page .teaser-card {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .communications-page .teaser-icon {
        margin: 0 auto;
    }

    .communications-page .teaser-go {
        grid-column: auto;
        justify-self: center;
    }
}
