/* ==========================================================================
   Valunxt – Services page and the six practice pages.
   Layouts follow the approved designs ("Main Services Page.pdf" = sx-,
   "Sub Services Page.pdf" = px-), section by section. The finish is
   corporate: the site's Helvetica Neue / Inter, the brand blue, one
   container and one gutter, one vertical rhythm, hairlines instead of
   shadows. services.css (loaded first) supplies the fixed-fee call to action.
   Breakpoints: 1280, 1100 (matches the header), 768.
   ========================================================================== */

.page-practice {
    --px-tint: #f5f6f9;
    --px-edge: #dde3ee;
    --px-chip: #e6edff;
    --px-gap: 24px;
    --px-sec: 120px;
    --px-head-gap: 64px;
}

@media (max-width: 1099px) {
    .page-practice {
        --px-sec: 88px;
        --px-head-gap: 48px;
    }
}

@media (max-width: 767px) {
    .page-practice {
        --px-gap: 16px;
        --px-sec: 64px;
        --px-head-gap: 36px;
    }
}

:where(.page-practice main) ul,
:where(.page-practice main) ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.page-practice main) img {
    display: block;
    max-width: 100%;
}

.px-sec {
    padding: var(--px-sec) 0;
}

.px-sec--white {
    background: var(--white);
}

.px-sec--tint {
    background: var(--px-tint);
}

/* Call to action on the service pages: one box split in two, the blue panel
   on the left and the photo on the right, the same height and flush (no
   panel hanging over the photo). Phones: photo on top, panel under it. */
.px-cta .fee__frame {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    min-height: 420px;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 60px -40px rgba(10, 18, 48, .45);
}

.px-cta .fee__panel {
    position: relative;
    bottom: auto;
    left: auto;
    order: 0;
    display: flex;
    align-items: center;
    width: auto;
    border-radius: 0;
}

.px-cta .fee__body {
    width: 100%;
    padding: 52px clamp(32px, 4vw, 60px);
}

.px-cta .fee__media {
    order: 1;
    height: auto;
    min-height: 100%;
    border-radius: 0;
}

.px-cta .fee__media img {
    object-position: 50% 50%;
}

@media (max-width: 1099px) {
    .px-cta .fee__frame {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 380px;
    }

    .px-cta .fee__body {
        padding: 36px 32px;
    }
}

@media (max-width: 767px) {
    .px-cta .fee__frame {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .px-cta .fee__media {
        order: 0;
        height: 220px;
        min-height: 0;
    }

    .px-cta .fee__panel {
        order: 1;
        margin: 0;
    }

    .px-cta .fee__body {
        padding: 28px 22px 30px;
    }
}

/* Shared type -------------------------------------------------------------- */
.px-h2 {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
    text-wrap: balance;
}

.px-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.px-label--blue {
    color: var(--blue);
}

/* "SERVICES ——": label with a trailing rule; the light version (hero) leads
   with the rule instead */
.px-kicker {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
}

.px-kicker::after {
    content: "";
    width: 56px;
    height: 1px;
    background: var(--line);
}

.px-kicker--light {
    color: var(--white);
}

.px-kicker--light::after {
    display: none;
}

.px-kicker--light::before {
    content: "";
    width: 40px;
    height: 1.5px;
    background: currentColor;
}

/* Text link: blue with a short underline that runs the full width on hover */
.px-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 56px 1.5px no-repeat;
    color: var(--blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-size .5s var(--ease-out);
}

.px-link:hover {
    background-size: 100% 1.5px;
}

.px-link .icon {
    width: 16px;
    height: 16px;
    transition: transform .45s var(--ease-out);
}

.px-link:hover .icon {
    transform: translateX(4px);
}

/* Section head: H2 | vertical rule + text | (arrows) --------------------- */
.px-head {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    column-gap: 48px;
    align-items: center;
    margin-bottom: var(--px-head-gap);
}

.px-head--side {
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto;
}

.px-head__text {
    max-width: 560px;
    padding-left: 48px;
    border-left: 1px solid var(--line);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-55);
}

.px-head__end {
    justify-self: end;
}

/* ==========================================================================
   MAIN SERVICES PAGE
   ========================================================================== */

/* 1. Hero: full-bleed photo; the bottom edge steps down on the right ------- */
.sx-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 780px;
    padding: 220px 0 176px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 61% 100%, 56.5% calc(100% - 72px), 0 calc(100% - 72px));
}

.sx-hero__photo {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.sx-hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 10, 32, .72) 0%, rgba(4, 10, 32, .5) 45%, rgba(4, 10, 32, .25) 100%);
}

.sx-hero__title {
    margin-top: 28px;
    font-size: 112px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.035em;
    color: var(--white);
}

.sx-hero__lead {
    max-width: 640px;
    margin-top: 32px;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
}

/* 2. Our Services: statement, intro + arrows, practice gallery ------------- */
.sx-statement {
    max-width: 1080px;
    margin-top: 28px;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--ink);
}

.sx-statement>span {
    display: block;
}

.sx-gallery__bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin: 72px 0 32px;
}

.sx-gallery__tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-70);
}

.sx-gallery__tag::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
}

.sx-gallery__intro {
    max-width: 760px;
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.55;
    color: var(--ink);
}

.sx-arrows {
    display: flex;
    flex: none;
    gap: 10px;
}

.sx-arrow {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--px-tint);
    color: var(--ink);
    cursor: pointer;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.sx-arrow .icon {
    width: 18px;
    height: 18px;
}

.sx-arrow:hover {
    background: var(--blue);
    color: var(--white);
}

/* Gallery: the open card is wide, the next three are narrow */
.sx-gallery {
    display: flex;
    gap: 12px;
    height: 480px;
}

.sx-gcard {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--ink);
    transition: flex-grow .7s var(--ease-out);
}

.sx-gcard.is-active {
    flex-grow: 4.6;
}

.sx-gcard.is-off {
    display: none;
}

.sx-gcard__link {
    position: absolute;
    inset: 0;
    display: block;
    color: var(--white);
}

.sx-gcard__media,
.sx-gcard__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sx-gcard__media img {
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.sx-gcard__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 10, 32, .82) 0%, rgba(4, 10, 32, .28) 46%, rgba(4, 10, 32, 0) 72%);
}

.sx-gcard:hover .sx-gcard__media img {
    transform: scale(1.04);
}

.sx-gcard__copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sx-gcard.is-active .sx-gcard__copy {
    left: 32px;
    right: 292px;
    bottom: 32px;
}

.sx-gcard__icon .icon {
    width: 22px;
    height: 22px;
}

.sx-gcard__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.sx-gcard.is-active .sx-gcard__title {
    font-size: 20px;
}

.sx-gcard__text {
    display: none;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .85);
}

.sx-gcard.is-active .sx-gcard__text {
    display: block;
}

/* glass figure panel on the open card */
.sx-gcard__stat {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: none;
    flex-direction: column;
    width: 236px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 10px;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.sx-gcard.is-active .sx-gcard__stat {
    display: flex;
}

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

.sx-gcard__stat-fig {
    margin-top: 10px;
    font-size: 60px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.03em;
}

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

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

.sx-gcard__stat-go .icon {
    width: 14px;
    height: 14px;
}

/* 3. Every Service in One Place --------------------------------------------- */
.sx-explore {
    padding-top: 0;
}

.sx-explore__grid {
    display: grid;
    grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
    align-items: stretch;
    padding-top: var(--px-sec);
    border-top: 1px solid var(--line);
}

.sx-explore__side {
    padding-right: 56px;
}

.sx-explore__title {
    margin-top: 16px;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--ink);
}

.sx-explore__title>span {
    display: block;
}

.sx-explore__lead {
    max-width: 380px;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-55);
}

.sx-tabs {
    display: grid;
    gap: 6px;
    margin-top: 48px;
}

.sx-tab {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 18px;
    align-items: center;
    padding: 18px 20px;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink-70);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.sx-tab__num {
    font-variant-numeric: tabular-nums;
}

.sx-tab .icon {
    width: 18px;
    height: 18px;
    transition: transform .45s var(--ease-out);
}

.sx-tab:hover {
    color: var(--ink);
}

.sx-tab:hover .icon {
    transform: translateX(3px);
}

.sx-tab.is-active {
    background: var(--px-chip);
    color: var(--blue);
}

.sx-explore__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    padding-left: 56px;
    border-left: 1px solid var(--line);
}

.sx-panel {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s var(--ease), visibility 0s linear .4s;
}

.sx-panel.is-active {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s var(--ease);
}

.sx-panel__bar {
    display: flex;
    justify-content: space-between;
    margin: 4px 0 48px;
    font-size: 17px;
    color: var(--ink-55);
    font-variant-numeric: tabular-nums;
}

.sx-panel__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--px-gap);
}

.sx-panel__cards>li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}

.sx-panel.is-active .sx-panel__cards>li {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i) * 45ms);
}

.sx-xcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    transition: border-color .3s var(--ease);
}

.sx-xcard:hover {
    border-color: var(--blue);
}

.sx-xcard__media {
    display: block;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: var(--sky);
}

.sx-xcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.sx-xcard:hover .sx-xcard__media img {
    transform: scale(1.05);
}

.sx-xcard__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.sx-xcard__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

.sx-xcard__text {
    flex: 1;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-55);
}

.sx-xcard__go {
    margin-top: 28px;
    color: var(--ink);
    transition: color .3s var(--ease), transform .45s var(--ease-out);
}

.sx-xcard__go .icon {
    width: 22px;
    height: 22px;
}

.sx-xcard:hover .sx-xcard__go {
    color: var(--blue);
    transform: translateX(4px);
}

/* 4. Further Reading ---------------------------------------------------------- */
.px-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--px-gap);
}

.px-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: var(--white);
}

.px-post__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.px-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.px-post:hover .px-post__media img {
    transform: scale(1.04);
}

.px-post__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 32px 32px;
}

.px-post__meta {
    font-size: 13px;
    color: var(--ink-55);
}

.px-post__title {
    flex: 1;
    margin-top: 14px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.px-post:hover .px-post__title {
    color: var(--blue);
}

.px-post__go,
.px-rcard__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
}

.px-post__go .icon,
.px-rcard__go .icon {
    width: 16px;
    height: 16px;
    transition: transform .45s var(--ease-out);
}

.px-post:hover .px-post__go .icon,
.px-rcard:hover .px-rcard__go .icon {
    transform: translateX(4px);
}

/* ==========================================================================
   PRACTICE PAGES
   ========================================================================== */

/* 1. Hero: photo with a white panel on the left ----------------------------- */
.px-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: clamp(780px, 100svh, 960px);
    background: var(--ink);
}

.px-hero__photo {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

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

/* light shade under the glass header */
.px-hero__photo::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 200px;
    background: linear-gradient(180deg, rgba(4, 10, 32, .4), rgba(4, 10, 32, 0));
}

.px-hero__wrap {
    display: flex;
}

.px-hero__panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(54%, 780px);
    margin-top: 104px;
    padding: 72px 72px 80px;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.px-hero__title {
    font-size: 64px;
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.03em;
    color: var(--ink);
}

.px-hero__title>span {
    display: block;
    text-wrap: balance;
}

.px-hero__accent {
    color: var(--blue);
}

.px-hero__lead {
    max-width: 540px;
    margin: 32px 0 40px;
    font-size: 20px;
    line-height: 1.55;
    color: var(--ink-70);
}

.px-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 58px;
    padding: 12px 30px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 4px;
    background: var(--blue);
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.px-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .55s var(--ease-out);
}

.px-btn:hover::before,
.px-btn:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left;
}

.px-btn .icon {
    width: 20px;
    height: 20px;
    transition: transform .45s var(--ease-out);
}

.px-btn:hover .icon {
    transform: translateX(4px);
}

/* 2. Partner intro ---------------------------------------------------------- */
.px-intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--px-gap);
    align-items: start;
}

.px-intro__main {
    grid-column: 1 / span 6;
}

.px-intro__text {
    max-width: 620px;
    margin: 40px 0;
    font-size: 20px;
    line-height: 1.65;
    color: var(--ink);
}

.px-intro__side {
    grid-column: 8 / -1;
    padding-top: 36px;
}

.px-intro__aside {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-55);
}

.px-features {
    margin-top: 40px;
    border-top: 1px solid var(--line);
}

.px-feature {
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--line);
}

.px-feature__title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}

.px-feature__title .icon {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--blue);
}

.px-feature__text {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-55);
}

/* 3. Services: photo cards with an inset white label ------------------------- */
.px-services {
    padding-top: 0;
}

.px-arrows {
    display: flex;
    gap: 14px;
}

.px-arrow {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--px-edge);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease);
}

.px-arrow--solid {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.px-arrow .icon {
    width: 20px;
    height: 20px;
}

.px-arrow:hover:not(:disabled) {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.px-arrow:disabled {
    opacity: .55;
    cursor: default;
}

.px-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 16px) / 3);
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.px-rail::-webkit-scrollbar {
    display: none;
}

.px-rail>li {
    scroll-snap-align: start;
}

.px-scard {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--sky);
}

.px-scard>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.px-scard:hover>img {
    transform: scale(1.04);
}

.px-scard__label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 24px;
    padding: 24px 28px 26px;
    border-radius: 4px;
    background: var(--white);
}

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

.px-scard__meta .icon {
    flex: none;
    width: 30px;
    height: 30px;
    color: var(--blue);
}

.px-scard__count {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.px-scard__title {
    display: block;
    margin-top: 16px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.px-scard:hover .px-scard__title {
    color: var(--blue);
}

/* 4. Find the Right Solution --------------------------------------------------- */
.px-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--px-gap);
}

.px-path {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 40px;
    padding: 34px;
    border: 1px solid var(--px-edge);
    border-radius: var(--radius);
    background: var(--white);
}

.px-path__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.px-chip {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--px-chip);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blue);
}

.px-path__title {
    margin-top: 26px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
    text-wrap: balance;
}

.px-path__text {
    margin: 16px 0 28px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-55);
}

.px-path__main .px-link {
    margin-top: auto;
}

.px-path__meta {
    padding-left: 40px;
    border-left: 1px solid var(--px-edge);
}

.px-path__label {
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-70);
}

.px-path__list+.px-path__label {
    margin-top: 26px;
}

.px-path__list li {
    padding: 4px 0;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--ink);
}

/* tall card: copy and lists stacked on the left, photo on the right */
.px-path--feature {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "main photo" "meta photo";
    padding: 20px 20px 20px 34px;
}

.px-path--feature .px-path__main {
    grid-area: main;
    padding-top: 14px;
}

.px-path--feature .px-path__main .px-link {
    margin-top: 0;
}

.px-path--feature .px-path__meta {
    grid-area: meta;
    margin-top: 32px;
    padding: 28px 0 14px;
    border-left: 0;
    border-top: 1px solid var(--px-edge);
}

.px-path__photo {
    grid-area: photo;
    overflow: hidden;
    border-radius: 6px;
    background: var(--sky);
}

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

/* 5. Insights band: brand blue with quiet diagonal planes --------------------- */
.px-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 0;
    background: linear-gradient(100deg, #0a279f 0%, var(--blue) 55%, #0d33cc 100%);
    color: var(--white);
}

.px-band::before,
.px-band::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -60%;
    bottom: -60%;
    width: 38%;
    transform: skewX(-58deg);
}

.px-band::before {
    left: 30%;
    background: rgba(255, 255, 255, .05);
}

.px-band::after {
    left: 68%;
    background: rgba(255, 255, 255, .04);
}

.px-band__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--px-gap);
    align-items: center;
}

.px-band__inner>div {
    grid-column: 1 / span 6;
}

.px-band__title {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--white);
    text-wrap: balance;
}

.px-band__btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 8px 8px 8px 22px;
    border-radius: 4px;
    background: var(--white);
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.px-band__btn-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background: var(--blue);
    color: var(--white);
    transition: transform .45s var(--ease-out);
}

.px-band__btn-icon .icon {
    width: 15px;
    height: 15px;
}

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

.px-band__text {
    grid-column: 8 / -1;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
}

/* 6. Related services: grey ground with faint rings ------------------------ */
.px-related {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.px-related::before,
.px-related::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -220px;
    right: -160px;
    width: 640px;
    height: 640px;
    border: 1px solid rgba(11, 45, 190, .07);
    border-radius: 50%;
}

.px-related::after {
    right: 40px;
    top: -320px;
}

.px-rcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
}

.px-rcard__media {
    position: relative;
    display: block;
    aspect-ratio: 1.9 / 1;
    overflow: hidden;
}

.px-rcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.px-rcard:hover .px-rcard__media img {
    transform: scale(1.04);
}

.px-chip--photo {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--white);
}

.px-rcard__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px 32px 34px;
}

.px-rcard__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.px-rcard:hover .px-rcard__title {
    color: var(--blue);
}

.px-rcard__text {
    flex: 1;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-55);
}

/* ==========================================================================
   Laptop (1100–1279)
   ========================================================================== */
@media (max-width: 1279px) {
    .sx-hero__title {
        font-size: 96px;
    }

    .sx-statement {
        font-size: 60px;
    }

    .sx-gallery {
        height: 440px;
    }

    .sx-explore__side {
        padding-right: 40px;
    }

    .sx-explore__main {
        padding-left: 40px;
    }

    .px-hero__title {
        font-size: 56px;
    }

    .px-hero__panel {
        padding: 56px;
    }

    .px-path {
        padding: 28px;
        column-gap: 28px;
    }

    .px-path__meta {
        padding-left: 28px;
    }

    .px-path__title {
        font-size: 28px;
    }

    .px-path--feature {
        padding: 18px 18px 18px 28px;
    }
}

/* ==========================================================================
   Tablet (768–1099)
   ========================================================================== */
@media (max-width: 1099px) {

    .px-h2,
    .px-band__title {
        font-size: 36px;
    }

    .px-head,
    .px-head--side {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
    }

    .px-head__text {
        padding-left: 0;
        border-left: 0;
    }

    .px-head__end {
        justify-self: start;
    }

    /* main page */
    .sx-hero {
        min-height: 640px;
        padding: 180px 0 140px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 64% 100%, 58% calc(100% - 48px), 0 calc(100% - 48px));
    }

    .sx-hero__title {
        font-size: 80px;
    }

    .sx-statement {
        font-size: 48px;
    }

    .sx-gallery__bar {
        margin-top: 48px;
    }

    .sx-arrows {
        display: none;
    }

    .sx-gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--px-gap);
        height: auto;
    }

    .sx-gcard,
    .sx-gcard.is-off {
        display: block;
        height: 400px;
    }

    .sx-gcard .sx-gcard__copy,
    .sx-gcard.is-active .sx-gcard__copy {
        left: 28px;
        right: 28px;
        bottom: 28px;
    }

    .sx-gcard .sx-gcard__title {
        font-size: 19px;
    }

    .sx-gcard .sx-gcard__text {
        display: block;
    }

    .sx-gcard__stat,
    .sx-gcard.is-active .sx-gcard__stat {
        display: none;
    }

    .sx-explore__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sx-explore__side {
        padding-right: 0;
    }

    .sx-tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .sx-tabs::-webkit-scrollbar {
        display: none;
    }

    .sx-tab {
        display: flex;
        gap: 10px;
        padding: 12px 18px;
        white-space: nowrap;
    }

    .sx-tab .icon {
        display: none;
    }

    .sx-explore__main {
        margin-top: 40px;
        padding-left: 0;
        border-left: 0;
    }

    .sx-panel__bar {
        margin-bottom: 28px;
    }

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

    /* cards that sit three across become one wide card per row */
    .px-grid3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .px-post,
    .px-rcard {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    }

    .px-post__media,
    .px-rcard__media {
        aspect-ratio: auto;
        min-height: 240px;
    }

    /* practice hero: photo on top, panel below it */
    .px-hero {
        display: block;
        min-height: 0;
        background: var(--white);
    }

    .px-hero__photo {
        position: relative;
        height: clamp(380px, 56vw, 560px);
    }

    .px-hero__wrap {
        position: relative;
        margin-top: -120px;
    }

    .px-hero__panel {
        width: 100%;
        margin-top: 0;
        padding: 48px;
        background: var(--white);
    }

    .px-hero__title {
        font-size: 48px;
    }

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

    .px-intro__main,
    .px-intro__side {
        grid-column: 1 / -1;
    }

    .px-intro__side {
        padding-top: 48px;
    }

    .px-rail {
        grid-auto-columns: calc((100% - 16px) / 2);
    }

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

    .px-path--feature {
        grid-column: auto;
        grid-row: auto;
    }

    .px-path__photo {
        min-height: 420px;
    }

    .px-band__inner>div,
    .px-band__text {
        grid-column: 1 / -1;
    }

    .px-band__text {
        max-width: 640px;
        margin-top: 32px;
    }
}

/* ==========================================================================
   Phone (up to 767)
   ========================================================================== */
@media (max-width: 767px) {

    .px-h2,
    .px-band__title {
        font-size: 28px;
        line-height: 1.2;
    }

    .px-head__text {
        font-size: 16px;
    }

    .px-label {
        font-size: 12px;
    }

    /* main page */
    .sx-hero {
        min-height: 520px;
        padding: 150px 0 104px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 66% 100%, 58% calc(100% - 32px), 0 calc(100% - 32px));
    }

    .sx-hero__title {
        margin-top: 20px;
        font-size: 56px;
    }

    .sx-hero__lead {
        margin-top: 20px;
        font-size: 17px;
    }

    .sx-statement {
        margin-top: 20px;
        font-size: 34px;
        line-height: 1.12;
    }

    .sx-gallery__intro {
        font-size: 17px;
    }

    .sx-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .sx-gcard,
    .sx-gcard.is-off {
        height: 340px;
    }

    .sx-gcard .sx-gcard__copy,
    .sx-gcard.is-active .sx-gcard__copy {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .sx-explore__title {
        font-size: 34px;
    }

    .sx-panel__cards {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 80%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .sx-panel__cards::-webkit-scrollbar {
        display: none;
    }

    .sx-panel__cards>li {
        scroll-snap-align: start;
    }

    .px-post,
    .px-rcard {
        display: flex;
    }

    .px-post__media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .px-rcard__media {
        aspect-ratio: 1.9 / 1;
        min-height: 0;
    }

    .px-post__body,
    .px-rcard__body {
        padding: 24px 22px 28px;
    }

    /* practice pages */
    .px-hero__photo {
        height: 72vw;
        min-height: 300px;
    }

    .px-hero .px-hero__wrap {
        width: 100%;
        margin-top: -48px;
        padding: 0;
    }

    .px-hero__panel {
        padding: 32px var(--pad) 8px;
    }

    .px-hero__title {
        font-size: 36px;
        line-height: 1.1;
    }

    .px-hero__lead {
        margin: 24px 0 32px;
        font-size: 17px;
    }

    .px-intro__text {
        margin: 28px 0;
        font-size: 17px;
    }

    .px-rail {
        grid-auto-columns: 86%;
    }

    .px-scard__label {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 18px 20px 20px;
    }

    .px-scard__title {
        font-size: 22px;
    }

    .px-path,
    .px-path--feature {
        display: flex;
        flex-direction: column;
        padding: 26px 22px;
    }

    .px-path__title {
        font-size: 26px;
    }

    .px-path__meta,
    .px-path--feature .px-path__meta {
        margin-top: 28px;
        padding: 24px 0 0;
        border-left: 0;
        border-top: 1px solid var(--px-edge);
    }

    .px-path__photo {
        order: -1;
        min-height: 0;
        aspect-ratio: 16 / 10;
        margin-bottom: 24px;
    }

    .px-band {
        padding: 64px 0;
    }
}

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

    .px-link,
    .px-link .icon,
    .px-btn::before,
    .sx-gcard,
    .sx-gcard__media img,
    .sx-panel,
    .sx-panel__cards>li,
    .px-scard>img,
    .px-post__media img,
    .px-rcard__media img {
        transition: none !important;
    }
}

/* ==========================================================================
   Corporate finish (after brookfield.com / winkworth.co.uk): square corners
   on everything inside the page, breadcrumbs, labelled sections, key-figure
   strips, outlined buttons with up-right arrows, and the extended sections
   of the Accounting page (process, deliverables, fees, UAE rules, FAQ).
   The header and footer are not touched.
   ========================================================================== */

/* Sharp: no rounded corner anywhere in the page content */
.page-practice main {
    --radius: 0px;
}

.page-practice main *,
.page-practice main *::before,
.page-practice main *::after {
    border-radius: 0 !important;
}

/* Breadcrumb ------------------------------------------------------------- */
.px-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 40px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-55);
}

.px-crumbs li+li::before {
    content: "/";
    margin-right: 10px;
    opacity: .5;
}

.px-crumbs a {
    transition: color .3s var(--ease);
}

.px-crumbs a:hover,
.px-crumbs [aria-current] {
    color: var(--ink);
}

.px-crumbs--light ol {
    margin-bottom: 36px;
    color: rgba(255, 255, 255, .7);
}

.px-crumbs--light a:hover,
.px-crumbs--light [aria-current] {
    color: var(--white);
}

/* Buttons: filled, and outlined ("ghost"), both with a square edge ------- */
.px-btn--ghost {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    transition: color .4s var(--ease), border-color .4s var(--ease);
}

.px-btn--ghost::before {
    background: var(--ink);
}

.px-btn--ghost:hover,
.px-btn--ghost:focus-visible {
    color: var(--white);
}

.px-btn--ghost .icon {
    width: 18px;
    height: 18px;
}

.px-head__end .px-btn {
    min-height: 50px;
    padding: 10px 22px;
    font-size: 15px;
}

/* Practice hero: two buttons and a trust line under the lead */
.px-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.px-hero__trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink-55);
}

.px-hero__trust .icon {
    flex: none;
    width: 16px;
    height: 16px;
}

/* Proof strip (practice pages) and key figures (Services page) ------------ */
.px-proof {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.px-proof__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.px-proof__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 30px 24px;
    border-left: 1px solid var(--line);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

.px-proof__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.px-proof__item .icon {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--blue);
}

.px-figures {
    padding: 8px 0 0;
    background: var(--white);
}

.px-figures__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.px-figure {
    padding: 40px 32px 48px;
    border-left: 1px solid var(--line);
}

.px-figure:first-child {
    padding-left: 0;
    border-left: 0;
}

.px-figure__label {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.px-figure__fig {
    margin-top: 14px;
    font-size: 60px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    color: var(--blue);
}

/* Gallery: label chip on every card (outlined, as the references) */
.sx-gcard__chip {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    color: var(--white);
    white-space: nowrap;
}

/* Service card: one line of description under the title */
.px-scard__text {
    display: block;
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-55);
}

.px-path__list--ticks li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.px-path__list--ticks .icon {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--blue);
    transform: translateY(2px);
}

/* How it works: five steps, large light numerals on a hairline ------------- */
.px-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--px-gap);
}

.px-step {
    position: relative;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.px-step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--blue);
}

.px-step__num {
    display: block;
    font-size: 60px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    color: var(--blue);
}

.px-step__when {
    margin-top: 28px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.px-step__name {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
}

.px-step__text {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-55);
}

/* Tables: deliverables and UAE rules -------------------------------------- */
.px-table {
    border-top: 1px solid var(--ink);
    background: var(--white);
}

.px-table__row {
    display: grid;
    grid-template-columns: 72px minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr);
    column-gap: var(--px-gap);
    align-items: baseline;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-70);
    transition: background-color .3s var(--ease);
}

.px-table__row:not(.px-table__row--head):hover {
    background: var(--px-tint);
}

.px-table--rules .px-table__row {
    grid-template-columns: 72px minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr);
}

.px-table__row--head {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.px-table__idx {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
}

.px-table__key {
    font-size: 18px;
    font-weight: 400;
    color: var(--ink);
}

.px-table__src {
    font-size: 14px;
    color: var(--ink-55);
}

/* Fixed fees: three tiers in one ruled frame ------------------------------- */
.px-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
}

.px-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 40px 44px;
    border-left: 1px solid var(--line);
    transition: background-color .3s var(--ease);
}

.px-tier:first-child {
    border-left: 0;
}

.px-tier::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease-out);
}

.px-tier:hover {
    background: var(--px-tint);
}

.px-tier:hover::before {
    transform: none;
}

.px-tier__name {
    display: flex;
    gap: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
}

.px-tier__name span {
    color: var(--blue);
}

.px-tier__from {
    margin-top: 36px;
    font-size: 14px;
    color: var(--ink-55);
}

.px-tier__price {
    margin-top: 8px;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--blue);
}

.px-tier__per {
    margin-top: 10px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink-55);
}

.px-tier__incl {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-70);
}

.px-fees__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 32px;
}

.px-fees__foot p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--ink-55);
}

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

/* FAQ: intro left (sticky), hairline accordion with square +/- right ------ */
.px-faq {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--px-gap);
    align-items: start;
}

.px-faq__intro {
    position: sticky;
    top: 120px;
    grid-column: 1 / span 4;
}

.px-faq__note {
    margin: 24px 0 32px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-55);
}

.px-faq__list {
    grid-column: 6 / -1;
    border-top: 1px solid var(--ink);
}

.px-faq__item {
    border-bottom: 1px solid var(--line);
}

.px-faq__q {
    margin: 0;
    font: inherit;
}

.px-faq__btn {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 40px;
    gap: 16px;
    align-items: center;
    width: 100%;
    padding: 26px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

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

.px-faq__label {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    transition: color .3s var(--ease);
}

.px-faq__btn:hover .px-faq__label,
.px-faq__item.is-open .px-faq__label {
    color: var(--blue);
}

.px-faq__sign {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    color: var(--ink);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.px-faq__sign::before,
.px-faq__sign::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    margin: -.75px 0 0 -7px;
    background: currentColor;
    transition: transform .45s var(--ease-out);
}

.px-faq__sign::after {
    transform: rotate(90deg);
}

.px-faq__btn:hover .px-faq__sign {
    border-color: var(--ink);
}

.px-faq__item.is-open .px-faq__sign {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.px-faq__item.is-open .px-faq__sign::after {
    transform: rotate(0);
}

.px-faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .5s var(--ease-out);
}

.px-faq__item.is-open .px-faq__panel {
    grid-template-rows: 1fr;
}

.px-faq__panel-in {
    overflow: hidden;
}

.px-faq__panel-in p {
    max-width: 700px;
    padding: 0 56px 30px 64px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-70);
}

html:not(.js) .px-faq__panel {
    grid-template-rows: 1fr;
}

/* Insights band: fine line pattern on the left edge, text and button right */
.px-band::before,
.px-band::after {
    display: none;
}

.px-band__lines {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8%;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 7px);
}

.px-band__side {
    grid-column: 8 / -1;
}

.px-band__side p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
}

.px-band__side .px-band__btn {
    margin-top: 28px;
}

/* Laptop -------------------------------------------------------------------- */
@media (max-width: 1279px) {
    .px-proof__item {
        padding: 26px 16px;
        font-size: 14px;
    }

    .px-tier {
        padding: 32px 28px 36px;
    }

    .px-tier__price {
        font-size: 48px;
    }

    .px-step__num {
        font-size: 52px;
    }
}

/* Tablet -------------------------------------------------------------------- */
@media (max-width: 1099px) {
    .px-hero__panel {
        justify-content: flex-start;
    }

    .px-proof__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: var(--px-gap);
    }

    .px-proof__item,
    .px-proof__item:first-child {
        padding: 18px 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .px-proof__item:nth-child(-n+2) {
        border-top: 0;
    }

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

    .px-figure:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .px-figure:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .px-figure__fig {
        font-size: 48px;
    }

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

    .px-step {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: var(--px-gap);
        padding: 28px 0 32px;
    }

    .px-step__num {
        grid-row: 1 / span 3;
        font-size: 48px;
    }

    .px-step__when {
        margin-top: 6px;
    }

    .px-table__row,
    .px-table--rules .px-table__row {
        grid-template-columns: 48px minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr);
        padding: 22px 16px;
    }

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

    .px-tier {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .px-tier:first-child {
        border-top: 0;
    }

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

    .px-faq__intro,
    .px-faq__list {
        grid-column: 1 / -1;
    }

    .px-faq__intro {
        position: static;
        margin-bottom: 40px;
    }

    .px-band__side {
        grid-column: 1 / -1;
        max-width: 640px;
        margin-top: 28px;
    }

    .px-band__lines {
        width: 14px;
    }
}

/* Phone --------------------------------------------------------------------- */
@media (max-width: 767px) {
    .px-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .px-proof__item,
    .px-proof__item:first-child {
        padding: 14px 0;
    }

    .px-proof__item:nth-child(2) {
        border-top: 1px solid var(--line);
    }

    .px-figure {
        padding: 24px 16px 28px;
    }

    .px-figure__fig {
        font-size: 36px;
    }

    .px-figure__label {
        font-size: 14px;
    }

    .sx-gcard__chip {
        top: 16px;
        left: 16px;
    }

    .px-step {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 16px;
    }

    .px-step__num {
        font-size: 36px;
    }

    /* tables: one block per row, labels in front of each value */
    .px-table__row--head {
        display: none;
    }

    .px-table__row,
    .px-table--rules .px-table__row {
        display: block;
        padding: 20px 0;
    }

    .px-table__idx {
        display: block;
        margin-bottom: 6px;
    }

    .px-table__key {
        display: block;
        margin-bottom: 10px;
    }

    .px-table__row [data-label] {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
        padding: 3px 0;
        font-size: 14.5px;
    }

    .px-table__row [data-label]::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        line-height: 2;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--ink-40);
    }

    .px-tier {
        padding: 28px 22px 32px;
    }

    .px-tier__price {
        font-size: 44px;
    }

    .px-fees__foot {
        flex-direction: column;
        align-items: stretch;
    }

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

    .px-faq__btn {
        grid-template-columns: 32px minmax(0, 1fr) 36px;
        gap: 12px;
        padding: 20px 0;
    }

    .px-faq__label {
        font-size: 17px;
    }

    .px-faq__sign {
        width: 36px;
        height: 36px;
    }

    .px-faq__panel-in p {
        padding: 0 0 24px 44px;
        font-size: 15px;
    }
}

/* Band: the text column sits on the right (overrides ".px-band__inner > div") */
.px-band__inner>.px-band__side {
    grid-column: 8 / -1;
}

/* Related services: plain ground (the decorative rings are dropped) */
.px-related::before,
.px-related::after {
    display: none;
}

@media (max-width: 1099px) {
    .px-band__inner>.px-band__side {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {

    /* phone tables: the column header row is replaced by per-value labels */
    .px-table .px-table__row--head,
    .px-table--rules .px-table__row--head {
        display: none;
    }
}

/* ==========================================================================
   Pictograms (includes/pictos.php): thin, square-ended line icons in a deep
   brand navy; the stroke stays 1.5px at every size.
   ========================================================================== */
.page-practice {
    --px-icon: #14227a;
}

.picto {
    display: block;
    flex: none;
    overflow: visible;
}

.picto * {
    vector-effect: non-scaling-stroke;
}

/* Feature rows: icon in its own column, title and line beside it */
.px-feature {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 22px;
    align-items: center;
}

.px-feature__icon {
    color: var(--px-icon);
}

.px-feature__icon .picto {
    width: 40px;
    height: 40px;
}

.px-feature__body {
    display: block;
}

.px-feature__title {
    display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}

.px-feature__text {
    display: block;
    margin-top: 4px;
}

/* Service card label */
.px-scard__meta .picto {
    width: 36px;
    height: 36px;
    color: var(--px-icon);
}

/* Practice gallery (on photos: white) */
.sx-gcard__icon .picto {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.sx-gcard.is-active .sx-gcard__icon .picto {
    width: 38px;
    height: 38px;
}

@media (max-width: 767px) {
    .px-feature {
        grid-template-columns: 36px minmax(0, 1fr);
        column-gap: 16px;
    }

    .px-feature__icon .picto {
        width: 34px;
        height: 34px;
    }

    .px-scard__meta .picto {
        width: 30px;
        height: 30px;
    }
}

/* ==========================================================================
   Gallery as a sliding track (services.js): the track moves left one card per
   step; the open card is 55% wide, the next three share the rest. Repeated
   cards (.is-clone) keep the loop moving forward.
   ========================================================================== */
.sx-gallery {
    display: block;
    height: clamp(340px, 54vh, 480px);
    overflow: hidden;
}

.sx-gallery__track {
    --gap: 12px;
    --ww: 55%;
    --wn: calc((100% - var(--ww) - 3 * var(--gap)) / 3);
    display: flex;
    gap: var(--gap);
    height: 100%;
    transform: translateX(calc((var(--wn) + var(--gap)) * var(--i, 0) * -1));
    transition: transform .8s var(--ease-out);
}

.sx-gallery__track .sx-gcard {
    flex: 0 0 var(--wn);
    transition: flex-basis .8s var(--ease-out);
}

.sx-gallery__track .sx-gcard.is-active {
    flex-basis: var(--ww);
}

.sx-gallery__track.is-jumping,
.sx-gallery__track.is-jumping .sx-gcard {
    transition: none !important;
}

/* laptops only: at tablet width the cards are a 2 x 2 grid without the panel */
@media (min-width: 1100px) and (max-width: 1279px) {
    .sx-gcard__stat {
        width: 200px;
    }

    .sx-gcard.is-active .sx-gcard__copy {
        right: 252px;
    }
}

@media (max-width: 1099px) {
    .sx-gallery {
        height: auto;
        overflow: visible;
    }

    .sx-gallery__track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--px-gap);
        transform: none !important;
    }

    .sx-gallery__track .sx-gcard {
        height: 400px;
    }

    .sx-gallery__track .sx-gcard.is-clone {
        display: none;
    }
}

@media (max-width: 767px) {
    .sx-gallery__track {
        grid-template-columns: minmax(0, 1fr);
    }

    .sx-gallery__track .sx-gcard {
        height: 340px;
    }
}

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

    .sx-gallery__track,
    .sx-gallery__track .sx-gcard {
        transition: none !important;
    }
}

/* ==========================================================================
   Fit to the screen (desktop): heroes, headings and the tallest sections
   scale with the window height, so each section fits in one view on a
   laptop (about 650px of visible height) and opens up on taller screens.
   ========================================================================== */
@media (min-width: 1100px) {
    .page-practice {
        --px-sec: clamp(80px, 12vh, 120px);
        --px-head-gap: clamp(36px, 6vh, 64px);
    }

    /* main hero */
    .sx-hero {
        min-height: clamp(560px, 88svh, 780px);
        padding: clamp(140px, 22vh, 220px) 0 clamp(124px, 18vh, 176px);
    }

    .sx-hero__title {
        margin-top: clamp(16px, 3vh, 28px);
        font-size: clamp(72px, 11vh, 112px);
    }

    .sx-hero__lead {
        margin-top: clamp(18px, 3.4vh, 32px);
        font-size: clamp(18px, 2.6vh, 22px);
    }

    /* "Our Services" statement and gallery */
    .sx-statement {
        margin-top: clamp(16px, 3vh, 28px);
        font-size: clamp(44px, 7.4vh, 72px);
    }

    .sx-gallery__bar {
        margin: clamp(28px, 6vh, 72px) 0 clamp(20px, 3.4vh, 32px);
    }

    .sx-gallery__intro {
        margin-top: 10px;
        font-size: clamp(17px, 2.4vh, 20px);
    }

    /* "Every Service in One Place" */
    .sx-explore__title {
        font-size: clamp(36px, 5.6vh, 48px);
    }

    .sx-explore__lead {
        margin-top: clamp(14px, 2.4vh, 24px);
    }

    .sx-tabs {
        gap: 4px;
        margin-top: clamp(24px, 4.4vh, 48px);
    }

    .sx-tab {
        padding: clamp(10px, 1.7vh, 18px) 20px;
    }

    .sx-panel__bar {
        margin-bottom: clamp(20px, 4vh, 48px);
    }

    .sx-xcard__media {
        aspect-ratio: 16 / 7;
    }

    .sx-xcard__body {
        padding: 18px 20px 20px;
    }

    .sx-xcard__go {
        margin-top: 16px;
    }

    /* practice hero */
    .px-hero {
        min-height: clamp(600px, 100svh, 920px);
    }

    /* narrower panel: the hero photos keep their people in the right-hand
       part of the frame, and this leaves them room at every desktop size */
    .px-hero__panel {
        width: min(46%, 660px);
        margin-top: clamp(88px, 13vh, 104px);
        padding: clamp(32px, 6vh, 64px) clamp(36px, 3.4vw, 56px);
    }

    .px-hero__title {
        font-size: clamp(38px, 6vh, 56px);
    }

    .px-hero .px-kicker {
        margin-bottom: clamp(12px, 2.4vh, 24px);
    }

    .px-crumbs ol {
        margin-bottom: clamp(16px, 3.6vh, 40px);
    }

    .px-hero__lead {
        margin: clamp(14px, 3vh, 32px) 0 clamp(18px, 3.6vh, 40px);
        font-size: clamp(16px, 2.3vh, 20px);
    }

    .px-btn {
        min-height: clamp(48px, 6.4vh, 58px);
    }

    .px-hero__trust {
        margin-top: clamp(14px, 3vh, 28px);
        padding-top: clamp(12px, 2.4vh, 22px);
    }

    /* services cards and solution cards */
    .px-scard {
        aspect-ratio: 5 / 4;
    }

    .px-path {
        padding: clamp(24px, 3.6vh, 34px);
    }

    .px-path__title {
        margin-top: clamp(16px, 2.6vh, 26px);
        font-size: clamp(26px, 4vh, 32px);
    }

    .px-path__text {
        margin: 12px 0 clamp(16px, 3vh, 28px);
    }

    .px-path__list li {
        padding: 2px 0;
    }

    .px-path__list+.px-path__label {
        margin-top: clamp(14px, 2.6vh, 26px);
    }
}

/* Short laptop screens: drop the hero's trust line */
@media (min-width: 1100px) and (max-height: 720px) {
    .px-hero__trust {
        display: none;
    }
}

/* Short laptop screens: compact sub-service cards so the section fits */
@media (min-width: 1100px) and (max-height: 820px) {
    .sx-xcard__media {
        aspect-ratio: 16 / 6;
    }

    .sx-xcard__text {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .sx-xcard__go {
        margin-top: 12px;
    }

    .sx-xcard__go .icon {
        width: 18px;
        height: 18px;
    }
}

/* Short laptop screens: tighter rows in the content-heavy sections */
@media (min-width: 1100px) and (max-height: 820px) {
    .px-feature {
        padding: 14px 0 16px;
    }

    .px-features {
        margin-top: 24px;
    }

    .px-path {
        padding: 22px 26px;
    }

    .px-path__title {
        font-size: 24px;
    }

    .px-path__text {
        font-size: 15px;
        line-height: 1.55;
    }

    .px-path__label {
        margin-bottom: 6px;
    }

    .px-path__list li {
        font-size: 14.5px;
    }

    .px-path--feature .px-path__meta {
        margin-top: 20px;
        padding-top: 18px;
    }

    .px-table__row {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .px-step__num {
        font-size: 48px;
    }

    .px-step__when {
        margin-top: 18px;
    }

    .px-faq__btn {
        padding: 18px 0;
    }

    .px-tier {
        padding: 28px 32px 32px;
    }

    .px-tier__from {
        margin-top: 22px;
    }
}

@media (min-width: 1100px) and (max-height: 820px) {
    .px-paths {
        gap: 16px;
    }

    .px-path .px-chip {
        padding: 5px 9px;
    }

    .px-path__title {
        margin-top: 12px;
    }

    .px-path__text {
        margin: 8px 0 14px;
    }
}

/* Rails whose cards all fit on screen show no arrows */
[data-rail].is-static .px-arrows {
    display: none;
}

/* ==========================================================================
   Header backdrop: the site's glass header is see-through, so it takes on
   the colours behind it. A brand-blue wash at the top of each hero gives it
   the same blue ground as on the home page (the header itself is unchanged).
   ========================================================================== */
.sx-hero__photo::before,
.px-hero__photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 200px;
    background: linear-gradient(180deg, #0a2cc4 0%, rgba(10, 44, 196, .82) 34%, rgba(10, 44, 196, 0) 100%);
    pointer-events: none;
}

.px-hero__photo::after {
    display: none;
}

/* ==========================================================================
   Main hero: content centred in the space between the header and the
   stepped bottom edge (not pinned to the bottom); a softer, longer blue wash.
   ========================================================================== */
.sx-hero {
    align-items: center;
    padding: calc(var(--header-h) + 16px + 40px) 0 calc(72px + 56px);
}

.sx-hero__photo::before {
    height: 46%;
    background: linear-gradient(180deg, rgba(10, 44, 196, .88) 0%, rgba(10, 44, 196, .55) 30%, rgba(10, 44, 196, 0) 100%);
}

@media (min-width: 1100px) {
    .sx-hero {
        min-height: clamp(560px, 80svh, 760px);
        padding: calc(64px + 16px + 40px) 0 calc(72px + 48px);
    }
}

@media (max-width: 1099px) {
    .sx-hero {
        padding: calc(var(--header-h) + 16px + 32px) 0 calc(48px + 48px);
    }
}

@media (max-width: 767px) {
    .sx-hero {
        padding: calc(var(--header-h) + 16px + 28px) 0 calc(32px + 40px);
    }
}

/* ==========================================================================
   Heroes fill the screen on desktop: the first view is the hero alone, the
   next section starts below the fold.
   ========================================================================== */
@media (min-width: 1100px) {
    .sx-hero {
        min-height: max(560px, 100svh);
    }

    .px-hero {
        min-height: max(600px, 100svh);
    }
}

/* Site integration ----------------------------------------------------------
   These pages were designed on the earlier base type (16px / 1.6 text, 600
   headings at fixed sizes). The site's style.css now carries a different
   type scale, so the base these pages rely on is restated here for their
   <main> only: header and footer keep the site's own styles, and no other
   page is affected. Class rules above still win over these element rules. */
.page-practice main {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: normal;
}

:where(.page-practice main) :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-wrap: wrap;
}

:where(.page-practice main) h1 { font-size: 52px; }
:where(.page-practice main) h2 { font-size: 36px; }
:where(.page-practice main) h3 { font-size: 24px; }
:where(.page-practice main) h4 { font-size: 22px; }
:where(.page-practice main) h5 { font-size: 18px; }
:where(.page-practice main) h6 { font-size: 16px; }

@media (max-width: 767px) {
    .page-practice main {
        line-height: 1.65;
    }

    :where(.page-practice main) h1 { font-size: 32px; }
    :where(.page-practice main) h2 { font-size: 26px; }
    :where(.page-practice main) h3 { font-size: 20px; }
    :where(.page-practice main) h4 { font-size: 18px; }
    :where(.page-practice main) h5 { font-size: 16px; }
    :where(.page-practice main) h6 { font-size: 15px; }
}

/* Three-tab block (px_tabs, practice-parts.php) -------------------------------
   Rewritten 2026-11-16. A row of plain tab names over a hairline (the open
   one in blue, underlined); per panel a heading and intro, the items as a
   two-column list, each behind a fine vertical rule (no boxes, no icons),
   and a photo on the right with the "Speak to an Expert" button. Desktop
   keeps the open panel within about one screen (client, 2026-11-14); phones
   stack it. Script: services.js ([data-px-tabs]). */
.px-visually {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.px-tabs__bar {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    border-bottom: 1px solid var(--px-edge);
}

.px-tabs__tab {
    position: relative;
    padding: 0 16px 20px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.005em;
    text-align: center;
    color: var(--ink-55);
    cursor: pointer;
    transition: color .3s var(--ease);
}

.px-tabs__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.px-tabs__tab:hover {
    color: var(--ink);
}

.px-tabs__tab.is-active {
    color: var(--blue);
}

.px-tabs__tab.is-active::after {
    transform: scaleX(1);
}

.px-tabs__tab:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.px-tabs__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 72px;
    align-items: stretch;
    padding-top: 56px;
}

.px-tabs__panel[hidden] {
    display: none;
}

.px-tabs__heading {
    margin: 0;
    font-size: var(--fs-h4);
    font-weight: 400;
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-h4);
    color: var(--ink);
}

.px-tabs__intro {
    max-width: 680px;
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-70);
}

.px-tabs__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 48px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

/* one item: a fine rule on its left; the rule turns blue on hover */
.px-tcard {
    position: relative;
    padding: 2px 0 2px 24px;
}

.px-tcard::before,
.px-tcard::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: var(--px-edge);
}

.px-tcard::after {
    width: 2px;
    background: var(--blue);
    transform: scaleY(var(--rf-fill, 0));
    transform-origin: center top;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

/* process steps keep their rule blue: it fills in turn (services-motion.js) */
.px-tcard--step::after {
    transform: scaleY(var(--rf-fill, 1));
}

.px-tcard__body {
    display: block;
}

.px-tcard__title {
    display: block;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--ink);
}

.px-tcard__text {
    display: block;
    margin-top: 8px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-55);
}

.px-tcard__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--blue);
}

.px-tcard__meta .icon {
    flex: none;
    width: 14px;
    height: 14px;
}

@media (hover: hover) and (pointer: fine) {
    .px-tcard:hover::after {
        transform: scaleY(1);
    }
}

.px-tabs__media {
    position: relative;
    min-height: 480px;
    margin: 0;
    overflow: hidden;
    background: var(--px-tint);
}

.px-tabs__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* the open panel: items and photo arrive together */
.px-tabs__panel.is-active .px-tcard {
    animation: px-tab-in .7s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: calc(var(--k) * 45ms);
}

.px-tabs__panel.is-active .px-tabs__media img {
    animation: px-tab-photo 1.1s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes px-tab-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes px-tab-photo {
    from {
        opacity: .5;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.px-tabs__btn {
    position: absolute;
    z-index: 1;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 8px 8px 8px 22px;
    background: var(--blue);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    transition: background-color .3s var(--ease);
}

.px-tabs__btn:hover {
    background: var(--blue-deep);
}

.px-tabs__btn-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--white);
    color: var(--blue);
}

.px-tabs__btn-icon .icon {
    width: 16px;
    height: 16px;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.px-tabs__btn:hover .px-tabs__btn-icon .icon {
    transform: translate(2px, -2px);
}

/* short laptop screens: tighter, so the open panel stays on screen */
@media (min-width: 1100px) and (max-height: 820px) {
    .px-tabs__panel {
        padding-top: 40px;
    }

    .px-tabs__cards {
        gap: 22px 44px;
        margin-top: 28px;
    }

    .px-tcard__text {
        font-size: 15px;
    }
}

/* tablet: the photo becomes a strip under the list */
@media (max-width: 1099px) {
    .px-tabs__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding-top: 40px;
    }

    .px-tabs__media {
        min-height: 0;
        aspect-ratio: 16 / 7;
    }
}

/* phone: the tab names scroll sideways; one column of items */
@media (max-width: 767px) {
    .px-tabs__bar {
        grid-auto-columns: max-content;
        gap: 28px;
        overflow-x: auto;
        scrollbar-width: none;
        border-bottom: 0;
        box-shadow: inset 0 -1px 0 var(--px-edge);
    }

    .px-tabs__bar::-webkit-scrollbar {
        display: none;
    }

    .px-tabs__tab {
        padding: 0 0 14px;
        font-size: 15.5px;
        white-space: nowrap;
    }

    .px-tabs__tab::after {
        bottom: 0;
    }

    .px-tabs__panel {
        gap: 32px;
        padding-top: 32px;
    }

    .px-tabs__intro {
        font-size: 16px;
    }

    .px-tabs__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 28px;
    }

    .px-tcard {
        padding-left: 18px;
    }

    .px-tcard__title {
        font-size: 17.5px;
    }

    .px-tcard__text {
        font-size: 15px;
    }

    .px-tabs__media {
        aspect-ratio: 4 / 3;
    }

    .px-tabs__btn {
        left: 16px;
        bottom: 16px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .px-tabs__panel.is-active .px-tcard,
    .px-tabs__panel.is-active .px-tabs__media img {
        animation: none;
    }
}

/* Call to action: the Reliant Surveyors line under the buttons ------------- */
.px-reliant {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .82);
}

.px-reliant__logo {
    flex: none;
    width: 66px;
    height: auto;
    border-radius: 2px;
}

/* Services, featured layout (Valuation & Advisory) ---------------------------
   One service large on the left (photo, label, title, text, "Read More"),
   the others as a list on the right: thumbnail, label and title, divided by
   hairlines. A row's arrow slides in on hover. */
.px-feat__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.px-feat__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding-bottom: 6px;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.px-feat__all .icon {
    width: 16px;
    height: 16px;
    transition: transform .4s var(--ease-out);
}

.px-feat__all:hover {
    color: var(--blue);
}

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

.px-feat__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.px-feat__main {
    display: flex;
    flex-direction: column;
    color: inherit;
}

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

.px-feat__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-out);
}

.px-feat__main:hover .px-feat__media img {
    transform: scale(1.04);
}

.px-feat__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.px-feat__main .px-feat__label {
    margin-top: 28px;
}

.px-feat__title {
    margin-top: 10px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.px-feat__main:hover .px-feat__title {
    color: var(--blue);
}

.px-feat__text {
    max-width: 560px;
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-55);
}

.px-feat__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.px-feat__more .icon {
    width: 16px;
    height: 16px;
    transition: transform .4s var(--ease-out);
}

.px-feat__main:hover .px-feat__more .icon {
    transform: translateX(3px);
}

.px-feat__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.px-feat__list li+li {
    border-top: 1px solid var(--px-edge);
}

.px-feat__list li:first-child .px-feat__row {
    padding-top: 0;
}

.px-feat__row {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr) 28px;
    gap: 22px;
    align-items: center;
    padding: 24px 0;
    color: inherit;
}

.px-feat__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--px-tint);
}

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

.px-feat__row:hover .px-feat__thumb img {
    transform: scale(1.06);
}

.px-feat__row-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.px-feat__row-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.px-feat__row:hover .px-feat__row-title {
    color: var(--blue);
}

.px-feat__go {
    color: var(--blue);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}

.px-feat__go .icon {
    width: 20px;
    height: 20px;
}

.px-feat__row:hover .px-feat__go {
    opacity: 1;
    transform: none;
}

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

@media (max-width: 767px) {
    .px-feat__head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .px-feat__title {
        font-size: 24px;
    }

    .px-feat__row {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 16px;
        padding: 18px 0;
    }

    .px-feat__go {
        display: none;
    }

    .px-feat__row-title {
        font-size: 17px;
    }
}

/* ==========================================================================
   "Find the right starting point" (practice pages), revised 2026-11-14:
   the photo as its own tile, then three equal cards. Every card stacks the
   chip, title, text, key focus and includes, and its link sits on the same
   baseline as its neighbours'. Desktop: four across; tablet: 2 x 2; phone:
   stacked.
   ========================================================================== */
.px-ways {
    display: grid;
    grid-template-columns: minmax(0, .9fr) repeat(3, minmax(0, 1fr));
    gap: var(--px-gap);
    align-items: stretch;
}

.px-ways__photo {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--sky);
}

.px-ways__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.px-way {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px 28px;
    border: 1px solid var(--px-edge);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color .35s var(--ease), box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}

.px-way:hover {
    border-color: #c4d0ea;
    box-shadow: 0 18px 40px -28px rgba(10, 18, 48, .4);
    transform: translateY(-3px);
}

.px-way__title {
    margin-top: 22px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: var(--ink);
    text-wrap: balance;
}

.px-way__text {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-55);
}

.px-way__meta {
    align-self: stretch;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--px-edge);
}

.px-way__label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-70);
}

.px-way__list + .px-way__label {
    margin-top: 20px;
}

.px-way__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.px-way__list li {
    padding: 3px 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
}

.px-way__list--ticks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.px-way__list--ticks .icon {
    flex: none;
    width: 15px;
    height: 15px;
    margin-top: 4px;
    color: var(--blue);
}

/* the link on one baseline across the row */
.px-way__go {
    margin-top: auto;
    padding-top: 26px;
}

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

    .px-ways__photo {
        min-height: 320px;
    }

    .px-way__title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .px-ways {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .px-ways__photo {
        min-height: 220px;
    }

    .px-way {
        padding: 24px 20px 22px;
    }

    .px-way__title {
        margin-top: 16px;
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .px-way {
        transition: none;
    }

    .px-way:hover {
        transform: none;
    }
}

/* desktop: chip, title, text, lists and link share rows across the cards
   (subgrid), so the dividers and links line up too */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 1100px) {
        .px-ways {
            grid-template-rows: repeat(5, auto);
            row-gap: 0;
        }

        .px-ways__photo {
            grid-row: span 5;
        }

        .px-way {
            display: grid;
            grid-row: span 5;
            grid-template-rows: subgrid;
            justify-items: start;
            row-gap: 0;
        }

        .px-way__meta {
            justify-self: stretch;
            align-self: start;
        }

        .px-way__go {
            align-self: end;
        }
    }
}

/* Service photo cards (practice pages), revised 2026-11-14: the white label
   sits with equal 20px insets and the same height on every card, so titles
   and descriptions line up across the row. */
.px-scard__label {
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    min-height: 188px;
    padding: 24px 26px;
}

.px-scard__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 767px) {
    .px-scard__label {
        left: 14px;
        right: 14px;
        bottom: 14px;
        min-height: 0;
        padding: 18px 18px 20px;
    }
}

/* "Every Service in One Place" tabs on tablet and phone: a tidy grid of all
   six practices instead of a row cut off at the screen edge. */
@media (max-width: 1099px) {
    .sx-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
    }

    .sx-tab {
        justify-content: flex-start;
        min-width: 0;
        white-space: normal;
        line-height: 1.3;
    }
}

@media (max-width: 767px) {
    .sx-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sx-tab {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Fixed-fee call to action, compact split (2026-11-20, after client
   feedback on the tinted photo): one strip about 280px tall. The copy sits
   on a navy-to-blue panel with a soft bloom; the photo keeps its natural
   colour on the right, no wash over it. The striped block is retired.
   Phones: photo on top, panel under it.
   ========================================================================== */
body .px-cta .fee__frame {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 280px;
    overflow: hidden;
    background: #0a249a;
    box-shadow: 0 34px 64px -44px rgba(10, 18, 48, .55);
}

body .px-cta .fee__panel {
    position: relative;
    inset: auto;
    order: 0;
    display: flex;
    align-items: center;
    width: auto;
    isolation: isolate;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(150deg, #1236d6 0%, #0a249a 55%, #0a2aa8 100%);
}

body .px-cta .fee__panel::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -25%;
    z-index: -1;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130, 165, 255, .42) 0%, rgba(130, 165, 255, 0) 65%);
}

body .px-cta .px-folds {
    display: none;
}

body .px-cta .fee__media {
    position: relative;
    inset: auto;
    order: 1;
    height: auto;
    min-height: 100%;
    margin: 0;
    border-radius: 0;
}

body .px-cta .fee__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

body .px-cta .fee__body {
    width: 100%;
    padding: 40px clamp(28px, 4vw, 56px);
}

body .px-cta .fee__title {
    font-size: clamp(26px, 2.3vw, 34px);
    line-height: 1.15;
    letter-spacing: -.02em;
}

body .px-cta .fee__text {
    margin-top: 12px;
    max-width: 42ch;
    font-size: var(--fs-body);
    line-height: 1.6;
    color: rgba(255, 255, 255, .86);
}

body .px-cta .fee__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 24px;
}

body .px-cta .fee__actions .fee__link {
    margin: 0;
}

@media (max-width: 1099px) {
    body .px-cta .fee__frame {
        grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    }
}

@media (max-width: 767px) {
    body .px-cta .fee__frame {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    body .px-cta .fee__media {
        order: 0;
        height: 200px;
        min-height: 0;
    }

    body .px-cta .fee__panel {
        order: 1;
    }

    body .px-cta .fee__body {
        padding: 28px 22px 30px;
    }
}

/* the Reliant line under the actions, quieter on the panel */
body .px-cta .px-reliant {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
}

/* ==========================================================================
   Company statement band (2026-11-20, px_quote)
   ========================================================================== */
.pxq {
    padding: calc(var(--space-sec, 48px) + 12px) 0;
    background:
        radial-gradient(50% 80% at 100% 0%, rgba(90, 130, 255, .2) 0%, rgba(90, 130, 255, 0) 60%),
        linear-gradient(165deg, #0b2dbe 0%, #0a2aa8 55%, #0a2aa8 100%);
    color: var(--white);
}

.pxq__in {
    max-width: 1120px;
}

.pxq__quote {
    position: relative;
    margin: 0;
    padding-left: 64px;
}

.pxq__quote::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 96px;
    line-height: 1;
    color: #8fb0ff;
}

body .pxq__quote p {
    margin: 0;
    font-size: clamp(22px, 2.1vw, 32px);
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -.012em;
    color: var(--white);
}

body .pxq__quote p::after {
    content: "\201D";
    margin-left: 4px;
    font-family: Georgia, "Times New Roman", serif;
    color: #8fb0ff;
}

body .pxq__by {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 0 64px;
}

.pxq__mark {
    display: grid;
    flex: none;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}

.pxq__mark img {
    width: 30px;
    height: 30px;
}

.pxq__by > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
}

.pxq__by b {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

[dir="rtl"] .pxq__quote::before {
    content: "\201D";
}

@media (max-width: 640px) {
    .pxq__quote {
        padding-left: 0;
        padding-top: 48px;
    }

    .pxq__quote::before {
        top: -6px;
        font-size: 72px;
    }

    body .pxq__by {
        margin-left: 0;
    }
}

.pxq .pxq__in .pxq__by {
    margin: 32px 0 0 64px;
}

@media (max-width: 640px) {
    .pxq .pxq__in .pxq__by {
        margin-left: 0;
    }
}
