/* ==========================================================================
   Valunxt – sub-service pages (includes/subservice-page.php).

   Revised 2026-11-14 from the client's review: a shorter page, service
   photos with no people, a smaller hero title, plain section labels, and
   boxes in one hairline grid (as on the Reliant V&A page) in place of
   separate cards. practice.css + services.css load first; this file adds
   the hero, overview, scope mosaic, glass process and related boxes. The tab block
   and the Reliant line in the call to action live in practice.css.
   Tokens: --blue, --ink, --ink-55, --white, --px-tint, --line. Prefix: .ss-
   ========================================================================== */

/* A tighter rhythm than the practice pages: the page reads in one go */
.page-sub {
    --px-sec: 96px;
    --px-head-gap: 48px;
}

@media (max-width: 1099px) {
    .page-sub {
        --px-sec: 72px;
        --px-head-gap: 40px;
    }
}

@media (max-width: 767px) {
    .page-sub {
        --px-sec: 56px;
        --px-head-gap: 28px;
    }
}

.ss-visually {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Section labels: plain blue text, no rule and no wide tracking */
.page-sub .px-kicker {
    gap: 0;
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: .06em;
}

.page-sub .px-kicker::after {
    display: none;
}

.page-sub .px-h2 {
    font-size: 36px;
}

/* 1. Hero ------------------------------------------------------------------ */
.ss-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 150px 0 96px;
    overflow: hidden;
    color: var(--white);
    background: #0034d1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 61% calc(100% - 48px), 57.5% 100%, 0 100%);
}

.ss-hero>.container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.ss-hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 44%;
    overflow: hidden;
    background: #0a249a;
}

/* a soft blue wash where the photo meets the blue ground */
.ss-hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 52, 209, .5) 0%, rgba(0, 52, 209, 0) 26%),
        linear-gradient(180deg, rgba(4, 10, 32, .35) 0%, rgba(4, 10, 32, 0) 28%);
}

.ss-hero__img {
    position: absolute;
    inset: -6% 0;
    display: block;
    will-change: transform;
}

.ss-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ss-settle 2.4s var(--ease-out) both;
}

@keyframes ss-settle {
    from {
        transform: scale(1.08);
    }

    to {
        transform: none;
    }
}

.ss-hero__inner {
    position: relative;
}

.ss-hero__copy {
    max-width: min(620px, 48vw);
}

.ss-hero>.ss-hero__card {
    position: absolute;
    z-index: 2;
    right: calc(var(--pad) + 8px);
    bottom: 84px;
}

.ss-hero__title {
    margin-top: 28px;
    font-size: clamp(34px, 3.1vw, 50px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--white);
}

.ss-hero__title>span {
    display: block;
}

.ss-hero__accent {
    color: rgba(255, 255, 255, .66);
}

.ss-hero__lead {
    max-width: 560px;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.ss-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: 36px;
}

.ss-btn-light {
    background: var(--white);
    color: var(--blue);
}

.ss-btn-light:hover {
    color: var(--white);
}

.ss-hero__wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    transition: border-color .3s var(--ease);
}

.ss-hero__wa:hover {
    border-color: var(--white);
}

.ss-hero__wa .icon {
    width: 20px;
    height: 20px;
}

/* the glass figure card, linking to the practice */
.ss-hero__card {
    display: flex;
    flex-direction: column;
    width: 232px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
    background: rgba(0, 40, 170, .58);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    color: var(--white);
    transition: background-color .4s var(--ease), transform .6s var(--ease-out);
}

.ss-hero__card:hover {
    background: rgba(0, 40, 170, .74);
    transform: translateY(-4px);
}

.ss-hero__card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}

.ss-hero__card-fig {
    margin-top: 8px;
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.03em;
}

.ss-hero__card-unit {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}

.ss-hero__card-go {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .26);
    font-size: 13px;
    font-weight: 600;
}

.ss-hero__card-go .icon {
    width: 14px;
    height: 14px;
    transition: transform .4s var(--ease-out);
}

.ss-hero__card:hover .ss-hero__card-go .icon {
    transform: translateX(4px);
}


/* 2. Overview -------------------------------------------------------------- */
.ss-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: start;
}

.ss-overview__answer {
    font-size: 21px;
    line-height: 1.6;
    color: var(--ink);
}

.ss-overview__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 32px;
}

.ss-overview__trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-55);
}

.ss-overview__trust .icon {
    width: 16px;
    height: 16px;
    color: var(--blue);
}

/* 3. Scope mosaic: two rows of four, service photos in a checker pattern
   with tiles in four tones ----------------------------------------------------- */
.ss-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(300px, auto);
    gap: 16px;
    align-items: stretch;
}

.ss-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px 26px 26px;
    border-radius: 14px;
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}

.ss-tile:not(.ss-tile--photo):hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -24px rgba(10, 18, 48, .35);
}

.ss-tile--photo {
    padding: 0;
}

.ss-tile--photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.ss-tile--photo:hover img {
    transform: scale(1.06);
}

.ss-tile--light {
    border: 1px solid var(--px-edge);
    background: var(--white);
    color: var(--ink);
}

.ss-tile--navy {
    background: #0a1230;
    color: var(--white);
}

.ss-tile--slate {
    background: #5d7489;
    color: var(--white);
}

.ss-tile--blue {
    background: var(--blue);
    color: var(--white);
}

.ss-tile__num {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--blue);
}

.ss-tile:not(.ss-tile--light) .ss-tile__num {
    color: rgba(255, 255, 255, .7);
}

.ss-tile__title {
    margin-top: 12px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: inherit;
}

/* the description reads straight on from the title; the keyword line is
   anchored to the foot, level across the row */
.ss-tile__text {
    margin: 12px 0 22px;
    font-size: 14.5px;
    line-height: 1.6;
    opacity: .8;
}

.ss-tile__list {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 22%, transparent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

/* 4. How it works: frosted cards with large numerals over a photo ---------- */
.ss-glass {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 104px 0 96px;
    color: var(--white);
    background: #1b2f6b;
}

.ss-glass__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.ss-glass__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-glass__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    /* light enough to show the photo; the head text keeps a darker band */
    background: linear-gradient(180deg, rgba(4, 12, 48, .5) 0%, rgba(4, 12, 48, .16) 48%, rgba(4, 12, 48, .34) 100%);
}

.ss-glass__head {
    max-width: 640px;
    /* keeps the head legible over the bright daytime photos */
    text-shadow: 0 1px 2px rgba(4, 12, 48, .35), 0 2px 18px rgba(4, 12, 48, .45);
}

.ss-glass__label {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
}

.ss-glass__title {
    font-size: 44px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--white);
}

.ss-glass__note {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
}

.ss-glass__steps {
    --n: 5;
    display: grid;
    grid-template-columns: repeat(var(--n), minmax(0, 1fr));
    gap: 14px;
    margin-top: 64px;
}

.ss-glass__steps--3 { --n: 3; }
.ss-glass__steps--4 { --n: 4; }
.ss-glass__steps--6 { --n: 3; }

.ss-glass__card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 26px 24px 120px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 14px;
    background: rgba(8, 20, 66, .34);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
    transition: background-color .45s var(--ease), transform .6s var(--ease-out);
}

.ss-glass__card:hover {
    background: rgba(8, 20, 66, .46);
    transform: translateY(-4px);
}

.ss-glass__when {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.ss-glass__name {
    margin-top: 8px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--white);
}

.ss-glass__text {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
}

/* the large numeral, anchored to the card's foot */
.ss-glass__num {
    position: absolute;
    right: 18px;
    bottom: -18px;
    font-size: 150px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--white);
    pointer-events: none;
}

/* 6. Related services: photo boxes sharing their hairlines (Reliant V&A) --- */
.ss-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--px-edge);
    border-left: 1px solid var(--px-edge);
    background: var(--white);
}

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

.ss-boxes--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ss-box {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--px-edge);
    border-bottom: 1px solid var(--px-edge);
    background: var(--white);
}

.ss-box--photo {
    padding: 18px 18px 14px;
}

.ss-box__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.ss-box__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--px-tint);
}

.ss-box__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}

.ss-box__link:hover .ss-box__media img {
    transform: scale(1.05);
}

.ss-box__num {
    margin: 22px 10px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--blue);
}

/* title, text and "Explore" sit well clear of the photo and of each other */
.ss-box__title {
    align-self: flex-start;
    margin: 28px 14px 0;
    padding-bottom: 3px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--ink);
}

.ss-box__text {
    display: -webkit-box;
    margin: 12px 14px 0;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-55);
}

.ss-box__go {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 28px 14px 8px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--px-edge);
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
}

.ss-box__text+.ss-box__go {
    margin-top: 32px;
}

.ss-box__go .icon {
    width: 18px;
    height: 18px;
    transition: transform .4s var(--ease-out);
}

.ss-box__link:hover .ss-box__go .icon {
    transform: translateX(4px);
}

/* Tablet ---------------------------------------------------------------------- */
@media (max-width: 1099px) {
    .ss-hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 140px 0 0;
        clip-path: none;
    }

    .ss-hero__copy {
        max-width: none;
    }

    .ss-hero__photo {
        position: relative;
        order: 2;
        width: 100%;
        height: clamp(280px, 50vw, 460px);
        margin-top: 48px;
    }

    .ss-hero__photo::after {
        background: linear-gradient(180deg, rgba(0, 52, 209, .45) 0%, rgba(0, 52, 209, 0) 28%);
    }

    .ss-hero__card {
        display: none;
    }

    .ss-overview__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ss-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(260px, auto);
    }

    .ss-glass {
        padding: 80px 0 72px;
    }

    .ss-glass__title {
        font-size: 36px;
    }

    .ss-glass__steps,
    .ss-glass__steps--4,
    .ss-glass__steps--6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ss-boxes,
    .ss-boxes--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phone ------------------------------------------------------------------------ */
@media (max-width: 767px) {
    .page-sub .px-h2 {
        font-size: 28px;
    }

    .ss-hero {
        padding-top: 120px;
    }

    .ss-hero__photo {
        height: 70vw;
        margin-top: 36px;
    }

    .ss-hero__title {
        margin-top: 20px;
        font-size: 32px;
    }

    .ss-hero__lead {
        margin-top: 18px;
        font-size: 16px;
    }

    .ss-hero__actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 28px;
    }

    .ss-hero__actions .px-btn {
        justify-content: space-between;
    }

    .ss-hero__wa {
        align-self: flex-start;
    }

    .ss-overview__answer {
        font-size: 18px;
    }

    /* one column; only the first photo tile stays, as a band */
    .ss-mosaic {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
    }

    .ss-tile {
        min-height: 0;
        padding: 22px 20px;
    }

    .ss-tile--photo {
        display: none;
        height: 200px;
    }

    .ss-tile--photo:first-child {
        display: block;
    }

    .ss-tile__text {
        padding-top: 16px;
    }

    .ss-glass {
        padding: 64px 0 56px;
    }

    .ss-glass__title {
        font-size: 30px;
    }

    .ss-glass__steps,
    .ss-glass__steps--4,
    .ss-glass__steps--6 {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 36px;
    }

    .ss-glass__card {
        min-height: 0;
        padding: 22px 96px 24px 20px;
    }

    .ss-glass__num {
        right: 14px;
        bottom: -10px;
        font-size: 96px;
    }

    .ss-boxes,
    .ss-boxes--2,
    .ss-boxes--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .ss-box--photo {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ss-hero__img img,
    .ss-tile,
    .ss-tile--photo img,
    .ss-glass__card,
    .ss-box__media img {
        animation: none;
        transition: none;
    }
}

/* ==========================================================================
   Overview band (2026-11-20, client reference): a deep navy panel with the
   direct answer, a striped light-blue edge, a premium photo filling the rest
   ========================================================================== */
.ss-band {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 38%) 56px minmax(0, 1fr);
    min-height: clamp(420px, 38vw, 560px);
    background: #0a2aa8;
    color: var(--white);
    scroll-margin-top: 80px;
}

.ss-band__panel {
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, #0b2dbe 0%, #0a2aa8 60%, #0a2aa8 100%);
}

.ss-band__in {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    padding: var(--space-sec, 48px) clamp(28px, 4vw, 64px) var(--space-sec, 48px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}

.ss-band__kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
}

.ss-band__kicker::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    background: #8fb0ff;
}

.ss-band__title {
    margin-top: 14px;
    font-size: clamp(32px, 3.4vw, 52px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: var(--white);
}

.ss-band__text {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .86);
}

.ss-band__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
}

.ss-band__btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, .5);
    transition: background-color .35s var(--ease, ease);
}

.ss-band__btn .icon {
    width: 15px;
    height: 15px;
    transition: transform .4s var(--ease-out, ease);
}

.ss-band__btn:hover::after {
    background: var(--white);
}

.ss-band__btn:hover .icon {
    transform: translate(3px, -3px);
}

/* the striped edge between the panel and the photo */
.ss-band__stripe {
    background:
        repeating-linear-gradient(180deg, rgba(110, 160, 255, .75) 0 2px, transparent 2px 7px),
        #0a2a7a;
    -webkit-mask: linear-gradient(90deg, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%);
    mask: linear-gradient(90deg, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%);
}

.ss-band__media {
    position: relative;
    overflow: hidden;
    background: #0b2dbe;
}

.ss-band__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.6s var(--ease-out, ease);
}

.ss-band:hover .ss-band__media img {
    transform: scale(1.06);
}

@media (max-width: 1099px) {
    .ss-band {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 18px 320px;
    }

    .ss-band__in {
        max-width: none;
        padding: 44px var(--pad);
    }

    .ss-band__stripe {
        background: repeating-linear-gradient(90deg, rgba(110, 160, 255, .75) 0 2px, transparent 2px 7px), #0a2a7a;
        -webkit-mask: none;
        mask: none;
    }
}

@media (max-width: 640px) {
    .ss-band {
        grid-template-rows: auto 14px 240px;
    }

    .ss-band__text {
        font-size: 16px;
    }
}

/* ==========================================================================
   Scope as a structure (2026-11-20, client reference): on deep navy, the
   service as a blue box at the top, a line branching to each part of the
   engagement (light boxes, three to a row), the trunk running on below the
   middle box to the next row
   ========================================================================== */
.ss-tree-sec {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--space-sec, 48px) 0 calc(var(--space-sec, 48px) + 8px);
    background:
        radial-gradient(60% 70% at 85% 0%, rgba(90, 130, 255, .25) 0%, rgba(90, 130, 255, 0) 60%),
        linear-gradient(165deg, #0b2dbe 0%, #0a2aa8 55%, #0a2aa8 100%);
    color: var(--white);
    scroll-margin-top: 80px;
}

.ss-tree__head {
    max-width: 900px;
}

.ss-tree__kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
}

.ss-tree__kicker::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    background: #8fb0ff;
}

.ss-tree__title {
    margin-top: 14px;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--white);
}

.ss-tree__lead {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
}

.ss-tree {
    --tree-line: rgba(255, 255, 255, .42);
    --tree-gap: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 44px;
}

.ss-tree__root {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 16px 34px;
    background: #1d46e8;
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
    font-size: clamp(19px, 1.6vw, 24px);
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--white);
}

.ss-tree__row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: calc(var(--tree-gap) * 2) 0 0;
    padding: 0;
    list-style: none;
}

.ss-tree__row--n2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 66%;
}

.ss-tree__row--n1 {
    grid-template-columns: minmax(0, 1fr);
    width: 34%;
}

/* the trunk into the row (from the box above) */
.ss-tree__row::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(var(--tree-gap) * -2);
    width: 1px;
    height: var(--tree-gap);
    background: var(--tree-line);
}

/* the branch across the row */
.ss-tree__row::before {
    content: "";
    position: absolute;
    top: calc(var(--tree-gap) * -1);
    left: calc((100% - 48px) / 6);
    right: calc((100% - 48px) / 6);
    height: 1px;
    background: var(--tree-line);
}

.ss-tree__row--n2::before {
    left: calc((100% - 24px) / 4);
    right: calc((100% - 24px) / 4);
}

.ss-tree__row--n1::before {
    display: none;
}

.ss-tree__node {
    position: relative;
    padding: 20px 22px 18px;
    background: #dde7ff;
    color: #0b2dbe;
    transition: background-color .35s var(--ease, ease), transform .5s var(--ease-out, ease);
}

/* the drop into each box */
.ss-tree__node::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(var(--tree-gap) * -1);
    width: 1px;
    height: var(--tree-gap);
    background: var(--tree-line);
}

.ss-tree__name {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: #0b2dbe;
}

.ss-tree__text {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #2d3a62;
}

.ss-tree__list {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(10, 29, 110, .14);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    color: #1d46e8;
}

@media (hover: hover) and (pointer: fine) {
    .ss-tree__node:hover {
        background: var(--white);
        transform: translateY(-3px);
    }
}

@media (max-width: 899px) {
    .ss-tree__row,
    .ss-tree__row--n2,
    .ss-tree__row--n1 {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: var(--tree-gap);
        margin-top: var(--tree-gap);
    }

    .ss-tree__row::before {
        display: none;
    }

    .ss-tree__row::after {
        top: calc(var(--tree-gap) * -1);
    }

    .ss-tree__node:not(:first-child)::before {
        top: calc(var(--tree-gap) * -1);
    }

    .ss-tree__node:first-child::before {
        display: none;
    }
}

/* overview band: the page's proof points under the explanation (2026-11-20) */
.ss-band__proof {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    list-style: none;
}

.ss-band__proof li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--white);
}

.ss-band__proof .icon {
    flex: none;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: var(--white);
    stroke-width: 2.4;
}

.ss-band__text {
    font-size: 16px;
}


/* scope diagram on a light ground (2026-11-20 storyline), so the page
   alternates blue and light bands */
.ss-tree-sec {
    background: linear-gradient(180deg, #f6f8fe 0%, #eef2fc 100%);
    color: var(--ink);
}

.ss-tree__kicker { color: var(--ink); }
.ss-tree__kicker::before { background: var(--blue); }
.ss-tree__title { color: var(--ink); }
.ss-tree__lead { color: var(--ink-70); }

.ss-tree {
    --tree-line: rgba(11, 45, 190, .35);
}

.ss-tree__root {
    background: var(--blue);
    box-shadow: 0 18px 34px -22px rgba(11, 45, 190, .6);
}

.ss-tree__node {
    border: 1px solid #dfe5f2;
    background: var(--white);
}

.ss-tree__name { color: var(--ink); }
.ss-tree__text { color: var(--ink-70); }
.ss-tree__list { border-top-color: #e6ebf5; color: var(--blue); }

@media (hover: hover) and (pointer: fine) {
    .ss-tree__node:hover {
        border-color: var(--blue);
        background: var(--white);
        box-shadow: 0 20px 40px -28px rgba(11, 45, 190, .5);
    }
}

/* overview band, shorter (client, 2026-11-20: "too long") */
.ss-band {
    min-height: 0;
    grid-template-columns: minmax(0, 44%) 40px minmax(0, 1fr);
}

.ss-band .ss-band__in {
    max-width: 640px;
    padding-top: 44px;
    padding-bottom: 44px;
}

.ss-band .ss-band__title {
    font-size: clamp(28px, 2.5vw, 38px);
    line-height: 1.12;
}

.ss-band .ss-band__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
}

.ss-band .ss-band__proof {
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: start;
    gap: 8px 22px;
    margin-top: 18px;
    padding-top: 16px;
}

.ss-band .ss-band__proof li {
    font-size: 13.5px;
}

.ss-band .ss-band__btn {
    margin-top: 20px;
}

@media (max-width: 1099px) {
    .ss-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .ss-band .ss-band__proof {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   Scope, 2026-11-21 (client: the numbered card grid "looks very AI
   generated"). An editorial index on deep navy: the areas of work as large
   light rows; the open row shows what it covers and its deliverables as
   tags, and the photo beside the list changes with it (caption and ticks
   follow). Desktop: pointer, focus or click opens a row and one is always
   open; phones: an accordion, no photo. No numerals, no cards, square.
   Shares its row language (hairlines, a 2px marker on the open row, light
   display type) with "How it works" (process-schedule.css).
   Markup: subservice-page.php "Scope"; script: subservice.js [data-ssc]
   ========================================================================== */
.ssc {
    --ssc-line: rgba(255, 255, 255, .14);
    --ssc-mark: #8fb0ff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--px-sec, 96px) 0;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(29, 71, 224, .5) 0%, rgba(29, 71, 224, 0) 62%),
        radial-gradient(60% 50% at 0% 100%, rgba(11, 45, 190, .35) 0%, rgba(11, 45, 190, 0) 70%),
        linear-gradient(180deg, #06154d 0%, #0a1f6e 100%);
    color: var(--white);
    scroll-margin-top: 80px;
}

.ssc__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: end;
    gap: 24px 64px;
    margin-bottom: clamp(36px, 4vw, 60px);
}

.ssc__kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small, 15px);
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
}

.ssc__kicker::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    background: var(--ssc-mark);
}

.ssc__title {
    margin-top: 14px;
    max-width: 20ch;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: var(--white);
}

.ssc__lead {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
}

.ssc__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: start;
    gap: clamp(40px, 5.5vw, 96px);
}

/* the index */
.ssc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ssc-line);
}

.ssc__item {
    position: relative;
    border-bottom: 1px solid var(--ssc-line);
}

.ssc__item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: -1px;
    bottom: -1px;
    width: 2px;
    background: var(--ssc-mark);
    transform: scaleY(0);
    transform-origin: 50% 0;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.ssc__item.is-open::before {
    transform: scaleY(1);
}

.ssc__h {
    margin: 0;
    font: inherit;
}

.ssc__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 0;
    padding-inline-start: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: clamp(21px, 1.9vw, 29px);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: -.018em;
    text-align: start;
    color: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: color .4s var(--ease, ease), padding .6s cubic-bezier(.2, .7, .2, 1);
}

.ssc__btn:hover,
.ssc__item.is-open .ssc__btn {
    color: var(--white);
}

.ssc__item.is-open .ssc__btn {
    padding-inline-start: 26px;
}

.ssc__btn:focus-visible {
    outline: 2px solid var(--ssc-mark);
    outline-offset: 4px;
}

/* plus that turns to a minus */
.ssc__sign {
    position: relative;
    flex: none;
    width: 14px;
    height: 14px;
    opacity: .7;
    transition: opacity .3s;
}

.ssc__sign::before,
.ssc__sign::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1.5px;
    margin-top: -.75px;
    background: currentColor;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.ssc__sign::after {
    transform: rotate(90deg);
}

.ssc__item.is-open .ssc__sign {
    opacity: 1;
}

.ssc__item.is-open .ssc__sign::after {
    transform: rotate(0deg);
}

.ssc__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .6s cubic-bezier(.2, .7, .2, 1);
}

.ssc__item.is-open .ssc__panel {
    grid-template-rows: 1fr;
}

.ssc__in {
    min-height: 0;
    overflow: hidden;
    padding-inline-start: 26px;
    opacity: 0;
    transition: opacity .3s var(--ease, ease);
}

.ssc__item.is-open .ssc__in {
    opacity: 1;
    transition: opacity .5s var(--ease, ease) .14s;
}

.ssc__text {
    max-width: 52ch;
    margin: -4px 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .76);
}

.ssc__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.ssc__tags li {
    padding: 7px 12px 6px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .05);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .01em;
    color: var(--white);
}

.ssc__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--white);
    transition: border-color .3s;
}

.ssc__link .icon {
    width: 14px;
    height: 14px;
    transition: transform .4s var(--ease-out, ease);
}

.ssc__link:hover {
    border-color: var(--white);
}

.ssc__link:hover .icon {
    transform: translate(3px, -3px);
}

.ssc__in > :last-child {
    margin-bottom: 30px;
}

/* the photo beside the list */
.ssc__aside {
    position: sticky;
    top: calc(var(--header-h, 72px) + 72px);
}

.ssc__frame {
    position: relative;
    display: block;
    height: min(60vh, 600px);
    min-height: 380px;
    overflow: hidden;
    background: #0b2dbe;
}

.ssc__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 12, 48, .35) 0%, rgba(4, 12, 48, 0) 28%, rgba(4, 12, 48, 0) 46%, rgba(4, 12, 48, .82) 100%);
    pointer-events: none;
}

.ssc__img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.07);
    transition: opacity .9s var(--ease, ease), transform 1.6s var(--ease-out, ease);
}

.ssc__img.is-on {
    opacity: 1;
    transform: scale(1);
}

.ssc__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ssc__cap {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 2;
    display: grid;
    gap: 10px;
}

.ssc__cap-k {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.ssc__cap-t {
    max-width: 16ch;
    font-size: clamp(24px, 2.3vw, 36px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--white);
    transition: opacity .35s var(--ease, ease), transform .5s var(--ease-out, ease);
}

.ssc__cap-t.is-swap {
    opacity: 0;
    transform: translateY(10px);
    transition-duration: .18s;
}

.ssc__ticks {
    position: absolute;
    top: 26px;
    left: 28px;
    z-index: 2;
    display: flex;
    gap: 6px;
}

.ssc__ticks i {
    width: 16px;
    height: 2px;
    background: rgba(255, 255, 255, .38);
    transition: width .5s cubic-bezier(.2, .7, .2, 1), background-color .4s;
}

.ssc__ticks i.is-on {
    width: 40px;
    background: var(--white);
}

.ssc__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 22px;
}

.ssc__foot p {
    flex: 1 1 240px;
    max-width: 34ch;
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .7);
}

.ssc__cta {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--white);
    font-size: 15px;
    font-weight: 500;
    color: var(--blue);
    transition: background-color .3s, color .3s;
}

.ssc__cta .icon {
    width: 15px;
    height: 15px;
    transition: transform .4s var(--ease-out, ease);
}

.ssc__cta:hover {
    background: var(--sky, #e6edff);
}

.ssc__cta:hover .icon {
    transform: translateX(3px);
}

.ssc__cta:focus-visible {
    outline: 2px solid var(--ssc-mark);
    outline-offset: 3px;
}

/* tablet: the photo as a band over the list, the call to action under it */
@media (max-width: 899px) {
    .ssc__head {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .ssc__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ssc__aside {
        display: contents;
    }

    .ssc__frame {
        order: -1;
        height: 300px;
        min-height: 0;
    }

    .ssc__foot {
        order: 2;
        margin-top: 0;
    }
}

/* phones: an accordion, no photo; tighter rows */
@media (max-width: 599px) {
    .ssc {
        padding: 52px 0;
    }

    .ssc__title {
        font-size: 28px;
    }

    .ssc__lead {
        font-size: 15px;
    }

    .ssc__head {
        margin-bottom: 26px;
    }

    .ssc__frame {
        display: none;
    }

    .ssc__btn {
        padding: 17px 0;
        font-size: 19px;
        line-height: 1.25;
    }

    .ssc__item.is-open .ssc__btn {
        padding-inline-start: 16px;
    }

    .ssc__in {
        padding-inline-start: 16px;
    }

    .ssc__text {
        font-size: 15px;
    }

    .ssc__tags {
        margin-top: 14px;
    }

    .ssc__tags li {
        font-size: 12.5px;
    }

    .ssc__in > :last-child {
        margin-bottom: 22px;
    }

    .ssc__foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ssc__foot p {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ssc__item::before,
    .ssc__btn,
    .ssc__panel,
    .ssc__in,
    .ssc__img,
    .ssc__cap-t,
    .ssc__ticks i {
        transition: none;
    }

    .ssc__img {
        transform: none;
    }
}

/* ==========================================================================
   Overview band on tablets, 2026-11-21 (client: "Overview is not at all
   aligned"). The "shorter" rules above kept max-width: 640px with
   margin-left: auto below 1100px, which pushed the text off the page grid.
   768-1099: the panel and the photo side by side, the text starting on the
   container line (--pad); below 768: stacked, a short photo.
   ========================================================================== */
@media (max-width: 1099px) {
    .ss-band .ss-band__in {
        max-width: none;
        margin: 0;
        padding: 48px var(--pad);
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .ss-band {
        grid-template-columns: minmax(0, 60%) 24px minmax(0, 1fr);
        grid-template-rows: auto;
    }

    .ss-band .ss-band__in {
        padding: 52px clamp(28px, 4vw, 44px) 52px var(--pad);
    }

    .ss-band .ss-band__title {
        font-size: clamp(28px, 3.6vw, 36px);
    }

    .ss-band__stripe {
        background:
            repeating-linear-gradient(180deg, rgba(110, 160, 255, .75) 0 2px, transparent 2px 7px),
            #0a2a7a;
        -webkit-mask: linear-gradient(90deg, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%);
        mask: linear-gradient(90deg, #000 0%, #000 55%, rgba(0, 0, 0, .55) 100%);
    }

    body .ss-band .ss-band__proof {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
}

/* ==========================================================================
   Phones, 2026-11-21 (client: "make sure that the content and the sections
   are not that long to scroll"): tighter sections, fewer decorative photos,
   long lists collapsed. Scope is an accordion (above); here the overview
   photo is a short strip, and the photos in the detail tabs, "Why Valunxt"
   and the FAQ are left out (each repeats the mood of the page, not its
   content). Doubled selectors: responsive.css loads after this file.
   ========================================================================== */
@media (max-width: 767px) {
    body.page-sub .ss-band {
        grid-template-rows: auto 10px 150px;
    }

    body.page-sub .ss-band .ss-band__in {
        padding: 40px var(--pad) 36px;
    }

    body.page-sub .ss-band .ss-band__text {
        font-size: 15px;
        line-height: 1.6;
    }

    body.page-sub .ss-band .ss-band__proof {
        gap: 8px;
        margin-top: 18px;
        padding-top: 16px;
    }

    body.page-sub .px-eng .px-eng__media,
    body.page-sub section.ss-approach .ss-approach__media,
    body.page-sub .hfaq--px .hfaq__media {
        display: none;
    }

    body.page-sub section.ss-approach .ss-approach__item {
        padding: 16px 0 18px;
    }

    body.page-sub section.ss-approach .ss-approach__list {
        margin-top: 18px;
    }
}

@media (max-width: 767px) {
    /* deliverable / rule rows: the format and the date share a line */
    body.page-sub .px-eng .px-eng__row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 12px;
    }

    body.page-sub .px-eng .px-eng__row {
        padding-left: 46px;
    }

    body.page-sub .px-eng .px-eng__key {
        flex: 1 0 100%;
        margin-left: -42px;
    }

    body.page-sub .px-eng .px-eng__x {
        flex: 0 1 auto;
        padding-left: 0;
    }

    body.page-sub .px-eng .px-eng__m {
        flex: none;
        margin: 0;
    }

    body.page-sub .px-eng .px-eng__row > .px-eng__x:empty {
        display: none;
    }

    /* the call to action: a shorter photo strip */
    body.page-sub .px-cta .fee__media {
        height: 140px;
    }
}
