html[data-demo='corporate-2']:root {
    --custom-inset: 1rem;
    --capsule-inset: calc(var(--custom-inset) + 0.75rem);
}

@media (width <= 1023px) {
    html[data-demo='corporate-2']:root {
        --custom-inset: 0.75rem;
        --capsule-inset: calc(var(--custom-inset) + 0.5rem);
    }
}

@layer components {
    html[data-demo='corporate-2'] {
        --custom-deep: var(--color-secondary-base);
        --custom-light: oklch(from var(--color-tertiary-base) max(l, 0.8) c h);
        --custom-brand-keyed: oklch(
            from var(--color-primary-base) l c h / clamp(0, calc((c - 0.04) * 25), 1)
        );
        --custom-brand-solid: oklch(
            from
                color-mix(
                    in oklab,
                    var(--custom-brand-keyed) 96%,
                    oklch(from var(--color-tertiary-base) 0.5 c h)
                )
                max(l, 0.5) c h / 1
        );
        --section-space: calc(clamp(4.5rem, 2.5rem + 5vw, 7.5rem) * var(--section-y-scale, 1));
    }

    html[data-demo='corporate-2'] body {
        --color-primary-ink: oklch(from var(--color-primary-base) min(l, 0.5) c h);
    }

    .custom-frame {
        isolation: isolate;
        margin: var(--custom-inset);
        color: #fff;
        background: var(--custom-deep);
        border-radius: var(--radius-xl);
        position: relative;
        overflow: clip;

        & .btn-primary {
            background: var(--custom-brand-solid);
            border-color: var(--custom-brand-solid);

            &:hover {
                background: oklch(from var(--custom-brand-solid) calc(l - 0.06) c h);
                border-color: oklch(from var(--custom-brand-solid) calc(l - 0.06) c h);
            }
        }

        & .glow {
            --glow-color: color-mix(
                in oklch,
                var(--custom-brand-solid) 70%,
                var(--color-tertiary-base)
            );
        }

        &:before {
            --custom-r: clamp(26rem, 20rem + 22vw, 46rem);
            content: '';
            z-index: -1;
            pointer-events: none;
            background:
                radial-gradient(
                    circle at 96% 118%,
                    transparent calc(var(--custom-r) - 2.5rem),
                    color-mix(in oklch, var(--custom-light) 30%, transparent) var(--custom-r),
                    transparent calc(var(--custom-r) + 1px)
                ),
                radial-gradient(
                    circle at 96% 118%,
                    transparent calc(var(--custom-r) * 1.36 - 4rem),
                    color-mix(in oklch, var(--custom-light) 12%, transparent)
                        calc(var(--custom-r) * 1.36),
                    transparent calc(var(--custom-r) * 1.36 + 1px)
                ),
                radial-gradient(
                    circle at 96% 118%,
                    color-mix(in oklch, var(--custom-brand-solid) 22%, transparent),
                    transparent var(--custom-r)
                );
            position: absolute;
            inset: 0;
        }
    }

    .custom-two-tone em {
        color: color-mix(in oklch, currentColor 46%, transparent);
        font-style: normal;
    }

    .custom-stars {
        color: var(--color-accent);
        gap: 1px;
        font-size: 0.8125rem;
        display: inline-flex;
    }

    html[data-demo='corporate-2'] .site-header {
        --menu-surface: var(--color-bg-soft);
        --menu-hover-bg: color-mix(in oklch, var(--color-primary) 7%, transparent);
        --menu-hover-text: var(--color-primary-ink);

        & .nav-link {
            font-size: 0.9375rem;
            font-weight: 500;
        }

        & .custom-nav-action {
            height: calc(var(--navbar-h) - var(--cta-inset) * 2);
            background: var(--custom-brand-solid);
            border-color: var(--custom-brand-solid);
            padding-block: 0;
            font-size: 0.9375rem;

            &:hover {
                background: oklch(from var(--custom-brand-solid) calc(l - 0.06) c h);
                border-color: oklch(from var(--custom-brand-solid) calc(l - 0.06) c h);
            }
        }
    }

    html[data-demo='corporate-2'] .custom-drop .cascade-panel {
        border-radius: var(--radius-lg);
        min-width: 13rem;
        padding: 0.5rem;
    }

    html[data-demo='corporate-2'] .custom-mega {
        & .megamenu-inner {
            grid-template-columns: minmax(0, 1fr) minmax(0, 18.5rem);
            gap: 1.75rem 3rem;
        }

        & .megamenu-services {
            gap: 0 2rem;
        }

        & .megamenu-service:before {
            content: '';
            background: var(--menu-border);
            height: 1px;
            position: absolute;
            inset: auto 0 0;
        }

        & .megamenu-service:nth-last-child(-n + 2):before {
            content: none;
        }

        & .megamenu-service .megamenu-item {
            padding: 1.125rem 0.5rem 0.25rem;
            font-size: 1rem;
        }

        & .megamenu-icon {
            font-variant-numeric: tabular-nums;
            border-radius: var(--radius-full);
            font-size: 0.8125rem;
            font-weight: 600;
        }

        & .megamenu-caption {
            padding: 0 0.5rem 1.125rem 3.875rem;
            font-size: 0.9375rem;
        }

        & .megamenu-case-media {
            aspect-ratio: 16 / 10;
        }

        & .megamenu-foot {
            border-top: 1px solid var(--menu-border);
            padding-top: 1.25rem;
        }
    }

    .custom-hero,
    .custom-page-head {
        --custom-wi: max(177.78cqh, 100cqw);
        --custom-hi: max(100cqh, 56.25cqw);
        --lens-py: 0.5;
        --lens-x: calc(
            var(--lens-ax) * var(--custom-wi) - var(--lens-px) * (var(--custom-wi) - 100cqw)
        );
        --lens-y: calc(
            var(--lens-ay) * var(--custom-hi) - var(--lens-py) * (var(--custom-hi) - 100cqh)
        );
    }

    .custom-hero {
        --custom-lens-r: clamp(11rem, 29svh, 17rem);
        min-height: max(40rem, 100svh - var(--custom-inset) * 2);
        align-items: center;
        display: grid;
    }

    .custom-hero,
    .custom-hero-slider .swiper-slide {
        --lens-ax: 0.765;
        --lens-ay: 0.42;
        --lens-k: 1.05;
        --lens-px: 0.5;
    }

    .custom-hero-slider .swiper-slide {
        --slide-x: calc(
            var(--lens-ax) * var(--custom-wi) - var(--lens-px) * (var(--custom-wi) - 100cqw)
        );
        --slide-y: calc(var(--lens-ay) * var(--custom-hi) - 0.5 * (var(--custom-hi) - 100cqh));
    }

    .custom-hero:has(.swiper-slide-active[data-swiper-slide-index='1']),
    .custom-hero-slider .swiper-slide[data-swiper-slide-index='1'] {
        --lens-ax: 0.66;
        --lens-px: 0;
    }

    .custom-hero:has(.swiper-slide-active[data-swiper-slide-index='2']),
    .custom-hero-slider .swiper-slide[data-swiper-slide-index='2'] {
        --lens-ax: 0.74;
        --lens-ay: 0.41;
        --lens-k: 1.06;
    }

    .custom-hero-stage {
        --carousel-accent: #fff;
        position: absolute;
        inset: 0;
        container-type: size;
    }

    .custom-hero-shot {
        background: var(--custom-deep);
        overflow: hidden;

        & img {
            object-fit: cover;
            object-position: calc(var(--lens-px) * 100%) calc(var(--lens-py) * 100%);
            width: 100%;
            height: 100%;
            display: block;
        }

        &:after {
            content: '';
            z-index: 1;
            background:
                linear-gradient(
                    90deg,
                    color-mix(in oklch, var(--custom-deep) 55%, transparent),
                    transparent 70%
                ),
                linear-gradient(
                    color-mix(in oklch, var(--custom-deep) 60%, transparent),
                    color-mix(in oklch, var(--custom-deep) 38%, transparent) 35%,
                    color-mix(in oklch, var(--custom-deep) 50%, transparent)
                );
            position: absolute;
            inset: 0;
        }
    }

    .custom-hero-slider {
        height: 100%;

        &.swiper-fade .swiper-slide {
            transition-property: opacity, visibility;
        }

        & .swiper-slide:not(.swiper-slide-active) {
            visibility: hidden;
        }

        & img {
            transform-origin: var(--slide-x) var(--slide-y);
            scale: 1.06;
        }

        & :is(.swiper-slide-active, .swiper-slide-prev) img {
            animation: 9s linear both custom-hero-zoom;
        }
    }

    @keyframes custom-hero-zoom {
        from {
            scale: 1.06;
        }

        to {
            scale: 1;
        }
    }

    .custom-hero-base {
        filter: blur(7px);
    }

    .custom-hero-focus {
        z-index: 2;
        clip-path: circle(
            calc(var(--custom-lens-r) * var(--lens-k)) at var(--lens-x) var(--lens-y)
        );
        transition: clip-path 1.2s var(--ease-out);
        position: absolute;
        inset: 0;
    }

    .custom-hero-ring {
        top: var(--lens-y);
        left: var(--lens-x);
        z-index: 2;
        width: calc(var(--custom-lens-r) * var(--lens-k) * 2);
        aspect-ratio: 1;
        border-radius: var(--radius-full);
        box-shadow: 0 0 3rem -0.5rem color-mix(in oklch, var(--custom-light) 35%, transparent);
        transition:
            top 1.2s var(--ease-out),
            left 1.2s var(--ease-out),
            width 1.2s var(--ease-out);
        pointer-events: none;
        position: absolute;
        translate: -50% -50%;

        &:before,
        &:after {
            content: '';
            border-radius: inherit;
            position: absolute;
        }

        &:before {
            background: conic-gradient(
                from 200deg,
                var(--custom-brand-solid),
                var(--custom-light),
                #fff,
                var(--custom-light),
                var(--custom-brand-solid)
            );
            inset: 0;
            mask: radial-gradient(farthest-side, #0000 calc(100% - 1.5px), #000 calc(100% - 1px));
        }

        &:after {
            inset: -16%;
            box-shadow: inset 0 0 0 1px #ffffff1f;
        }
    }

    .custom-hero-badge {
        z-index: 1;
        aspect-ratio: 1;
        letter-spacing: 0.04em;
        text-align: center;
        text-transform: uppercase;
        width: 6.25rem;
        color: var(--color-on-primary);
        background: var(--custom-brand-solid);
        border-radius: var(--radius-full);
        place-content: center;
        justify-items: center;
        gap: 0.25rem;
        padding: 0.75rem;
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1.2;
        display: grid;
        position: absolute;
        top: 85.36%;
        left: 14.64%;
        translate: -50% -50%;
        box-shadow: 0 18px 40px -18px #00000080;

        & i {
            font-size: 1.375rem;
        }
    }

    .custom-hero-controls {
        z-index: 3;
        align-items: center;
        gap: 0.5rem;
        display: flex;
        position: absolute;
        inset: auto 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
    }

    .custom-hero-copy {
        z-index: 3;
        padding-block: calc(var(--header-h) + 2rem) 7rem;
        pointer-events: none;
        position: relative;

        & > * {
            max-width: 40rem;
        }

        & a {
            pointer-events: auto;
        }
    }

    .custom-hero-title {
        letter-spacing: -0.045em;
        font-size: clamp(2.375rem, 0.9rem + 4.4vw, 5.25rem);
        line-height: 1.02;
    }

    @media (width <= 1279px) {
        .custom-hero {
            --custom-lens-r: clamp(10rem, 22vw, 14rem);
        }

        .custom-hero,
        .custom-hero-slider .swiper-slide {
            --lens-ay: 0.38;
            --lens-px: 0.75;
        }

        .custom-hero:has(.swiper-slide-active[data-swiper-slide-index='1']),
        .custom-hero-slider .swiper-slide[data-swiper-slide-index='1'] {
            --lens-px: 0.4;
        }

        .custom-hero:has(.swiper-slide-active[data-swiper-slide-index='2']),
        .custom-hero-slider .swiper-slide[data-swiper-slide-index='2'] {
            --lens-px: 0.7;
        }

        .custom-hero-copy > * {
            max-width: 30rem;
        }
    }

    @media (width <= 767px) {
        .custom-hero {
            --custom-lens-r: 44vw;
            align-items: end;
        }

        .custom-hero,
        .custom-hero-slider .swiper-slide {
            --lens-ay: 0.315;
            --lens-k: 1;
            --lens-px: 0.85;
        }

        .custom-hero:has(.swiper-slide-active[data-swiper-slide-index='1']),
        .custom-hero-slider .swiper-slide[data-swiper-slide-index='1'] {
            --lens-ay: 0.315;
            --lens-px: 0.71;
        }

        .custom-hero:has(.swiper-slide-active[data-swiper-slide-index='2']),
        .custom-hero-slider .swiper-slide[data-swiper-slide-index='2'] {
            --lens-ay: 0.315;
            --lens-px: 0.82;
        }

        .custom-hero-copy {
            padding-block: 0 6.25rem;
        }

        .custom-hero-badge {
            display: none;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .custom-hero-slider :is(.swiper-slide-active, .swiper-slide-prev) img {
            animation: none;
        }

        .custom-hero-focus,
        .custom-hero-ring {
            transition: none;
        }
    }

    .custom-checks {
        gap: 0.75rem;
        padding: 0;
        list-style: none;
        display: grid;

        & li {
            font-size: var(--text-base);
            padding-left: 2rem;
            line-height: 1.5;
            position: relative;
        }

        & li:before {
            content: '';
            aspect-ratio: 1;
            border-radius: var(--radius-full);
            background: var(--color-primary)
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5'/%3E%3C/svg%3E")
                center / 100% no-repeat;
            width: 1.25rem;
            position: absolute;
            top: 0.125rem;
            left: 0;
        }
    }

    .custom-checks--light li {
        color: #ffffffd9;

        &:before {
            background-color: color-mix(in oklch, var(--custom-light) 28%, transparent);
        }
    }

    .custom-logos {
        gap: clamp(2.5rem, 2rem + 2vw, 4rem);
        animation-duration: 40s;

        & .logo-item {
            color: var(--color-text);
            opacity: 0.62;
            flex-shrink: 0;
        }

        & svg {
            filter: none;
            width: auto;
            height: 2.25rem;
        }
    }

    .custom-counters {
        border-top: 1px solid var(--color-border);

        & > div {
            border-bottom: 1px solid var(--color-border);
            flex-direction: column-reverse;
            justify-content: flex-end;
            gap: 0.75rem;
            padding: 2rem 0;
            display: flex;
        }

        & dt {
            max-width: 18rem;
            font-size: var(--text-base);
            color: var(--color-text-soft);
        }

        & dd {
            font-family: var(--font-heading);
            letter-spacing: -0.05em;
            font-variant-numeric: tabular-nums;
            margin: 0;
            font-size: clamp(3.25rem, 2.2rem + 3vw, 5.5rem);
            font-weight: 500;
            line-height: 1;
        }

        @media (width >= 640px) {
            & > div {
                border-bottom: 0;
                padding: 2.5rem 2rem 0.5rem 0;
            }

            & > div + div {
                border-left: 1px solid var(--color-border);
                padding-left: 2rem;
            }
        }
    }

    .custom-services {
        border-top: 1px solid var(--color-border);
    }

    .custom-service-row {
        border-bottom: 1px solid var(--color-border);
    }

    .custom-service-row-link {
        isolation: isolate;
        color: var(--color-text);
        grid-template-columns: 4.5rem minmax(0, 1.15fr) minmax(0, 1fr) 9rem 3.5rem;
        align-items: center;
        gap: 1.5rem;
        padding: 1.75rem 1.25rem;
        display: grid;
        position: relative;

        &:before {
            content: '';
            z-index: -1;
            background: var(--custom-brand-solid);
            transform-origin: bottom;
            transition: transform 0.45s var(--ease-out);
            position: absolute;
            inset: -1px 0;
            transform: scaleY(0);
        }
    }

    .custom-service-row-num {
        font-family: var(--font-heading);
        color: var(--color-primary-ink);
        font-variant-numeric: tabular-nums;
        font-size: 1.125rem;
        font-weight: 500;
    }

    .custom-service-row-name {
        font-family: var(--font-heading);
        letter-spacing: -0.03em;
        font-size: clamp(1.375rem, 1rem + 1.1vw, 2rem);
        font-weight: 500;
        line-height: 1.15;
    }

    .custom-service-row-line {
        font-size: var(--text-base);
        color: var(--color-text-soft);
        line-height: 1.5;
    }

    .custom-service-row-photo {
        aspect-ratio: 3 / 2;
        border-radius: var(--radius-md);
        clip-path: inset(0 0 0 100% round var(--radius-md));
        transition: clip-path 0.5s var(--ease-out);
        display: block;
        overflow: hidden;

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

    .custom-service-row-icon {
        aspect-ratio: 1;
        width: 3.5rem;
        color: var(--color-primary-ink);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-full);
        transition:
            color var(--duration-fast) var(--ease-out),
            background-color var(--duration-fast) var(--ease-out),
            border-color var(--duration-fast) var(--ease-out);
        place-items: center;
        font-size: 1.25rem;
        display: grid;
    }

    .custom-service-row-link:is(:hover, :focus-visible) {
        color: #fff;

        &:before {
            transform: scaleY(1);
        }

        & .custom-service-row-num,
        & .custom-service-row-line {
            color: #fffc;
        }

        & .custom-service-row-photo {
            clip-path: inset(0 round var(--radius-md));
        }

        & .custom-service-row-icon {
            color: var(--custom-brand-solid);
            background: #fff;
            border-color: #fff;
        }
    }

    @media (hover: none) {
        .custom-service-row-photo {
            clip-path: none;
        }
    }

    @media (width <= 1023px) {
        .custom-service-row-link {
            grid-template-columns: 5.5rem minmax(0, 1fr) auto;
            grid-template-areas:
                'photo num icon'
                'photo name icon'
                'photo line icon';
            gap: 0.25rem 1.25rem;
            padding: 1.25rem 0.75rem;
        }

        .custom-service-row-photo {
            aspect-ratio: 1;
            clip-path: none;
            grid-area: photo;
            align-self: start;
        }

        .custom-service-row-num {
            grid-area: num;
            font-size: 0.9375rem;
        }

        .custom-service-row-name {
            grid-area: name;
        }

        .custom-service-row-line {
            grid-area: line;
            margin-top: 0.375rem;
        }

        .custom-service-row-icon {
            grid-area: icon;
            width: 2.75rem;
            font-size: 1rem;
        }
    }

    @media (width <= 639px) {
        .custom-service-row-link {
            grid-template-columns: 4.5rem minmax(0, 1fr) auto;
            grid-template-areas:
                'photo num icon'
                'photo name icon'
                'line line line';
            column-gap: 1rem;
        }

        .custom-service-row-line {
            margin-top: 0.75rem;
        }
    }

    .custom-about-inset {
        box-shadow:
            0 0 0 0.5rem var(--color-bg),
            0 24px 48px -28px #00000059;
    }

    .custom-about-plate {
        background: var(--custom-deep);
        border-radius: var(--radius-lg);
        padding: 1.5rem 1.75rem;
    }

    .custom-method-glow {
        --glow-size: clamp(24rem, 40vw, 42rem);
        --glow-opacity: 0.35;
        top: 10%;
        left: -12%;
    }

    .custom-step {
        background: color-mix(in oklch, var(--custom-deep), #fff 7%);
        box-shadow: inset 0 0 0 1px #ffffff14;
    }

    .custom-step-time {
        color: var(--custom-light);
        border: 1px solid color-mix(in oklch, var(--custom-light) 35%, transparent);
        border-radius: var(--radius-pill);
        padding: 0.375rem 0.875rem;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .custom-case-tag {
        color: #fff;
        border-radius: var(--radius-pill);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background: #0000004d;
        padding: 0.375rem 0.875rem;
        font-size: 0.875rem;
        font-weight: 600;
        position: absolute;
        top: 0.875rem;
        left: 0.875rem;
    }

    .custom-case-chip {
        aspect-ratio: 1;
        width: 2.75rem;
        color: var(--color-primary-ink);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-full);
        transition:
            color var(--duration-fast) var(--ease-out),
            background-color var(--duration-fast) var(--ease-out),
            border-color var(--duration-fast) var(--ease-out);
        place-items: center;
        display: grid;
    }

    .custom-case:is(:hover, :focus-within) .custom-case-chip {
        color: var(--color-on-primary);
        background: var(--custom-brand-solid);
        border-color: var(--custom-brand-solid);
    }

    .custom-case:focus-within {
        outline: 2px solid var(--color-primary);
        outline-offset: 3px;

        & a:focus-visible {
            outline: none;
        }
    }

    .custom-plan {
        --pricing-pad: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
        background: var(--color-bg);
        border-radius: var(--radius-xl);
        border-color: #0000;

        & .pricing-plan {
            font-size: 1.375rem;
            font-weight: 600;
        }

        & .pricing-amount {
            font-family: var(--font-heading);
            letter-spacing: -0.04em;
            font-size: clamp(2.5rem, 0.9rem + 2.3vw, 3.5rem);
            font-weight: 500;
        }

        & .pricing-period {
            white-space: nowrap;
        }

        & .pricing-feature-icon {
            color: var(--color-primary-ink);
        }
    }

    .custom-plan-from {
        font-size: var(--text-base);
        color: var(--color-text-soft);
        align-self: flex-start;
        margin-right: 0.375rem;
        padding-top: 0.5rem;
    }

    .custom-plan-time {
        font-size: var(--text-base);
        color: var(--color-text-soft);
        align-items: center;
        gap: 0.5rem;
        margin: 0.75rem 0 0;
        display: flex;
    }

    .custom-plan--deep {
        color: #ffffffbf;
        background: var(--custom-deep);

        & :is(.pricing-plan, .pricing-amount, .pricing-currency, .pricing-feature) {
            color: #fff;
        }

        & :is(.pricing-desc, .custom-plan-from, .custom-plan-time, .pricing-period) {
            color: #ffffffb3;
        }

        & .pricing-divider {
            background: #ffffff24;
        }

        & .pricing-feature-icon {
            color: var(--custom-light);
        }

        & .btn-primary {
            background: var(--custom-brand-solid);
            border-color: var(--custom-brand-solid);
        }
    }

    .custom-plan-badge {
        top: var(--pricing-pad);
        right: var(--pricing-pad);
        color: var(--custom-deep);
        background: var(--custom-light);
        border-radius: var(--radius-pill);
        padding: 0.375rem 0.875rem;
        font-size: 0.875rem;
        font-weight: 600;
        position: absolute;
    }

    .custom-score {
        text-align: left;
        background: var(--color-bg-soft);
        border-radius: var(--radius-xl);
        border: 0;
        align-items: flex-start;
        padding: 2rem;

        & .testimonial-score-value {
            font-family: var(--font-heading);
            letter-spacing: -0.05em;
            font-size: 4.5rem;
            font-weight: 500;
        }

        & .testimonial-score-stars {
            font-size: 1.125rem;
        }

        & .testimonial-score-platforms {
            justify-content: flex-start;
        }
    }

    .custom-quote {
        background: var(--color-bg-soft);
        border-radius: var(--radius-xl);
        border: 0;

        & .testimonial-body {
            padding: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
        }
    }

    .bg-soft :is(.custom-quote, .custom-score) {
        background: var(--color-bg);
    }

    .custom-quote-text {
        font-family: var(--font-heading);
        letter-spacing: -0.02em;
        color: var(--color-text);
        font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
        font-style: normal;
        font-weight: 500;
        line-height: 1.35;

        & p {
            margin: 0;
        }
    }

    .custom-team {
        border-top: 1px solid var(--color-border);
        padding: 0;
    }

    .custom-team-row {
        border-bottom: 1px solid var(--color-border);
        grid-template-columns: 4.5rem minmax(0, 1fr) auto;
        align-items: center;
        gap: 1.25rem;
        padding: 1.25rem 0;
        display: grid;
        position: relative;
    }

    .custom-team-photo {
        aspect-ratio: 1;
        background: var(--custom-deep);
        border-radius: var(--radius-full);
        display: block;
        overflow: hidden;

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

    .custom-team-name {
        color: var(--color-text);

        &:after {
            content: '';
            position: absolute;
            inset: 0;
        }
    }

    .custom-team-line {
        display: none;
    }

    .custom-team-icon {
        aspect-ratio: 1;
        width: 2.75rem;
        color: var(--color-primary-ink);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-full);
        transition:
            color var(--duration-fast) var(--ease-out),
            background-color var(--duration-fast) var(--ease-out),
            border-color var(--duration-fast) var(--ease-out);
        place-items: center;
        display: grid;
    }

    .custom-team-row:is(:hover, :focus-within) .custom-team-icon {
        color: var(--color-on-primary);
        background: var(--custom-brand-solid);
        border-color: var(--custom-brand-solid);
    }

    @media (width >= 1024px) {
        .custom-team {
            min-height: 34rem;
            padding-right: calc(38% + 3rem);
            position: relative;
        }

        .custom-team-row {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
            padding: 1.75rem 0;
            position: static;
        }

        .custom-team-text {
            position: relative;
        }

        .custom-team-line {
            display: block;
        }

        .custom-team-photo {
            aspect-ratio: auto;
            border-radius: var(--radius-xl);
            opacity: 0;
            width: 38%;
            height: 100%;
            transition: opacity 0.45s var(--ease-out);
            pointer-events: none;
            position: absolute;
            top: 0;
            right: 0;
        }

        .custom-team-name:after {
            inset: -1.75rem -2rem -1.75rem 0;
        }

        .custom-team-row:is(:hover, :focus-within) .custom-team-photo,
        .custom-team:not(:has(.custom-team-row:is(:hover, :focus-within)))
            .custom-team-row:first-child
            .custom-team-photo {
            opacity: 1;
        }

        .custom-team-row:is(:hover, :focus-within) .custom-team-name {
            color: var(--color-primary-ink);
        }
    }

    .custom-award-chip {
        color: #fff;
        border-radius: var(--radius-pill);
        -webkit-backdrop-filter: blur(7px);
        backdrop-filter: blur(7px);
        background: #00000052;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1rem;
        font-size: 0.9375rem;
        font-weight: 600;
        display: inline-flex;

        & i {
            color: var(--color-accent);
        }
    }

    .custom-awards {
        border-top: 1px solid var(--color-border);
        padding: 0;
        list-style: none;

        & li {
            border-bottom: 1px solid var(--color-border);
            grid-template-columns: 5rem minmax(0, 1fr);
            gap: 0.25rem 1.5rem;
            padding: 1.5rem 0;
            display: grid;
        }

        @media (width >= 768px) {
            & li {
                grid-template-columns: 5rem minmax(0, 1.1fr) minmax(0, 1fr);
                align-items: baseline;
            }
        }
    }

    .custom-awards-year {
        font-size: var(--text-base);
        color: var(--color-primary-ink);
        font-variant-numeric: tabular-nums;
        font-weight: 600;
    }

    .custom-awards-name {
        font-family: var(--font-heading);
        letter-spacing: -0.02em;
        font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
        font-weight: 500;
        line-height: 1.2;
    }

    .custom-awards-for {
        font-size: var(--text-base);
        color: var(--color-text-soft);
        grid-column: 2;

        @media (width >= 768px) {
            grid-column: auto;
        }
    }

    html[data-demo='corporate-2'] #c2-faq .accordion-trigger {
        font-family: var(--font-heading);
        padding-block: 1.375rem;
        font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
        font-weight: 500;
    }

    .custom-contact {
        top: calc(var(--header-h) + 1.5rem);
        background: var(--color-bg);
    }

    .custom-contact-icon {
        aspect-ratio: 1;
        width: 2.5rem;
        color: var(--color-primary-ink);
        background: color-mix(in oklch, var(--color-primary) 12%, transparent);
        border-radius: var(--radius-full);
        place-items: center;
        font-size: 1.125rem;
        display: grid;
    }

    .custom-article-link {
        color: var(--color-text);
        text-underline-offset: 0.2em;
        transition: text-decoration-color var(--duration-fast) var(--ease-out);
        -webkit-text-decoration: underline #0000;
        text-decoration: underline #0000;
        text-decoration-thickness: 1px;
    }

    .custom-article:is(:hover, :focus-within) .custom-article-link {
        text-decoration-color: currentColor;
    }

    @media (prefers-reduced-motion: reduce) {
        .custom-service-row-link:before,
        .custom-service-row-photo,
        .custom-team-photo {
            transition: none;
        }
    }

    .custom-footer {
        --footer-bg: var(--custom-deep);
        --footer-rule: #ffffff1f;

        & .footer-main {
            padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
        }

        & .footer-col-title {
            font-size: 0.9375rem;
            font-weight: 600;
        }

        & .footer-watermark-text {
            color: var(--custom-light);
            opacity: 0.08;
            margin-top: clamp(1rem, 3vw, 2.5rem);
            font-weight: 600;
        }
    }

    .custom-footer-glow {
        --glow-size: clamp(24rem, 40vw, 40rem);
        --glow-opacity: 0.4;
        bottom: -25%;
        left: -10%;
    }

    .custom-page-head {
        --custom-lens-r: clamp(9rem, 4rem + 11vw, 14rem);
        --lens-ax: 0.75;
        --lens-ay: 0.42;
        --lens-k: 1;
        --lens-px: 0.5;
        align-items: end;
        min-height: clamp(34rem, 26rem + 18vw, 44rem);
        display: grid;

        & .custom-hero-stage {
            inset: 0 0 0 var(--ph-shift, 0%);
            mask-image: linear-gradient(90deg, #0000, #000 min(14rem, 30%));
        }

        & .custom-hero-shot {
            position: absolute;
            inset: 0;
        }

        & h1 em {
            color: #ffffffbf;
            font-weight: 300;
        }
    }

    .custom-page-head-copy {
        z-index: 3;
        padding-block: calc(var(--header-h) + 1.5rem) clamp(3rem, 2rem + 3vw, 5rem);
        position: relative;

        & > * {
            max-width: 40rem;
        }
    }

    @media (width <= 1279px) {
        .custom-page-head-copy > * {
            max-width: 30rem;
        }
    }

    @media (width <= 767px) {
        .custom-page-head {
            & .custom-hero-stage {
                inset: 0;
                mask-image: none;
            }

            & :is(.custom-hero-focus, .custom-hero-ring) {
                display: none;
            }

            & .custom-hero-base {
                filter: none;
            }
        }
    }

    .custom-value {
        background: var(--color-bg);
        border-radius: var(--radius-xl);
        flex-direction: column;
        min-height: 17rem;
        padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
        display: flex;
    }

    .custom-value-num {
        font-family: var(--font-heading);
        color: var(--color-primary-ink);
        font-variant-numeric: tabular-nums;
        font-size: 1.125rem;
        font-weight: 500;
    }

    .custom-offices .custom-office {
        background: var(--color-bg);
    }

    .custom-person-photo {
        isolation: isolate;
        aspect-ratio: 4 / 5;
        background: var(--custom-deep);
        border-radius: var(--radius-xl);
        position: relative;
        overflow: hidden;

        &:before {
            content: '';
            z-index: -1;
            background: radial-gradient(
                circle at 50% 120%,
                color-mix(in oklch, var(--custom-brand-solid) 45%, transparent),
                transparent 62%
            );
            position: absolute;
            inset: 0;
        }

        & img {
            object-fit: cover;
            object-position: 50% 8%;
            width: 100%;
            height: 100%;
        }
    }

    .custom-roles {
        border-top: 1px solid var(--color-border);
    }

    .custom-role {
        color: var(--color-text);
        border-bottom: 1px solid var(--color-border);
        grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto;
        align-items: center;
        gap: 1rem 1.5rem;
        padding: 1.75rem 0;
        display: grid;

        &:is(:hover, :focus-visible) .custom-service-row-icon {
            color: var(--color-on-primary);
            background: var(--custom-brand-solid);
            border-color: var(--custom-brand-solid);
        }

        &:is(:hover, :focus-visible) .custom-role-title {
            color: var(--color-primary-ink);
        }

        @media (width <= 767px) {
            grid-template-columns: minmax(0, 1fr) auto;

            & .custom-role-title {
                grid-column: 1;
            }

            & .custom-service-row-icon {
                grid-area: 1 / 2 / span 4;
                width: 2.75rem;
            }
        }
    }

    .custom-role-title {
        font-family: var(--font-heading);
        letter-spacing: -0.02em;
        transition: color var(--duration-fast) var(--ease-out);
        font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
        font-weight: 500;
    }

    .custom-role-meta {
        font-size: var(--text-base);
        color: var(--color-text-soft);
        align-items: center;
        gap: 0.5rem;
        display: inline-flex;

        & i {
            color: var(--color-primary-ink);
        }
    }

    .custom-icon-light {
        color: var(--custom-light);
        background: #ffffff14;
        flex-shrink: 0;
    }

    .custom-counters--light {
        border-color: #ffffff24;

        & > div,
        & > div + div {
            border-color: #ffffff24;
        }

        & dt {
            color: #ffffffb3;
        }

        & dd {
            color: #fff;
            white-space: nowrap;
            font-size: clamp(2.75rem, 2rem + 2.2vw, 4.25rem);
        }
    }

    .custom-crew li {
        border-bottom: 1px solid var(--color-border);
        align-items: center;
        gap: 1rem;
        padding: 1.25rem 0;
        display: flex;

        & img {
            border-radius: var(--radius-full);
            object-fit: cover;
            flex-shrink: 0;
            width: 3.5rem;
            height: 3.5rem;
        }
    }

    .custom-join {
        background: var(--custom-deep);
        background-image: radial-gradient(
            circle at 100% 110%,
            color-mix(in oklch, var(--custom-brand-solid) 45%, transparent),
            transparent 60%
        );
        min-height: 20rem;
    }

    .custom-join-chip {
        aspect-ratio: 1;
        width: 2.75rem;
        color: var(--color-on-primary);
        background: var(--custom-brand-solid);
        border-radius: var(--radius-full);
        transition: background-color var(--duration-fast) var(--ease-out);
        place-items: center;
        display: grid;
    }

    :is(.custom-join, .custom-next):is(:hover, :focus-visible) .custom-join-chip {
        background: oklch(from var(--custom-brand-solid) calc(l - 0.08) c h);
    }

    .custom-industry {
        background: var(--color-bg);
        border-radius: var(--radius-xl);
        gap: 1.25rem;
        padding: clamp(1.5rem, 1.1rem + 1vw, 2rem);
        display: flex;
    }

    .custom-facts {
        border-top: 1px solid var(--color-border);

        & > div {
            border-bottom: 1px solid var(--color-border);
            padding: 1.5rem 1.5rem 1.5rem 0;
        }

        & dt {
            font-size: var(--text-base);
            color: var(--color-text-soft);
        }

        & dd {
            margin: 0.375rem 0 0;
            font-size: 1.125rem;
            font-weight: 600;
            line-height: 1.4;
        }
    }

    .custom-next {
        isolation: isolate;

        & img {
            transition: scale 0.6s var(--ease-out);
        }
    }

    .custom-next-body {
        background: linear-gradient(
            transparent,
            color-mix(in oklch, var(--custom-deep) 88%, transparent) 45%
        );
        padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
        position: absolute;
        inset: auto 0 0;
    }

    .custom-addon {
        background: var(--color-bg-soft);
        border-radius: var(--radius-xl);
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 1.75rem;
        display: flex;
    }

    .custom-addon-price {
        font-family: var(--font-heading);
        letter-spacing: -0.03em;
        color: var(--color-primary-ink);
        font-variant-numeric: tabular-nums;
        flex-shrink: 0;
        font-size: 1.75rem;
        font-weight: 500;
    }

    .custom-link-card {
        height: 100%;
        color: var(--color-text);
        transition: background-color var(--duration-fast) var(--ease-out);

        &:is(:hover, :focus-visible) {
            background: var(--color-bg-muted);
        }
    }

    .custom-next-steps {
        gap: 1rem;
        display: grid;

        & li {
            font-size: var(--text-base);
            align-items: baseline;
            gap: 1rem;
            line-height: 1.5;
            display: flex;
        }

        & span {
            aspect-ratio: 1;
            width: 1.75rem;
            color: var(--color-on-primary);
            background: var(--custom-brand-solid);
            border-radius: var(--radius-full);
            flex-shrink: 0;
            place-items: center;
            font-size: 0.875rem;
            font-weight: 600;
            display: grid;
        }
    }

    .custom-subscribe {
        border-radius: var(--radius-pill);
        background: #ffffff14;
        gap: 0.375rem;
        padding: 0.375rem;
        box-shadow: inset 0 0 0 1px #ffffff29;

        & .form-input {
            color: #fff;
            border-radius: var(--radius-pill);
            background: none;
            border-color: #0000;

            &::placeholder {
                color: #fff9;
            }
        }

        & .btn {
            border-radius: var(--radius-pill);
        }
    }

    .custom-prose {
        max-width: 46rem;
        color: var(--color-text-soft);
        font-size: 1.125rem;
        line-height: 1.75;

        & > p,
        & > ul {
            margin: 0 0 1.25rem;
        }

        & h2 {
            letter-spacing: -0.03em;
            color: var(--color-text);
            margin: 3rem 0 1rem;
            font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
            font-weight: 500;
        }
    }

    .custom-prose-lead {
        color: var(--color-text);
        font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
        line-height: 1.55;
    }

    .custom-pullquote {
        margin: 2.5rem 0;
        padding: 0;

        & p {
            font-family: var(--font-heading);
            letter-spacing: -0.025em;
            color: var(--color-primary-ink);
            margin: 0;
            font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
            font-weight: 500;
            line-height: 1.3;
        }

        & footer {
            font-size: var(--text-base);
            color: var(--color-text-soft);
            margin-top: 1rem;
        }
    }
}

@media (width <= 1279px) {
    html[data-demo='corporate-2'] .site-header {
        & .navbar-inner {
            grid-template-columns: 1fr auto;
        }

        & .nav-links {
            display: none;
        }

        & .hamburger {
            display: grid;
        }
    }
}

html[data-demo='corporate-2'] .custom-hero-dashes {
    width: auto;
    margin-left: 0.75rem;
    position: static;

    & .swiper-pagination-bullet {
        background: #ffffff4d;
    }
}
