/* ==========================================================================
   Service page top (client's reference, 2026-11-17): the Services page, the
   six practice pages and the sub-service pages (svh_* in
   includes/practice-parts.php, script assets/js/service-top.js).
   - .svh-hero   inset hero card: the photo inside the page with a margin and
                 rounded corners, a dark shade, the title bottom left (second
                 part in a softer tint), the lead under it, the breadcrumb
                 bottom right; the glass header floats over its top
   - .svh-jump   slim "Jump to" bar under the hero: the page's sections in
                 small capitals (the current one marked), a blue "Get in
                 touch"; it sticks under the header (or the top of the screen
                 while the header is hidden); on phones the links scroll
                 sideways
   - .svh-modal  the "Get in touch" pop-up: a navy Valunxt side and the
                 site's enquiry form
   Type: the site's one font and the home page's tokens only (the hero
   title is the home hero title). Motion is short and formal, and off under
   prefers-reduced-motion. The Arabic copy of this file is made by
   tools/build-rtl.js.
   ========================================================================== */

:root {
    --svh-head: 76px;    /* height of the header bar (service-top.js measures it) */
    --svh-bar: 64px;     /* height of the jump bar */
    --svh-gap: 18px;     /* margin round the hero card */
    --svh-radius: 22px;
    --svh-navy: #050d2e;
}

@media (max-width: 1099px) {
    :root {
        --svh-head: 60px;
        --svh-bar: 58px;
        --svh-gap: 14px;
        --svh-radius: 18px;
    }
}

@media (max-width: 640px) {
    :root {
        --svh-head: 56px;
        --svh-bar: 54px;
        --svh-gap: 10px;
        --svh-radius: 16px;
    }
}

/* The glass header sits inside the top of the hero card: while it is over
   the hero it is pushed down by the card's margin (its content already
   keeps to the page margins, inside the card's), and its full-width fade or
   frosted strip is left out, as the card carries its own shade. Scrolled,
   it is the white strip at the top, as on every page. */
.svh-page .site-header--glass:not(.is-scrolled) {
    padding-top: var(--svh-gap);
    /* the megamenu's white sheet starts at the top of the screen and its
       columns under the bar, which is lower here by the card's margin */
    --mg-top: calc(var(--svh-gap) + var(--header-h));
}

.svh-page .site-header--glass:not(.is-scrolled)::before {
    border-bottom-color: transparent;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* practice.css squares every corner inside <main> on these pages
   (border-radius: 0 !important); the parts below keep their curves */
.svh-page main .svh-hero__card,
.svh-page main .svh-modal__panel {
    border-radius: var(--svh-radius) !important;
}

.svh-page main .svh-jump__cta,
.svh-page main .svh-jump__cta::before {
    border-radius: 999px !important;
}

.svh-page main .svh-modal__close {
    border-radius: 50% !important;
}

/* anchor targets land under the header and the jump bar */
.svh-page main section[id] {
    scroll-margin-top: calc(var(--svh-bar) + 8px);
}

.svh-page main section[id]:focus {
    outline: 0;
}

/* ==========================================================================
   Hero card
   ========================================================================== */
.svh-hero {
    padding: var(--svh-gap) var(--svh-gap) 0;
    background: var(--white);
}

.svh-hero__card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(500px, 72vh, 800px);
    min-height: clamp(500px, 72svh, 800px);
    overflow: hidden;
    border-radius: var(--svh-radius);
    color: var(--white);
    background: var(--svh-navy);
}

.svh-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.svh-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: var(--pos-d, 50% 50%);
}

/* shade: the header over the top, the copy along the foot */
.svh-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 8, 30, .6) 0%, rgba(3, 8, 30, .16) 22%, rgba(3, 8, 30, .06) 42%, rgba(3, 8, 30, .5) 70%, rgba(3, 8, 30, .86) 100%),
        linear-gradient(90deg, rgba(3, 8, 30, .5) 0%, rgba(3, 8, 30, .14) 55%, rgba(3, 8, 30, 0) 100%);
}

.svh-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 56px;
    width: min(100%, calc(var(--max) - 2 * var(--svh-gap)));
    margin: 0 auto;
    padding: 132px calc(var(--pad) - var(--svh-gap)) clamp(36px, 4.2vw, 60px);
}

.svh-hero__copy {
    min-width: 0;
    max-width: 900px;
}

/* the small label with its square, as on the home page */
.svh-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: var(--lh-small);
    color: rgba(255, 255, 255, .86);
}

.svh-hero__eyebrow::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    background: #8fa6ff;
}

/* the home page hero title, token for token */
.svh-hero__title {
    margin-top: 16px;
    font-size: var(--fs-h1);
    font-weight: var(--fw-h1);
    line-height: var(--lh-h1);
    letter-spacing: var(--ls-h1);
    color: var(--white);
}

.svh-hero__title > span {
    display: block;
    /* room for descenders, as on the home page */
    padding-bottom: .08em;
    margin-bottom: -.08em;
}

.svh-hero__soft {
    color: rgba(255, 255, 255, .58);
}

.svh-hero__lead {
    max-width: 640px;
    margin-top: 22px;
    font-size: var(--fs-lead-hero);
    line-height: var(--lh-lead-hero);
    color: rgba(255, 255, 255, .86);
}

.svh-hero__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: var(--fs-small);
    line-height: var(--lh-small);
    color: rgba(255, 255, 255, .72);
}

.svh-hero__note .icon {
    flex: none;
    width: 15px;
    height: 15px;
    color: #8fa6ff;
}

/* breadcrumb: "Home —— Page", thin lines between */
.svh-crumbs {
    flex: none;
    max-width: 46%;
    padding-bottom: 4px;
}

.svh-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    row-gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: var(--lh-small);
    color: rgba(255, 255, 255, .72);
}

.svh-crumbs li {
    display: flex;
    align-items: center;
}

.svh-crumbs li + li::before {
    content: "";
    flex: none;
    width: 34px;
    height: 1px;
    margin: 0 14px;
    background: rgba(255, 255, 255, .45);
}

.svh-crumbs a {
    color: rgba(255, 255, 255, .78);
    transition: color .3s var(--ease);
}

.svh-crumbs a:hover {
    color: var(--white);
}

.svh-crumbs a:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.svh-crumbs [aria-current] {
    color: var(--white);
}

/* entrance, in one go: the photo settles, the copy and the breadcrumb rise
   a few pixels as they fade in (service-top.js adds .is-ready) */
.js .svh-hero__media img {
    transform: scale(1.05);
}

.js .svh-hero.is-ready .svh-hero__media img {
    transform: none;
    transition: transform 2s var(--ease-out);
}

.js .svh-hero__copy,
.js .svh-crumbs {
    opacity: 0;
    transform: translateY(12px);
}

.js .svh-hero.is-ready .svh-hero__copy,
.js .svh-hero.is-ready .svh-crumbs {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease) .1s, transform .8s var(--ease-out) .1s;
}

/* ==========================================================================
   Jump bar
   ========================================================================== */
.svh-jump {
    position: sticky;
    top: var(--svh-head);
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    transition: top .55s var(--ease-out), box-shadow .4s var(--ease);
}

/* the header hides while scrolling down: the bar moves up to the top */
.site-header.is-hidden ~ main .svh-jump {
    top: 0;
}

.svh-jump.is-stuck {
    box-shadow: 0 14px 30px -26px rgba(10, 18, 48, .45);
}

.svh-jump__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--svh-bar);
}

/* "Jump to" in blue small capitals, behind a hairline */
.svh-jump__label {
    flex: none;
    padding-right: 28px;
    border-right: 1px solid var(--line);
    font-size: var(--fs-caption);
    font-weight: var(--fw-nav);
    letter-spacing: var(--ls-caption);
    line-height: var(--lh-small);
    text-transform: uppercase;
    color: var(--blue);
}

.svh-jump__scroll {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.svh-jump__scroll::-webkit-scrollbar {
    display: none;
}

.svh-jump__list {
    display: flex;
    align-items: stretch;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.svh-jump__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--svh-bar);
    font-size: var(--fs-caption);
    font-weight: var(--fw-nav);
    letter-spacing: var(--ls-caption);
    line-height: var(--lh-small);
    text-transform: uppercase;
    color: var(--ink-55);
    transition: color .3s var(--ease);
}

.svh-jump__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .45s var(--ease-out);
}

.svh-jump__link:hover {
    color: var(--ink);
}

.svh-jump__link.is-current {
    color: var(--blue);
}

.svh-jump__link.is-current::after {
    transform: scaleX(1);
}

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

/* blue "Get in touch": a darker fill wipes in, the sheen sweeps, the arrow
   loops (keyframes vx-sheen / vx-arrow-x in style.css) */
.svh-jump__cta {
    --sheen: rgba(255, 255, 255, .34);
    position: relative;
    isolation: isolate;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-left: auto;
    padding: 0 22px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-size: var(--fs-btn);
    font-weight: var(--fw-btn);
    line-height: 1.3;
    white-space: nowrap;
    transition: transform .5s var(--ease-out);
}

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

.svh-jump__cta::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 46%;
    background: linear-gradient(100deg, transparent 0%, var(--sheen) 50%, transparent 100%);
    transform: translateX(-130%) skewX(-18deg);
    pointer-events: none;
}

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

.svh-jump__cta:is(:hover, :focus-visible)::before {
    transform: scaleX(1);
    transform-origin: left center;
}

.svh-jump__cta:is(:hover, :focus-visible)::after {
    animation: vx-sheen .9s cubic-bezier(.3, .6, .3, 1) both;
}

.svh-jump__cta:is(:hover, :focus-visible) .icon[data-i="arrow-right"] {
    animation: vx-arrow-x .62s cubic-bezier(.5, 0, .2, 1) both;
}

.svh-jump__cta:active {
    transform: translateY(1px);
}

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

/* ==========================================================================
   "Get in touch" pop-up (native <dialog>, opened by service-top.js): the
   dialog covers the screen and centres the panel; the panel is a navy
   Valunxt side and the form.
   ========================================================================== */
.svh-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    background: transparent;
    color: var(--ink);
}

.svh-modal[open] {
    display: grid;
}

.svh-modal::backdrop {
    background: rgba(3, 8, 30, .62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.svh-modal.is-open::backdrop {
    opacity: 1;
}

/* while it is open the page does not scroll */
html.svh-locked,
html.svh-locked body {
    overflow: hidden;
}

html.svh-locked body {
    padding-right: var(--svh-sbw, 0px);
}

.svh-modal__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    width: min(1060px, 100%);
    margin: auto;
    overflow: hidden;
    border-radius: var(--svh-radius);
    background: var(--white);
    box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .6);
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition: opacity .3s var(--ease), transform .45s var(--ease-out);
}

.svh-modal.is-open .svh-modal__panel {
    opacity: 1;
    transform: none;
}

/* the navy side: logo, the service, a short line, what happens next and
   the contact details, over a soft blue glow and a faint hairline grid */
.svh-modal__brand {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 44px 40px 36px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(110% 80% at 0% 0%, rgba(20, 54, 216, .95) 0%, rgba(11, 45, 190, .6) 38%, rgba(5, 13, 46, 0) 78%),
        var(--svh-navy);
}

.svh-modal__brand::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask: radial-gradient(80% 70% at 10% 0%, #000 0%, transparent 75%);
    mask: radial-gradient(80% 70% at 10% 0%, #000 0%, transparent 75%);
}

.svh-modal__logo {
    width: 132px;
    height: auto;
}

.svh-modal__kicker {
    font-size: var(--fs-caption);
    font-weight: var(--fw-nav);
    letter-spacing: var(--ls-caption);
    line-height: var(--lh-small);
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.svh-modal__service {
    margin-top: 10px;
    font-size: var(--fs-h4);
    font-weight: var(--fw-h1);
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-h4);
    color: var(--white);
}

.svh-modal__line {
    margin-top: 12px;
    font-size: var(--fs-small);
    line-height: var(--lh-small);
    color: rgba(255, 255, 255, .8);
}

.svh-modal__next ol {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.svh-modal__next li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-small);
    line-height: var(--lh-small);
    color: rgba(255, 255, 255, .9);
}

.svh-modal__next li span {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .28);
    font-size: var(--fs-tag);
    font-weight: var(--fw-btn);
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.svh-modal__contact {
    display: grid;
    gap: 10px;
    margin: auto 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    list-style: none;
}

.svh-modal__contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, .86);
    transition: color .3s var(--ease);
}

.svh-modal__contact a:hover {
    color: var(--white);
}

.svh-modal__contact a:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.svh-modal__contact .icon {
    flex: none;
    width: 16px;
    height: 16px;
    color: #8fa6ff;
}

.svh-modal__contact span[dir="ltr"] {
    unicode-bidi: isolate;
}

/* the form side */
.svh-modal__main {
    position: relative;
    min-width: 0;
    padding: 44px 44px 38px;
}

.svh-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: border-color .3s var(--ease), transform .45s var(--ease-out);
}

.svh-modal__close::before,
.svh-modal__close::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
}

.svh-modal__close::after {
    transform: rotate(-45deg);
}

.svh-modal__close:hover {
    border-color: var(--ink);
    transform: rotate(90deg);
}

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

.svh-modal__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: var(--lh-small);
    color: var(--ink);
}

.svh-modal__eyebrow::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    background: var(--blue);
}

.svh-modal__title {
    margin-top: 12px;
    padding-right: 52px;
    font-size: var(--fs-h2);
    font-weight: var(--fw-h1);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-h2);
    color: var(--ink);
}

.svh-modal__note {
    margin-top: 8px;
    font-size: var(--fs-xs);
    color: var(--ink-55);
}

/* ==========================================================================
   Narrower screens
   ========================================================================== */
@media (max-width: 1099px) {
    .svh-hero__card {
        min-height: clamp(500px, 72vh, 720px);
        min-height: clamp(500px, 72svh, 720px);
    }

    .svh-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding-top: 128px;
    }

    .svh-hero__media img {
        object-position: var(--pos-m, var(--pos-d, 50% 50%));
    }

    .svh-crumbs {
        max-width: none;
    }

    .svh-crumbs ol {
        justify-content: flex-start;
    }

    .svh-jump__inner {
        gap: 20px;
    }

    .svh-jump__label {
        padding-right: 20px;
    }

    .svh-jump__list {
        gap: 26px;
    }

    .svh-modal__panel {
        grid-template-columns: minmax(0, 1fr);
        width: min(680px, 100%);
    }

    .svh-modal__brand {
        gap: 18px;
        padding: 32px 32px 26px;
    }

    .svh-modal__next {
        display: none;
    }

    .svh-modal__contact {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 22px;
        margin-top: 4px;
    }

    .svh-modal__main {
        padding: 34px 32px 30px;
    }
}

@media (max-width: 640px) {
    .svh-hero__card {
        min-height: clamp(460px, 76svh, 620px);
    }

    .svh-hero__inner {
        gap: 22px;
        padding: 112px 18px 28px;
    }

    .svh-crumbs li + li::before {
        width: 20px;
        margin: 0 10px;
    }

    /* the jump bar: the links scroll sideways, fading at the edge */
    .svh-jump__label {
        display: none;
    }

    .svh-jump__inner {
        gap: 14px;
        padding-right: 12px;
    }

    .svh-jump__scroll {
        -webkit-mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
        mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    }

    /*rtl:begin:ignore*/
    [dir="rtl"] .svh-jump__scroll {
        -webkit-mask: linear-gradient(270deg, #000 calc(100% - 28px), transparent);
        mask: linear-gradient(270deg, #000 calc(100% - 28px), transparent);
    }
    /*rtl:end:ignore*/

    .svh-jump__list {
        gap: 22px;
        padding-right: 24px;
    }

    .svh-jump__cta {
        min-height: 40px;
        padding: 0 16px;
    }

    .svh-modal {
        padding: 10px;
    }

    .svh-modal__brand {
        padding: 26px 22px 22px;
    }

    .svh-modal__logo {
        width: 112px;
    }

    .svh-modal__main {
        padding: 28px 22px 26px;
    }

    .svh-modal__close {
        top: 14px;
        right: 14px;
    }
}

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

    .js .svh-hero__media img,
    .js .svh-hero__copy,
    .js .svh-crumbs {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .svh-jump,
    .svh-jump__link,
    .svh-jump__link::after,
    .svh-jump__cta,
    .svh-jump__cta::before,
    .svh-modal::backdrop,
    .svh-modal__panel,
    .svh-modal__close {
        transition: none;
    }

    .svh-jump__cta:is(:hover, :focus-visible)::after,
    .svh-jump__cta:is(:hover, :focus-visible) .icon[data-i="arrow-right"] {
        animation: none;
    }
}

/* ==========================================================================
   Sub-service hero matched to the core service hero (2026-11-20): full
   width (no inset card or rounded corners), a lighter shade so the photo
   reads, the breadcrumb above the title in the core style, the title at the
   same size, and the slanted white edge at the foot
   ========================================================================== */
.svh-hero {
    padding: 0;
}

.svh-hero .svh-hero__card {
    min-height: clamp(560px, 82vh, 760px);
    border-radius: 0;
}

.svh-hero .svh-hero__media::after {
    background:
        linear-gradient(90deg, rgba(4, 9, 30, .62) 0%, rgba(4, 9, 30, .34) 42%, rgba(4, 9, 30, 0) 72%),
        linear-gradient(0deg, rgba(4, 9, 30, .3) 0%, rgba(4, 9, 30, 0) 40%),
        linear-gradient(180deg, rgba(4, 9, 30, .4) 0%, rgba(4, 9, 30, 0) 26%);
}

.svh-hero .svh-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0;
    width: min(100%, var(--max));
    padding: 150px var(--pad) clamp(96px, 11vh, 132px);
}

.svh-hero .svh-crumbs {
    order: -1;
    max-width: none;
    margin-bottom: 26px;
    padding: 0;
}

.svh-hero .svh-crumbs ol {
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 400;
}

.svh-hero .svh-crumbs li + li::before {
    content: "/";
    width: auto;
    height: auto;
    margin: 0 10px;
    background: none;
    color: rgba(255, 255, 255, .5);
}

.svh-hero .svh-hero__eyebrow {
    display: none;
}

.svh-hero .svh-hero__title {
    max-width: 17ch;
    margin-top: 0;
    text-shadow: 0 2px 24px rgba(4, 9, 30, .35);
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.svh-hero .svh-hero__soft {
    color: rgba(255, 255, 255, .82);
    font-weight: 400;
}

.svh-hero .svh-hero__lead {
    max-width: 620px;
    margin-top: 26px;
    text-shadow: 0 1px 14px rgba(4, 9, 30, .45);
    font-size: 18px;
    line-height: 1.6;
}

.svh-hero__edge {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 47%;
    height: clamp(40px, 4vw, 58px);
    background: var(--white);
    clip-path: polygon(clamp(24px, 2.4vw, 36px) 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 767px) {
    .svh-hero .svh-hero__card {
        min-height: 560px;
    }

    .svh-hero .svh-hero__inner {
        padding: 120px var(--pad) 72px;
    }

    .svh-hero__edge {
        width: 60%;
        height: 32px;
    }
}

/* the sub-service page edges: square, flush with the screen (2026-11-20) */
.page-sub,
.svh-hero {
    --svh-gap: 0px;
    --svh-radius: 0px;
}

/* sub-service hero title: smaller and wider, so long titles take fewer
   lines (client, 2026-11-20: "gone too big") */
.svh-hero .svh-hero__title {
    max-width: 24ch;
    font-size: clamp(32px, 3.2vw, 50px);
    line-height: 1.1;
}

.svh-hero .svh-hero__card {
    min-height: clamp(500px, 72vh, 680px);
}

.svh-hero .svh-hero__inner {
    padding-bottom: clamp(80px, 9vh, 112px);
}

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

/* Phone audit 2026-11-25: the title's desktop line breaks ("VAT" /
   "Services in Dubai.") left one short word alone on a phone. On phones the
   first lines run together and wrap naturally; the soft second sentence
   keeps its own line. */
@media (max-width: 767px) {
    .svh-hero .svh-hero__title > span:not(.svh-hero__soft) {
        display: inline;
    }
}
