/*
 * Servicios «Un solo equipo. Todo un evento.» (OD-103; docs/m14/SERVICES-REDESIGN.md) — the page's own rules, loaded only by
 * `/servicios` and `/en/services` after base.css and site.css, in the same cascade layers (`components` for the services list,
 * which no other page uses; `pages` for the art direction). Seven machined modules — the seven services — lock into one dial
 * around the event's core (home3d/core.js). The modules' colours are fixed (they live on the night and purple bands, in both
 * themes, and run as one spectrum along the opening band and the call to action); everything else uses the design-system
 * tokens. Complete without JavaScript, WebGL or motion: each 3D block keeps its still dial (SVG).
 */
@layer components {
    /* ---- The services list (M14-F): one unit per area — its photograph as a thumbnail, or the identity's typographic plate
       when the area has no verified photograph (never another area's picture). Art-directed below as the dial's modules. */
    .c-service-list {
        display: grid;
        gap: var(--space-s);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .c-service-row__body > * {
        margin: 0;
    }

    .c-service-row__body > * + * {
        margin-block-start: var(--space-2xs);
    }

    .c-service-row__summary {
        max-inline-size: var(--measure);
        color: var(--color-muted);
    }

    .c-company__aside {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 var(--space-s);
        font-weight: var(--weight-semibold);
    }
}

@layer pages {
    .p-services {
        --sv-1: #effcff;
        --sv-2: #5ce1ff;
        --sv-3: #8c6bc2;
        --sv-4: #ffb547;
        --sv-5: #0091b3;
        --sv-6: #bfacdd;
        --sv-7: #f2c66b;
        --sv-spectrum: linear-gradient(90deg, var(--sv-1) 0 14.28%, var(--sv-2) 0 28.57%, var(--sv-3) 0 42.85%, var(--sv-4) 0 57.14%, var(--sv-5) 0 71.42%, var(--sv-6) 0 85.71%, var(--sv-7) 0);
    }

    /* ---- The dial (both blocks): the still SVG under the canvas; the 3D replaces it once it runs. */
    .c-sv-art {
        position: relative;
        isolation: isolate;
        inline-size: min(100%, 34rem);
        aspect-ratio: 1;
        margin-inline: auto;
        pointer-events: none;
    }

    .c-sv-art::before {
        /* The instrument's frame: four corner brackets, as a viewfinder (decorative). */
        content: "";
        position: absolute;
        z-index: -1;
        inset: 4%;
        --corner: linear-gradient(var(--color-link), var(--color-link));
        background:
            var(--corner) left top / 1.5rem 2px no-repeat,
            var(--corner) left top / 2px 1.5rem no-repeat,
            var(--corner) right top / 1.5rem 2px no-repeat,
            var(--corner) right top / 2px 1.5rem no-repeat,
            var(--corner) left bottom / 1.5rem 2px no-repeat,
            var(--corner) left bottom / 2px 1.5rem no-repeat,
            var(--corner) right bottom / 1.5rem 2px no-repeat,
            var(--corner) right bottom / 2px 1.5rem no-repeat;
        opacity: 0.55;
    }

    .c-sv-art::after {
        content: "";
        position: absolute;
        z-index: -2;
        inset: 12%;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgb(0 145 179 / 0.35), rgb(0 145 179 / 0));
    }

    .c-sv-still,
    .c-sv-canvas {
        position: absolute;
        inset: 0;
        inline-size: 100%;
        block-size: 100%;
    }

    .c-sv-still {
        transition: opacity var(--dur-slow) var(--ease-standard);
    }

    .c-sv-hero.is-3d .c-sv-still,
    .c-sv-modules.is-3d .c-sv-still {
        opacity: 0;
    }

    /* ---- Opening band: the words beside the dial; the seven modules' spectrum along its foot. */
    .c-sv-hero {
        --band-space: var(--rhythm-m);
        background:
            radial-gradient(55% 75% at 80% 45%, rgb(0 145 179 / 0.3), rgb(0 145 179 / 0) 70%),
            radial-gradient(45% 60% at 0% 100%, rgb(140 107 194 / 0.3), rgb(140 107 194 / 0) 70%),
            var(--color-bg);
    }

    .c-sv-hero::after {
        content: none;
    }

    .c-sv-hero::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        inset-block-end: 0;
        block-size: 0.25rem;
        background: var(--sv-spectrum);
    }

    .c-sv-hero__grid {
        display: grid;
        gap: var(--space-l) var(--grid-gap);
        align-items: center;
    }

    .c-sv-hero h1 {
        max-inline-size: 12ch;
        font-size: var(--text-5xl);
    }

    .c-sv-hero .c-page-hero__eyebrow {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2xs);
        justify-self: start;
    }

    .c-sv-hero .c-page-hero__eyebrow::before {
        content: "";
        inline-size: 0.5rem;
        aspect-ratio: 1;
        border-radius: 50%;
        background: currentcolor;
        box-shadow: 0 0 0 0.25rem rgb(0 171 209 / 0.25);
    }

    .c-sv-hero .c-page-hero__lead {
        color: var(--color-text);
    }

    .c-sv-hero__art {
        inline-size: min(100%, 19rem);
    }

    @media (min-width: 64rem) {
        .c-sv-hero__grid {
            grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        }

        .c-sv-hero__art {
            inline-size: min(100%, 32rem);
            margin-block: calc(-1 * var(--space-l));
        }
    }

    /* ---- Introduction: two sentences beside the photograph in its viewfinder; then the three reasons in their own row —
       nothing is ever laid over informative text (owner, OD-103). */
    .c-sv-intro__grid {
        display: grid;
        gap: var(--space-xl) var(--grid-gap);
    }

    .c-sv-intro__media {
        position: relative;
    }

    .c-sv-intro__media::after {
        content: "";
        position: absolute;
        inset: calc(-1 * var(--space-2xs));
        --corner: linear-gradient(var(--color-signal), var(--color-signal));
        background:
            var(--corner) left top / 2rem 3px no-repeat,
            var(--corner) left top / 3px 2rem no-repeat,
            var(--corner) right bottom / 2rem 3px no-repeat,
            var(--corner) right bottom / 3px 2rem no-repeat;
        pointer-events: none;
    }

    .c-sv-reasons {
        display: grid;
        gap: var(--space-m);
        margin-block-start: var(--space-2xl);
    }

    .c-sv-reasons__heading {
        margin: 0;
        font-size: var(--text-xl);
        letter-spacing: var(--tracking-caps);
        text-transform: uppercase;
    }

    .c-sv-reasons__list {
        display: grid;
        gap: var(--space-s);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .c-sv-reasons__item {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-content: start;
        gap: var(--space-3xs) var(--space-s);
        padding: var(--space-m);
        border: var(--border-hairline) solid var(--color-border);
        border-block-start: 0.25rem solid var(--reason, var(--color-signal));
        border-radius: var(--radius-m);
        background: var(--color-surface-alt);
    }

    .c-sv-reasons__item:nth-child(1) { --reason: var(--sv-5); }
    .c-sv-reasons__item:nth-child(2) { --reason: var(--sv-3); }
    .c-sv-reasons__item:nth-child(3) { --reason: var(--sv-4); }

    .c-sv-reasons__icon {
        display: grid;
        grid-row: span 2;
        place-items: center;
        inline-size: 2.75rem;
        aspect-ratio: 1;
        border-radius: 50%;
        background: var(--color-primary);
        color: var(--color-on-primary);
    }

    .c-sv-reasons__title,
    .c-sv-reasons__text {
        margin: 0;
    }

    .c-sv-reasons__title {
        font-size: var(--text-l);
    }

    .c-sv-reasons__text {
        color: var(--color-muted);
    }

    @media (min-width: 48rem) {
        .c-sv-reasons__list {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .c-sv-reasons__item {
            grid-template-columns: minmax(0, 1fr);
        }

        .c-sv-reasons__icon {
            grid-row: auto;
            margin-block-end: var(--space-2xs);
        }
    }

    @media (min-width: 64rem) {
        .c-sv-intro__grid {
            grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
            align-items: center;
        }
    }

    /* ---- The components: the night band; the dial beside the seven modules. Desktop: the dial on the left, sticky in its own
       column while the cards pass on the right. Phones and tablets: the dial above the list, NOT sticky — no card ever passes
       under it (owner, OD-103: nothing laid over informative text). */
    .c-sv-modules {
        --color-bg: #0c0712;
        --color-focus-gap: #0c0712;
        background:
            radial-gradient(50% 40% at 15% 30%, rgb(45 29 71 / 0.95), rgb(45 29 71 / 0) 75%),
            radial-gradient(40% 35% at 100% 100%, rgb(0 145 179 / 0.18), rgb(0 145 179 / 0) 70%),
            var(--color-bg);
    }

    .c-sv-modules__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-l);
    }

    .c-sv-modules__stage {
        inline-size: min(100%, 18rem);
    }

    .c-sv-readout {
        position: absolute;
        inset-block-start: var(--space-s);
        inset-inline-start: 0;
        display: none;
        align-items: baseline;
        gap: var(--space-3xs);
        margin: 0;
        font-family: var(--font-display);
        font-weight: var(--weight-bold);
        line-height: 1;
        color: var(--color-link);
        font-variant-numeric: tabular-nums lining-nums;
    }

    .c-sv-readout [data-core-readout] {
        font-size: var(--text-3xl);
    }

    .c-sv-readout__total {
        font-size: var(--text-s);
        letter-spacing: var(--tracking-label);
        color: var(--color-muted);
    }

    .c-sv-modules.is-3d.has-active .c-sv-readout {
        display: flex;
    }

    /* The readout takes the colour of the module that leads. */
    .c-sv-modules:has(.c-service-list__item:nth-child(1).is-active) .c-sv-readout { color: var(--sv-1); }
    .c-sv-modules:has(.c-service-list__item:nth-child(2).is-active) .c-sv-readout { color: var(--sv-2); }
    .c-sv-modules:has(.c-service-list__item:nth-child(3).is-active) .c-sv-readout { color: var(--sv-3); }
    .c-sv-modules:has(.c-service-list__item:nth-child(4).is-active) .c-sv-readout { color: var(--sv-4); }
    .c-sv-modules:has(.c-service-list__item:nth-child(5).is-active) .c-sv-readout { color: var(--sv-5); }
    .c-sv-modules:has(.c-service-list__item:nth-child(6).is-active) .c-sv-readout { color: var(--sv-6); }
    .c-sv-modules:has(.c-service-list__item:nth-child(7).is-active) .c-sv-readout { color: var(--sv-7); }

    /* A module: its colour (fixed, the dial's order) as the rail on its edge, its number and its light when it leads. */
    .c-service-list__item:nth-child(1) { --module: var(--sv-1); }
    .c-service-list__item:nth-child(2) { --module: var(--sv-2); }
    .c-service-list__item:nth-child(3) { --module: var(--sv-3); }
    .c-service-list__item:nth-child(4) { --module: var(--sv-4); }
    .c-service-list__item:nth-child(5) { --module: var(--sv-5); }
    .c-service-list__item:nth-child(6) { --module: var(--sv-6); }
    .c-service-list__item:nth-child(7) { --module: var(--sv-7); }

    .c-service-row {
        position: relative;
        isolation: isolate;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-s) var(--space-m);
        align-items: center;
        padding: var(--space-s);
        overflow: hidden;
        border: var(--border-hairline) solid var(--color-border);
        border-radius: var(--radius-m);
        background: linear-gradient(135deg, rgb(241 237 248 / 0.06), rgb(241 237 248 / 0.015));
        transition:
            transform var(--dur-moderate) var(--ease-standard),
            border-color var(--dur-fast) var(--ease-standard),
            box-shadow var(--dur-moderate) var(--ease-standard);
    }

    .c-service-row::before {
        content: "";
        position: absolute;
        inset-block: 0;
        inset-inline-start: 0;
        inline-size: 0.25rem;
        background: var(--module);
        transform: scaleY(0.3);
        transition: transform var(--dur-moderate) var(--ease-enter);
    }

    .c-service-row::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: radial-gradient(70% 140% at 0% 50%, color-mix(in srgb, var(--module) 22%, transparent), transparent 70%);
        opacity: 0;
        transition: opacity var(--dur-moderate) var(--ease-standard);
    }

    .c-service-row__media img {
        border-radius: var(--radius-s);
        transition: transform var(--dur-slow) var(--ease-standard);
    }

    .c-service-row__media .c-media {
        overflow: hidden;
        border-radius: var(--radius-s);
    }

    .c-service-row__plate {
        position: relative;
        display: grid;
        place-items: center;
        aspect-ratio: 3 / 2;
        overflow: hidden;
        border: var(--border-hairline) solid var(--color-border);
        border-radius: var(--radius-s);
        background:
            linear-gradient(rgb(191 172 221 / 0.12) 1px, transparent 1px) 0 0 / 1.25rem 1.25rem,
            linear-gradient(90deg, rgb(191 172 221 / 0.12) 1px, transparent 1px) 0 0 / 1.25rem 1.25rem,
            radial-gradient(closest-side, rgb(140 107 194 / 0.45), rgb(140 107 194 / 0)),
            var(--brand-purple);
    }

    .c-service-row__plate-index {
        font-family: var(--font-display);
        font-size: var(--text-4xl);
        font-weight: var(--weight-bold);
        letter-spacing: var(--tracking-caps);
        color: var(--module);
    }

    .c-service-row__index {
        display: flex;
        align-items: center;
        gap: var(--space-2xs);
        font-family: var(--font-display);
        font-size: var(--text-s);
        font-weight: var(--weight-bold);
        letter-spacing: var(--tracking-label);
        color: var(--module);
        font-variant-numeric: tabular-nums lining-nums;
    }

    .c-service-row__index::after {
        content: "";
        flex: 0 0 2.5rem;
        block-size: 2px;
        background: currentcolor;
        opacity: 0.6;
        transform-origin: left;
        transition: transform var(--dur-moderate) var(--ease-enter);
    }

    .c-service-row__title {
        font-size: var(--text-xl);
    }

    /* The title's link covers the whole module: one target, one stop. */
    .c-service-row__title a {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2xs);
        min-block-size: var(--control-height);
        color: var(--color-text);
        text-decoration: none;
    }

    .c-service-row__title a::after {
        content: "";
        position: absolute;
        z-index: 1;
        inset: 0;
    }

    .c-service-row__title .c-icon {
        transition: transform var(--dur-moderate) var(--ease-enter);
    }

    .c-service-row:has(a:focus-visible) {
        outline: var(--focus-width, 3px) solid var(--color-focus);
        outline-offset: 2px;
    }

    .c-service-list__item.is-active .c-service-row,
    .c-service-row:hover,
    .c-service-row:focus-within {
        border-color: var(--module);
        box-shadow: 0 1.25rem 2.5rem -1.75rem color-mix(in srgb, var(--module) 70%, transparent);
    }

    .c-service-list__item.is-active .c-service-row::before,
    .c-service-row:hover::before,
    .c-service-row:focus-within::before {
        transform: none;
    }

    .c-service-list__item.is-active .c-service-row::after,
    .c-service-row:hover::after,
    .c-service-row:focus-within::after {
        opacity: 1;
    }

    .c-service-list__item.is-active .c-service-row__index::after,
    .c-service-row:hover .c-service-row__index::after {
        transform: scaleX(1.6);
    }

    .c-service-row:hover .c-service-row__title a {
        color: var(--color-link-hover);
    }

    .c-service-row:hover .c-service-row__title .c-icon {
        transform: translate3d(0.25rem, 0, 0);
    }

    @media (hover: hover) and (pointer: fine) {
        .c-service-row:hover .c-service-row__media img {
            transform: scale(1.05);
        }
    }

    .c-sv-modules__aside {
        margin: 0;
        padding: var(--space-m);
        border: var(--border-hairline) dashed var(--color-border-strong);
        border-radius: var(--radius-m);
    }

    @media (min-width: 40rem) {
        .c-service-row {
            grid-template-columns: 14rem minmax(0, 1fr);
        }
    }

    @media (min-width: 64rem) {
        .c-sv-modules__grid {
            grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
            column-gap: var(--space-2xl);
            align-items: start;
        }

        .c-sv-modules__title {
            grid-column: 1 / -1;
        }

        .c-sv-modules__stage {
            position: sticky;
            grid-column: 1;
            grid-row: 2 / span 2;
            align-self: start;
            inset-block-start: calc(var(--header-h) + var(--space-l));
            inline-size: 100%;
        }

        .c-service-list,
        .c-sv-modules__aside {
            grid-column: 2;
        }

        .c-service-row {
            grid-template-columns: 11rem minmax(0, 1fr);
            padding: var(--space-m);
        }

        .c-sv-readout {
            inset-block: auto var(--space-s);
        }

        .c-service-list__item.is-active .c-service-row {
            transform: translate3d(-0.5rem, 0, 0);
        }
    }

    @media (min-width: 80rem) {
        .c-service-row {
            grid-template-columns: 14rem minmax(0, 1fr);
        }
    }

    /* ---- How we start: a course. A dashed lane with the brand's light running along it once revealed; three checkpoints on
       it (the number); each step a card with its icon, under its checkpoint (beside it on phones). The third — the quote — is
       the finish: its checkpoint filled, ringed like a finish line, its card marked. */
    .c-sv-course {
        --node: 3.25rem;
        position: relative;
        isolation: isolate;
    }

    .c-sv-course__lane {
        position: absolute;
        z-index: -1;
        inset-block: calc(var(--node) / 2);
        inset-inline-start: calc(var(--node) / 2 - 1px);
        inline-size: 2px;
        overflow: hidden;
        background: repeating-linear-gradient(var(--color-border-strong) 0 0.5rem, transparent 0.5rem 0.875rem);
    }

    .c-sv-course__pacer {
        position: absolute;
        inset: 0;
        background: linear-gradient(var(--sv-2), var(--sv-3), var(--sv-4));
        transform-origin: top;
    }

    .c-sv-course__pacer::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(transparent 0 42%, rgb(255 255 255 / 0.95) 50%, transparent 58% 100%);
        opacity: 0;
    }

    .c-sv-steps__track {
        gap: var(--space-l);
    }

    .c-sv-steps .c-steps__item {
        --step: var(--sv-2);
        display: grid;
        grid-template-columns: var(--node) minmax(0, 1fr);
        align-items: start;
        gap: var(--space-m);
        padding: 0;
        border: 0;
    }

    .c-sv-steps .c-steps__item:nth-child(2) { --step: var(--sv-3); }
    .c-sv-steps .c-steps__item:nth-child(3) { --step: var(--sv-4); }

    .c-sv-steps .c-steps__number {
        display: grid;
        place-items: center;
        inline-size: var(--node);
        aspect-ratio: 1;
        border: var(--border-strong) solid var(--color-signal);
        border-radius: 50%;
        background: var(--color-bg);
        box-shadow: 0 0 0 0.375rem var(--color-bg);
        font-size: var(--text-l);
    }

    .c-sv-steps .c-steps__item:last-child .c-steps__number {
        border-color: var(--color-primary);
        background: var(--color-primary);
        color: var(--color-on-primary);
        outline: var(--border-strong) dashed var(--color-primary);
        outline-offset: 0.3rem;
    }

    .c-sv-course__card {
        position: relative;
        isolation: isolate;
        display: grid;
        gap: var(--space-2xs);
        padding: var(--space-m);
        border: var(--border-hairline) solid var(--color-border);
        border-block-start: 0.25rem solid var(--step);
        overflow: hidden;
        border-radius: var(--radius-m);
        background: var(--color-surface-alt);
        transition:
            transform var(--dur-moderate) var(--ease-standard),
            box-shadow var(--dur-moderate) var(--ease-standard);
    }

    .c-sv-course__card > * {
        margin: 0;
    }

    /* The step's number again, as a large outlined numeral in the card's top corner — level with the icon, where no text runs
       (decorative; empty alternative text). */
    .c-sv-course__card::after {
        content: attr(data-step);
        content: attr(data-step) / "";
        position: absolute;
        z-index: -1;
        inset-block-start: var(--space-s);
        inset-inline-end: var(--space-m);
        font-family: var(--font-display);
        font-size: 3rem;
        font-weight: var(--weight-heavy);
        line-height: 1;
        color: transparent;
        -webkit-text-stroke: 1.5px color-mix(in srgb, var(--step) 55%, transparent);
        pointer-events: none;
    }

    .c-steps__item:last-child .c-sv-course__card {
        border-color: var(--color-primary);
        border-block-start-color: var(--step);
        background: linear-gradient(160deg, color-mix(in srgb, var(--color-primary) 12%, var(--color-surface-alt)), var(--color-surface-alt) 60%);
    }

    .c-sv-course__icon {
        display: grid;
        place-items: center;
        inline-size: 2.5rem;
        aspect-ratio: 1;
        margin-block-end: var(--space-2xs);
        border-radius: var(--radius-m);
        background: color-mix(in srgb, var(--step) 28%, transparent);
        color: var(--color-text);
    }

    @media (hover: hover) and (pointer: fine) {
        .c-sv-course__card:hover {
            box-shadow: 0 1.25rem 2.5rem -1.75rem rgb(12 7 18 / 0.55);
            transform: translate3d(0, -0.25rem, 0);
        }
    }

    @media (min-width: 48rem) {
        .c-sv-course__lane {
            inset-block: calc(var(--node) / 2 - 1px) auto;
            inset-inline: calc((100% - 2 * var(--grid-gap)) / 6);
            inline-size: auto;
            block-size: 2px;
            background: repeating-linear-gradient(90deg, var(--color-border-strong) 0 0.5rem, transparent 0.5rem 0.875rem);
        }

        .c-sv-course__pacer {
            background: linear-gradient(90deg, var(--sv-2), var(--sv-3), var(--sv-4));
            transform-origin: left;
        }

        .c-sv-course__pacer::after {
            background: linear-gradient(90deg, transparent 0 42%, rgb(255 255 255 / 0.95) 50%, transparent 58% 100%);
        }

        .c-sv-steps__track {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: var(--grid-gap);
        }

        .c-sv-steps .c-steps__item {
            grid-template-columns: minmax(0, 1fr);
            justify-items: center;
            gap: var(--space-l);
        }

        .c-sv-course__card {
            justify-self: stretch;
            block-size: 100%;
        }
    }

    /* ---- The call to action: a night panel on the light band (never dark on the purple footer) — the seven modules' spectrum
       along its top, the dial complete beside the words (its own column), the WhatsApp button in the brand's turquoise. */
    .p-services .c-cta__inner {
        --color-bg: #0c0712;
        --color-text: #f1edf8;
        --color-muted: #bfacdd;
        --color-border: #4a2f74;
        --color-link: #5ce1ff;
        --color-link-hover: #b8f2ff;
        --color-focus: #5ce1ff;
        --color-focus-gap: #0c0712;
        --color-signal: #00abd1;
        --color-primary: #5ce1ff;
        --color-primary-hover: #8ae9ff;
        --color-on-primary: #0c0712;
        position: relative;
        isolation: isolate;
        grid-template-areas: "art" "text" "actions";
        overflow: hidden;
        padding: var(--space-xl) var(--space-m) var(--space-l);
        border-radius: var(--radius-m);
        background:
            radial-gradient(55% 90% at 88% 45%, rgb(0 145 179 / 0.32), rgb(0 145 179 / 0) 70%),
            radial-gradient(50% 80% at 0% 100%, rgb(140 107 194 / 0.35), rgb(140 107 194 / 0) 70%),
            var(--color-bg);
        box-shadow: 0 2.5rem 4rem -3rem rgb(12 7 18 / 0.75);
        color: var(--color-text);
        color-scheme: dark;
    }

    .p-services .c-cta__inner::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        inset-block-start: 0;
        block-size: 0.25rem;
        background: var(--sv-spectrum);
    }

    .p-services .c-cta__inner::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background:
            linear-gradient(rgb(191 172 221 / 0.08) 1px, transparent 1px) 0 0 / 2rem 2rem,
            linear-gradient(90deg, rgb(191 172 221 / 0.08) 1px, transparent 1px) 0 0 / 2rem 2rem;
        -webkit-mask: radial-gradient(70% 90% at 80% 50%, #000, transparent);
        mask: radial-gradient(70% 90% at 80% 50%, #000, transparent);
    }

    .p-services .c-cta__text {
        grid-area: text;
    }

    .p-services .c-cta__title {
        font-size: var(--text-3xl);
        line-height: var(--leading-display);
    }

    .p-services .c-cta__lead {
        color: var(--color-muted);
    }

    .p-services .c-cta__actions {
        grid-area: actions;
    }

    .p-services .c-cta__secondary {
        color: var(--color-link);
    }

    .c-cta__art {
        grid-area: art;
        justify-self: center;
        inline-size: min(100%, 11rem);
    }

    .c-sv-cta__dial {
        display: block;
        inline-size: 100%;
        block-size: auto;
        filter: drop-shadow(0 0 1.5rem rgb(0 171 209 / 0.35));
    }

    @media (min-width: 64rem) {
        .p-services .c-cta__inner {
            grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
            grid-template-areas: "text art" "actions art";
            align-items: center;
            column-gap: var(--space-2xl);
            padding: var(--space-2xl);
        }

        .p-services .c-cta__actions {
            align-self: start;
        }

        .c-cta__art {
            justify-self: end;
            inline-size: min(100%, 19rem);
        }
    }

    /* ---- Marketing's own cover (templates/site/company/_marketing_cover.twig): the drawing fills the plate; its parts answer
       the card's hover or lead — the post lifts, the mail goes out, the pointer presses, the heart and the waves pulse. */
    .c-service-row__plate .c-mk {
        position: absolute;
        inset: 0;
        inline-size: 100%;
        block-size: 100%;
    }

    .c-mk__post,
    .c-mk__mail,
    .c-mk__pointer,
    .c-mk__heart,
    .c-mk__wave,
    .c-mk__chart {
        transform-box: fill-box;
        transform-origin: center;
        transition: transform var(--dur-slow) var(--ease-enter);
    }

    .c-mk__chart {
        transform-origin: left bottom;
    }

    /* ---- Motion: the opening words rise once; the modules arrive in turn; the course draws itself when revealed. ---- */
    @media (prefers-reduced-motion: no-preference) {
        .c-sv-hero__inner > * {
            animation: c-hero-rise var(--dur-slow) var(--ease-enter) backwards;
        }

        .c-sv-hero__inner > h1 {
            animation-delay: var(--stagger);
        }

        .c-sv-hero__inner > .c-page-hero__lead {
            animation-delay: calc(var(--stagger) * 3);
        }

        .c-sv-hero .c-page-hero__eyebrow::before {
            animation: c-sv-beat calc(var(--dur-cinematic) * 2) var(--ease-standard) var(--dur-cinematic) 3;
        }

        .js-motion .c-service-list.is-revealed .c-service-list__item {
            animation: c-hero-rise var(--dur-slow) var(--ease-enter) backwards;
            animation-delay: calc(var(--stagger) * var(--n, 0));
        }

        .js-motion .c-sv-reasons__list.is-revealed .c-sv-reasons__item {
            animation: c-hero-rise var(--dur-slow) var(--ease-enter) backwards;
            animation-delay: calc(var(--stagger) * 2 * var(--n, 0));
        }

        .js-motion .c-sv-course.is-revealed .c-sv-course__pacer {
            animation: c-sv-draw calc(var(--dur-cinematic) * 1.6) var(--ease-enter) backwards;
        }

        .js-motion .c-sv-course.is-revealed .c-sv-course__pacer::after {
            animation: c-sv-run calc(var(--dur-cinematic) * 1.8) var(--ease-standard) calc(var(--dur-cinematic) * 1.6) 2;
        }

        .js-motion .c-sv-course.is-revealed .c-steps__number {
            animation: c-sv-node var(--dur-slow) var(--ease-enter) backwards;
            animation-delay: calc(var(--dur-moderate) + var(--stagger) * 5 * var(--n, 0));
        }

        .js-motion .c-sv-course.is-revealed .c-sv-course__card {
            animation: c-hero-rise var(--dur-slow) var(--ease-enter) backwards;
            animation-delay: calc(var(--dur-slow) + var(--stagger) * 5 * var(--n, 0));
        }

        /* The call to action's dial turns into place once, when it is revealed. */
        .js-motion .c-cta__art.is-revealed .c-sv-cta__dial {
            animation: c-sv-spin calc(var(--dur-cinematic) * 2) var(--ease-enter) backwards;
        }

        /* Marketing's cover: its parts answer the card (hover or lead). */
        .c-service-row:hover .c-mk__post,
        .c-service-list__item.is-active .c-mk__post {
            transform: translate3d(0, -0.3rem, 0);
        }

        .c-service-row:hover .c-mk__mail,
        .c-service-list__item.is-active .c-mk__mail {
            transform: translate3d(0.4rem, 0, 0);
        }

        .c-service-row:hover .c-mk__pointer,
        .c-service-list__item.is-active .c-mk__pointer {
            transform: translate3d(-0.15rem, -0.15rem, 0) scale(0.9);
        }

        .c-service-row:hover .c-mk__chart,
        .c-service-list__item.is-active .c-mk__chart {
            transform: scale(1.04);
        }

        .c-service-row:hover .c-mk__heart,
        .c-service-list__item.is-active .c-mk__heart {
            animation: c-mk-like var(--dur-slow) var(--ease-enter) 2;
        }

        .c-service-row:hover .c-mk__wave,
        .c-service-list__item.is-active .c-mk__wave {
            animation: c-mk-wave var(--dur-cinematic) var(--ease-standard) 2;
        }

        .c-mk__wave--2 { animation-delay: var(--dur-fast); }
        .c-mk__wave--3 { animation-delay: var(--dur-base); }

        /* With motion allowed the 3D usually takes over within a second: the still dial waits that long before it shows,
           so the modules flying in are never preceded by a finished dial (it shows anyway if the 3D never starts). */
        .c-sv-still {
            animation: c-sv-wait var(--dur-slow) var(--ease-enter) backwards;
            animation-delay: calc(var(--dur-cinematic) * 1.5);
        }

        .c-sv-hero.is-3d .c-sv-still,
        .c-sv-modules.is-3d .c-sv-still {
            animation-name: none;
        }
    }

    .c-service-list__item:nth-child(2),
    .c-sv-reasons__item:nth-child(2),
    .c-sv-steps .c-steps__item:nth-child(2) { --n: 1; }
    .c-service-list__item:nth-child(3),
    .c-sv-reasons__item:nth-child(3),
    .c-sv-steps .c-steps__item:nth-child(3) { --n: 2; }
    .c-service-list__item:nth-child(4) { --n: 3; }
    .c-service-list__item:nth-child(5) { --n: 4; }
    .c-service-list__item:nth-child(n + 6) { --n: 5; }

    @keyframes c-sv-wait {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes c-sv-draw {
        from {
            transform: scale(0);
        }

        to {
            transform: none;
        }
    }

    @keyframes c-sv-node {
        from {
            opacity: 0;
            transform: scale(0.4);
        }

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

    @keyframes c-sv-run {
        from {
            opacity: 1;
            transform: translate3d(-60%, -60%, 0);
        }

        to {
            opacity: 1;
            transform: translate3d(60%, 60%, 0);
        }
    }

    @keyframes c-sv-spin {
        from {
            opacity: 0;
            transform: rotate(-140deg) scale(0.7);
        }

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

    @keyframes c-mk-like {
        50% {
            transform: scale(1.35);
        }
    }

    @keyframes c-mk-wave {
        50% {
            opacity: 0.2;
            transform: translate3d(0.3rem, 0, 0);
        }
    }

    @keyframes c-sv-beat {
        50% {
            opacity: 0.55;
            transform: scale(1.6);
        }
    }

    @media (forced-colors: active) {
        .c-sv-art::before,
        .c-sv-art::after,
        .c-sv-hero::before,
        .c-service-row::after,
        .c-sv-intro__media::after {
            display: none;
        }

        .p-services .c-cta__inner::before,
        .p-services .c-cta__inner::after,
        .c-sv-course__card::after {
            display: none;
        }

        .c-service-row::before,
        .c-sv-course__pacer {
            background: CanvasText;
        }
    }

    @media print {
        .c-sv-canvas {
            display: none;
        }

        .c-sv-still {
            opacity: 1;
        }
    }
}
