@layer components {
    html[data-demo='engineering-1'] {
        --custom-ink: oklch(from var(--color-secondary-base) min(l, 0.235) min(c, 0.02) h);
        --custom-scrim: oklch(from var(--color-secondary-base) calc(l - 0.0304) c h);
        --custom-on-ink: #f3f2ef;
        --custom-on-ink-soft: #f3f2efad;
        --custom-tint: var(--color-bg-soft);
        --custom-draw: var(--color-tertiary);
        --custom-hatch-ink: color-mix(in oklch, var(--color-tertiary) 55%, transparent);
        --custom-line: var(--color-border);
        --custom-chamfer: 14px;
        --custom-head-space: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
    }

    .custom-tint {
        background: var(--custom-tint);
    }

    .custom-slab {
        --custom-draw: #ffffff80;
        --custom-hatch-ink: #ffffff1a;
        --custom-line: #ffffff24;
        --on-surface: var(--custom-on-ink);
        background: var(--custom-ink);
        color: var(--custom-on-ink-soft);

        & :is(h1, h2, h3, h4, h5, h6, .custom-title, .custom-figure) {
            color: var(--custom-on-ink);
        }

        & .custom-lead {
            color: var(--custom-on-ink-soft);
        }
    }

    :is(.custom-hero, .custom-slab, .custom-footer-band),
    html[data-demo='engineering-1'] .site-header {
        --color-primary: oklch(
            from var(--color-primary-base) calc(l + (0.86 - l) * clamp(0, (0.45 - l) * 1000, 1))
                calc(c * (1 - 0.55 * clamp(0, (0.45 - l) * 1000, 1))) h
        );
        --color-primary-hover: oklch(
            from var(--color-primary-base)
                calc(l - 0.05 + (0.8 - l + 0.05) * clamp(0, (0.45 - l) * 1000, 1))
                calc(c * (1 - 0.55 * clamp(0, (0.45 - l) * 1000, 1))) h
        );
        --color-on-primary: oklch(
            from var(--color-primary) calc(0.2 + 0.8 * clamp(0, (0.72 - l) * 1000, 1)) 0 0
        );
    }

    .custom-section {
        padding-block: 0 var(--section-space);
        position: relative;
    }

    .custom-section:is(.custom-tint, .custom-slab),
    .custom-section:is(.custom-tint, .custom-slab) + .custom-section,
    #c3-hero + .custom-section:not(.custom-tint, .custom-slab) {
        padding-block-start: var(--section-space);
    }

    .custom-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        margin-block-end: var(--custom-head-space);
        display: grid;
    }

    .custom-head--center {
        text-align: center;
        justify-items: center;
    }

    @media (width >= 768px) {
        .custom-head--row {
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: end;
            column-gap: 3rem;

            & > :last-child {
                grid-area: 1 / 2 / -1;
            }
        }
    }

    .custom-head > .btn-link {
        justify-self: start;
    }

    .custom-title {
        letter-spacing: -0.035em;
        text-wrap: balance;
        max-inline-size: 18ch;
        font-size: clamp(2.25rem, 1.45rem + 2.9vw, 4.25rem);
        font-weight: 700;
        line-height: 1.02;
    }

    .custom-head--center .custom-title {
        margin-inline: auto;
    }

    .custom-lead {
        max-inline-size: 34rem;
        color: var(--color-text-soft);
        text-wrap: pretty;
        font-size: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
        line-height: 1.6;
    }

    .custom-figure {
        font-family: var(--font-heading);
        letter-spacing: -0.04em;
        font-variant-numeric: proportional-nums;
        color: var(--color-text);
        font-size: clamp(2.75rem, 1.9rem + 3vw, 5rem);
        font-weight: 700;
        line-height: 0.95;
    }

    .custom-figure-unit {
        letter-spacing: -0.02em;
        margin-inline-start: 0.06em;
        font-size: 0.5em;
        font-weight: 500;
    }

    .custom-dim {
        --dim-ink: var(--custom-draw);
        --dim-label: var(--color-text-soft);
        grid-template-columns: minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr);
        align-items: center;
        column-gap: 0.75rem;
        min-inline-size: 8rem;
        display: grid;
    }

    .custom-dim--light {
        --dim-ink: #ffffff9e;
        --dim-label: #fff;
    }

    .custom-dim-run {
        background:
            linear-gradient(var(--dim-ink) 0 0) 0 50% / 100% 1px no-repeat,
            linear-gradient(var(--dim-ink) 0 0) 100% 0 / 1px 100% no-repeat;
        block-size: 13px;
        position: relative;

        &:after {
            content: '';
            background: var(--dim-ink);
            clip-path: polygon(0 0, 100% 50%, 0 100%, 2px 50%);
            block-size: 5px;
            inline-size: 9px;
            position: absolute;
            inset-block-start: calc(50% - 2.5px);
            inset-inline-end: 1px;
        }

        &:first-child {
            scale: -1 1;
        }
    }

    .custom-dim-label {
        font-family: var(--font-heading);
        letter-spacing: 0.01em;
        white-space: nowrap;
        color: var(--dim-label);
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 1;
    }

    @media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
        .custom-dim[data-anim] {
            & .custom-dim-run {
                clip-path: inset(-1px 0 -1px 100%);
                transition: clip-path 1.1s var(--ease-out) calc(var(--dim-delay, 0s) + 0.25s);
            }

            & .custom-dim-label {
                opacity: 0;
                transition: opacity 0.5s var(--ease-out) var(--dim-delay, 0s);
            }
        }

        .custom-dim[data-anim].visible {
            & .custom-dim-run {
                clip-path: inset(-1px 0);
            }

            & .custom-dim-label {
                opacity: 1;
            }
        }
    }

    .custom-cross {
        inset: var(--cross-inset, 1.25rem);
        z-index: 1;
        pointer-events: none;
        background: var(--custom-draw);
        --cross-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cpath d='M0 8h7v1H0zM10 8h7v1h-7zM8 0h1v7H8zM8 10h1v7H8zM8 8h1v1H8z'/%3E%3C/svg%3E");
        mask:
            var(--cross-mark) 0 0 / 17px 17px no-repeat,
            var(--cross-mark) 100% 0 / 17px 17px no-repeat,
            var(--cross-mark) 0 100% / 17px 17px no-repeat,
            var(--cross-mark) 100% 100% / 17px 17px no-repeat;
        position: absolute;
    }

    .custom-hatch {
        z-index: -1;
        pointer-events: none;
        background: repeating-linear-gradient(
            -45deg,
            var(--custom-hatch-ink) 0 1px,
            transparent 1px 8px
        );
        mask-image: radial-gradient(
            farthest-side at var(--hatch-at, 100% 0%),
            #000 0%,
            #0009 45%,
            transparent 100%
        );
        position: absolute;
        inset: 0;
    }

    .custom-sheet {
        border: 1px solid var(--custom-draw);
        letter-spacing: 0.12em;
        text-transform: uppercase;
        font-variant-numeric: tabular-nums;
        color: var(--color-text);
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.4;
        display: inline-flex;

        & > span {
            padding: 0.375rem 0.75rem;
        }

        & > span:first-child {
            color: var(--color-text-soft);
        }

        & > span + span {
            border-inline-start: 1px solid var(--custom-draw);
        }
    }

    .custom-slab .custom-sheet {
        color: var(--custom-on-ink);

        & > span:first-child {
            color: var(--custom-on-ink-soft);
        }
    }

    .custom-chamfer {
        clip-path: polygon(
            0 0,
            calc(100% - var(--custom-chamfer)) 0,
            100% var(--custom-chamfer),
            100% 100%,
            0 100%
        );

        &:focus-visible {
            outline-offset: -3px;
        }
    }

    .custom-chamfer--edge {
        position: relative;

        &:after {
            content: '';
            inline-size: var(--custom-chamfer);
            block-size: var(--custom-chamfer);
            pointer-events: none;
            background: linear-gradient(
                to bottom left,
                transparent calc(50% - 0.25px),
                var(--chamfer-edge, var(--custom-line)) calc(50% - 0.25px) calc(50% + 0.75px),
                transparent calc(50% + 0.75px)
            );
            position: absolute;
            inset-block-start: 0;
            inset-inline-end: 0;
        }
    }

    .custom-chip {
        border: 1px solid var(--custom-line);
        border-radius: var(--radius-sm);
        font-variant-numeric: tabular-nums;
        color: var(--color-text);
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 1.3;
        display: inline-flex;
    }

    html[data-demo='engineering-1'] .header-dark-glass {
        --glass-ink: 20 23 27;

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

        & .nav-utility {
            gap: 1.25rem;
            margin-inline-end: 0.75rem;
        }

        & .nav-utility-link {
            font-size: 0.9375rem;

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

    @media (width <= 1439px) {
        html[data-demo='engineering-1'] .header-dark-glass .nav-utility-link span {
            display: none;
        }
    }

    @media (width <= 1279px) {
        html[data-demo='engineering-1'] .header-dark-glass .nav-utility {
            display: none;
        }
    }

    @media (1024px <= width < 1280px) {
        html[data-demo='engineering-1'] .header-dark-glass {
            & .nav-links {
                gap: 0;
            }

            & .nav-link {
                padding-inline: 0.5rem;
                font-size: 0.9375rem;
            }
        }
    }

    .custom-panel-links {
        & a {
            color: #ffffffd1;

            &:hover {
                color: #fff;
            }
        }
    }

    html[data-demo='engineering-1'] .custom-footer {
        & .footer-cta-media-scrim {
            background: linear-gradient(
                90deg,
                rgb(from var(--custom-scrim) r g b / 0.9) 0%,
                rgb(from var(--custom-scrim) r g b / 0.72) 45%,
                rgb(from var(--custom-scrim) r g b / 0.45) 100%
            );
        }

        & .footer-cta-media-icon {
            transition: background var(--duration-hover) var(--ease-out);
            border-radius: 0;
        }

        & .footer-cta-media-link:hover .footer-cta-media-icon {
            background: var(--color-primary-600);
            transform: none;
        }

        & .footer-col-title {
            font-family: var(--font-heading);
            letter-spacing: -0.01em;
            margin-block-end: 1.25rem;
            font-size: 1rem;
            font-weight: 700;
        }
    }

    .custom-footer-cross {
        --cross-inset: 1.25rem;
        --custom-draw: #ffffff73;
    }

    .custom-footer-offices {
        & a {
            color: var(--color-text);

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

    .custom-top {
        background: var(--color-primary);
        color: var(--color-on-primary);
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    }

    .custom-hero {
        --hero-end: clamp(1.75rem, 4vh, 3rem);
        --hero-nav-h: 3.75rem;
        --hero-reserve: calc(var(--hero-nav-h) + 0.75rem);
        isolation: isolate;
        background: var(--custom-ink);
        color: var(--custom-on-ink);
        position: relative;
        overflow: clip;
    }

    .custom-hero-slide {
        isolation: isolate;
        min-block-size: max(100svh, 40rem);
        padding-block: calc(var(--header-h, 88px) + clamp(3rem, 8vh, 6rem))
            calc(var(--hero-end) + var(--hero-reserve));
        background: var(--custom-ink);
        grid-template-rows: 1fr auto;
        overflow: clip;
    }

    .custom-hero-img {
        z-index: -1;
        object-fit: cover;
        object-position: var(--img-pos, 50% 50%);
        filter: saturate(0.7) contrast(1.04);
        block-size: 100%;
        inline-size: 100%;
        position: absolute;
        inset: 0;
    }

    .custom-hero-scrim {
        background:
            linear-gradient(
                180deg,
                rgb(from var(--custom-scrim) r g b / 0.5) 0%,
                rgb(from var(--custom-scrim) r g b / 0) 24%
            ),
            radial-gradient(
                110% 90% at 0% 100%,
                rgb(from var(--custom-scrim) r g b / 0.7) 0%,
                rgb(from var(--custom-scrim) r g b / 0.35) 50%,
                rgb(from var(--custom-scrim) r g b / 0) 85%
            ),
            linear-gradient(
                0deg,
                rgb(from var(--custom-scrim) r g b / 0.9) 0%,
                rgb(from var(--custom-scrim) r g b / 0.72) 38%,
                rgb(from var(--custom-scrim) r g b / 0.3) 68%,
                rgb(from var(--custom-scrim) r g b / 0.12) 100%
            );
    }

    @media (width <= 1023px) {
        .custom-hero-scrim {
            background-color: rgb(from var(--custom-scrim) r g b / 0.3);
        }

        .custom-hud-facts {
            font-size: 0.9375rem;
        }
    }

    @media (width <= 767px) {
        .custom-hero-scrim {
            background: linear-gradient(
                180deg,
                rgb(from var(--custom-scrim) r g b / 0.66) 0%,
                rgb(from var(--custom-scrim) r g b / 0.7) 40%,
                rgb(from var(--custom-scrim) r g b / 0.82) 70%,
                rgb(from var(--custom-scrim) r g b / 0.92) 100%
            );
        }
    }

    .custom-hero-cross {
        --custom-draw: #ffffff8c;
        inset: calc(var(--header-h, 88px) + 1rem) clamp(1rem, 2vw, 1.75rem)
            clamp(0.75rem, 1.5vh, 1.25rem);
    }

    .custom-hero-body {
        align-content: end;
        gap: clamp(1.75rem, 3vw, 2.5rem);
        padding-block-end: clamp(2.5rem, 6vh, 4.5rem);
        display: grid;
    }

    .custom-hero-title {
        letter-spacing: -0.035em;
        color: #fff;
        max-inline-size: 10.5ch;
        font-size: clamp(3rem, 1.6rem + 5.6vw, 7rem);
        font-weight: 700;
        line-height: 0.94;
    }

    .custom-hero-lead {
        color: #ffffffd1;
        text-wrap: pretty;
        max-inline-size: 30rem;
        font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
        line-height: 1.55;
    }

    @media (width >= 1024px) {
        .custom-hero-body {
            grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
            align-items: end;
            column-gap: clamp(3rem, 6vw, 6rem);
        }
    }

    .custom-hero-nav {
        --chamfer-edge: #fff3;
        --carousel-accent: oklch(from var(--color-primary) max(l, 0.7) c h);
        pointer-events: auto;
        inline-size: 100%;
        block-size: var(--hero-nav-h);
        background: rgb(from var(--custom-scrim) r g b / 0.5);
        -webkit-backdrop-filter: blur(18px) saturate(140%);
        backdrop-filter: blur(18px) saturate(140%);
        border: 1px solid #ffffff29;
        align-items: center;
        gap: 1rem;
        padding-inline: 1.25rem 0.625rem;
        display: flex;
    }

    .custom-hero-count {
        color: #ffffff9e;
    }

    .custom-hero .custom-hero-arrow {
        box-shadow: none;
        color: #fff;
        background: none;
        border: 1px solid #ffffff4d;
        border-radius: 0;

        &:hover {
            border-color: var(--color-primary);
            background: var(--color-primary);
            box-shadow: none;
            color: var(--color-on-primary);
        }

        &:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: -5px;
        }
    }

    @media (width >= 1280px) {
        .custom-hero {
            --hero-nav-w: 21.5rem;
            --hero-hud-h: 6.375rem;
            --hero-reserve: 0px;
        }
    }

    @media (1280px <= width < 1440px) {
        .custom-hero-foot .custom-hud-cell {
            padding-inline: 1.25rem;
        }
    }

    @media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
        .custom-hero-slide {
            & :is(.custom-hero-title, .custom-hero-lead, .custom-hero-actions, .custom-hud) {
                opacity: 0;
                transition:
                    opacity 0.3s var(--ease-out),
                    translate 0s linear 1.1s;
                translate: 0 1.25rem;
            }

            & .custom-dim-run {
                clip-path: inset(-1px 0 -1px 100%);
                transition: clip-path 0s linear 1.1s;
            }

            & .custom-dim-label {
                opacity: 0;
                transition: opacity 0.3s var(--ease-out);
            }

            & .custom-hero-img {
                transition: scale 0s linear 1.2s;
                scale: 1.08;
            }
        }

        .custom-hero-slide.swiper-slide-active {
            & :is(.custom-hero-title, .custom-hero-lead, .custom-hero-actions, .custom-hud) {
                opacity: 1;
                transition:
                    opacity 0.9s var(--ease-out) var(--rise-delay, 0.2s),
                    translate 0.9s var(--ease-out) var(--rise-delay, 0.2s);
                translate: none;
            }

            & .custom-hero-lead {
                --rise-delay: 0.38s;
            }

            & .custom-hero-actions {
                --rise-delay: 0.48s;
            }

            & .custom-hud {
                --rise-delay: 0.6s;
            }

            & .custom-dim-run {
                clip-path: inset(-1px 0);
                transition: clip-path 1.1s var(--ease-out) 1.25s;
            }

            & .custom-dim-label {
                opacity: 1;
                transition: opacity 0.5s var(--ease-out) 1s;
            }

            & .custom-hero-img {
                transition: scale 9s;
                scale: 1;
            }
        }
    }

    .custom-hud {
        --chamfer-edge: #fff3;
        background: rgb(from var(--custom-scrim) r g b / 0.5);
        -webkit-backdrop-filter: blur(18px) saturate(140%);
        backdrop-filter: blur(18px) saturate(140%);
        border: 1px solid #ffffff29;
    }

    .custom-hud-cell {
        padding: 1.125rem 1.25rem;
    }

    .custom-hud-label {
        color: #ffffffb3;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9375rem;
        font-weight: 500;
        display: inline-flex;

        &:before {
            content: '';
            background: var(--color-primary);
            block-size: 7px;
            inline-size: 7px;
        }
    }

    .custom-hud-name {
        font-family: var(--font-heading);
        letter-spacing: -0.01em;
        color: #fff;
        text-underline-offset: 4px;
        transition: text-decoration-color var(--duration-fast) var(--ease-out);
        justify-self: start;
        font-size: 1.125rem;
        font-weight: 600;
        -webkit-text-decoration: underline #0000;
        text-decoration: underline #0000;
        text-decoration-thickness: 1px;

        &:hover {
            text-decoration-color: currentColor;
        }
    }

    .custom-hud-measure {
        border-block-start: 1px solid #ffffff1f;
        grid-column: 1 / -1;

        & .custom-dim-label {
            font-size: 1.0625rem;
        }
    }

    .custom-hud-facts {
        color: #ffffffc7;
        border-block-start: 1px solid #ffffff1f;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        align-items: center;
        gap: 0.25rem 0.5rem;
        font-size: 1rem;
        display: flex;

        & span + span:before {
            content: '·';
            color: #ffffff73;
            margin-inline-end: 0.5rem;
        }
    }

    @media (width >= 1024px) {
        .custom-hud-cell {
            padding: 1.25rem 1.75rem;
        }

        .custom-hud-status {
            padding-inline-start: 1.5rem;
        }

        .custom-hud-measure,
        .custom-hud-facts {
            border-block-start: 0;
            border-inline-start: 1px solid #ffffff1f;
            grid-column: auto;
            align-content: center;
            align-self: stretch;
        }

        .custom-hud-measure {
            padding-inline: clamp(1.25rem, 2.5vw, 2.25rem);
        }
    }

    @media (1024px <= width < 1280px) {
        .custom-hud-cell {
            padding-inline: 1.25rem;
        }
    }

    .custom-proof-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 3rem;
        display: grid;
    }

    .custom-proof-item {
        &:before {
            content: '';
            background: linear-gradient(var(--custom-draw), transparent 85%);
            opacity: 0.6;
            inline-size: 1px;
            position: absolute;
            inset-block: 6px 0;
            inset-inline-start: 0;
        }

        & > :not(.custom-dim) {
            margin: 0;
            padding-inline: clamp(1rem, 2vw, 1.75rem);
        }

        & .custom-dim {
            margin-block-end: 1rem;
        }

        & .custom-dim-label {
            color: var(--color-text);
        }
    }

    .custom-proof-item:nth-child(2n):after,
    .custom-proof-item:last-child:after {
        content: '';
        background: linear-gradient(var(--custom-draw), transparent 85%);
        opacity: 0.6;
        inline-size: 1px;
        position: absolute;
        inset-block: 6px 0;
        inset-inline-end: 0;
    }

    @media (width >= 1024px) {
        .custom-proof-item:nth-child(2n):not(:last-child):after {
            content: none;
        }
    }

    .custom-proof-caption {
        color: var(--color-text-soft);
        font-size: 1rem;
        line-height: 1.5;
    }

    .custom-markets {
        & > .custom-hatch {
            block-size: min(34rem, 80%);
            inline-size: min(44rem, 70%);
            inset: 0 0 auto auto;
        }
    }

    .custom-markets-row {
        border-block-end: 1px solid var(--custom-line);
        grid-template-columns: 2.25rem minmax(0, 1fr) auto;
        grid-template-areas:
            'num name thumb'
            '. line thumb'
            '. count thumb';
        align-items: baseline;
        gap: 0.5rem 1rem;
        padding-block: 1.5rem;
        text-decoration: none;
        display: grid;
    }

    .custom-markets-num {
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--color-text-soft);
        grid-area: num;
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .custom-markets-name {
        font-family: var(--font-heading);
        letter-spacing: -0.035em;
        color: var(--color-text);
        grid-area: name;
        font-size: clamp(2rem, 1.15rem + 3vw, 4rem);
        font-weight: 700;
        line-height: 1;
    }

    .custom-markets-line {
        max-inline-size: 34ch;
        color: var(--color-text-soft);
        grid-area: line;
        font-size: 1rem;
        line-height: 1.5;
    }

    .custom-markets-count {
        color: var(--color-text-soft);
        grid-area: count;
        font-size: 0.9375rem;

        & strong {
            font-family: var(--font-heading);
            font-variant-numeric: proportional-nums;
            color: var(--color-text);
            font-size: 1.125rem;
            font-weight: 700;
        }
    }

    .custom-markets-thumb {
        object-fit: cover;
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
        grid-area: thumb;
        align-self: center;
        block-size: 4.5rem;
        inline-size: 4.5rem;
    }

    .custom-markets-go {
        color: var(--color-text);
        transition: color var(--duration-fast) var(--ease-out);
        display: none;
    }

    .custom-markets-row:hover .custom-markets-go,
    .custom-markets-row.is-active .custom-markets-go {
        color: var(--color-primary-ink);
    }

    @media (width >= 1024px) {
        .custom-markets-row {
            grid-template-columns: 4rem minmax(0, 1.15fr) minmax(0, 1fr) 9rem 2rem;
            grid-template-areas: 'num name line count go';
            align-items: center;
            column-gap: 2rem;
            padding-block: clamp(1.5rem, 2.2vw, 2.25rem);
        }

        .custom-markets-thumb {
            display: none;
        }

        .custom-markets-go {
            grid-area: go;
            justify-self: end;
            display: block;
        }
    }

    :root:not([data-focus-source='pointer']) .custom-markets-row:focus-visible {
        outline: 2px solid var(--color-primary);
        outline-offset: 4px;
    }

    .custom-services-dim {
        & .custom-dim-label {
            color: var(--color-text);
        }
    }

    .custom-services-tile {
        --chamfer-edge: var(--custom-line);
        border: 1px solid var(--custom-line);
        background: var(--color-bg);
        grid-template-rows: auto auto auto 1fr auto;
        gap: 0.75rem;
        padding: clamp(1.75rem, 2.5vw, 2.25rem);
        display: grid;
    }

    .custom-services-num {
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--color-text-soft);
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .custom-services-name {
        letter-spacing: -0.02em;
        font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
        font-weight: 700;
        line-height: 1.15;
    }

    .custom-services-line {
        color: var(--color-text-soft);
        font-size: 1rem;
        line-height: 1.55;
    }

    .custom-services-link {
        color: var(--color-text);
        transition: color var(--duration-fast) var(--ease-out);
        justify-self: start;
        align-items: center;
        gap: 0.5rem;
        margin-block-start: 1rem;
        padding-block: 0.375rem;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;

        & i {
            transition: translate var(--duration-fast) var(--ease-out);
        }

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

        &:hover i {
            translate: 0.25rem;
        }
    }

    .custom-projects .custom-head > .btn {
        justify-self: start;
    }

    .custom-projects-rail {
        --hscroll-gap: clamp(1.25rem, 2vw, 1.75rem);
        --hscroll-gutter: max(
            var(--container-x),
            calc((100% - var(--container-width)) / 2 + var(--container-x))
        );
        --hscroll-panel-h: clamp(30rem, calc(100svh - var(--header-h, 88px) - 9rem), 36rem);
        --hscroll-radius: 0;
    }

    .hscroll--pinned .custom-projects-viewport {
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }

    .custom-projects-hud {
        inline-size: 100%;
    }

    .custom-projects-progress {
        border-radius: 0;
    }

    .custom-projects-btn {
        cursor: pointer;
        transition:
            background var(--duration-fast) var(--ease-out),
            border-color var(--duration-fast) var(--ease-out);
        background: none;
        border: 1px solid #ffffff4d;

        &:hover:not(:disabled) {
            background: #ffffff1f;
            border-color: #fff9;
        }

        &:disabled {
            opacity: 0.35;
            cursor: default;
        }
    }

    .custom-project {
        --chamfer-edge: var(--custom-line);
        background: var(--color-bg);
        inline-size: min(82vw, 24rem);
    }

    .custom-slab .custom-project {
        background: #ffffff09;
    }

    @media (width >= 1024px) {
        .custom-project {
            inline-size: 26rem;
        }
    }

    .custom-project-media {
        background: var(--color-bg-muted);

        & img {
            inline-size: 112%;
            transition: scale 0.8s var(--ease-out);
            inset-inline-start: -6%;
        }
    }

    .custom-project:hover .custom-project-media img {
        scale: 1.04;
    }

    .custom-project-name {
        & a {
            &:after {
                content: '';
                z-index: 1;
                position: absolute;
                inset: 0;
            }

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

    :root:not([data-focus-source='pointer'])
        .custom-project:has(.custom-project-name a:focus-visible) {
        outline: 2px solid var(--color-primary);
        outline-offset: -3px;
    }

    .custom-project-place {
        color: var(--color-text-soft);
    }

    .custom-project-stat {
        & .custom-figure {
            font-size: clamp(2.25rem, 1.9rem + 1.2vw, 3rem);
        }
    }

    .custom-project-stat-label {
        color: var(--color-text-soft);
    }

    .custom-slab {
        & .custom-project-media {
            background: #ffffff0f;
        }

        & :is(.custom-project-place, .custom-project-stat-label) {
            color: var(--custom-on-ink-soft);
        }
    }

    .custom-compare-slider {
        & .ba-label {
            background: rgb(from var(--custom-scrim) r g b / 0.62);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        & .ba-handle,
        &:hover .ba-handle {
            color: var(--color-on-primary);
        }
    }

    .custom-compare-before {
        filter: saturate(0.55) contrast(0.96) brightness(1.03);
    }

    .custom-compare-cross {
        --cross-inset: 1rem;
        --custom-draw: #ffffffbf;
    }

    .custom-compare-dim .custom-dim-label {
        color: var(--color-text);
    }

    .custom-safety {
        & > .custom-hatch {
            block-size: 85%;
            inline-size: min(50rem, 75%);
            inset: auto auto 0 0;
        }
    }

    .custom-safety-copy {
        & .custom-title {
            max-inline-size: 12ch;
        }
    }

    .custom-safety-chips {
        & .custom-chip {
            background: var(--color-bg);
        }
    }

    .custom-safety-figures {
        &:after {
            content: '';
            background: var(--color-primary);
            block-size: 17px;
            inline-size: 17px;
            position: absolute;
            inset-block-start: calc(50% - 8.5px);
            inset-inline-start: calc(50% - 8.5px);
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cpath d='M0 8h7v1H0zM10 8h7v1h-7zM8 0h1v7H8zM8 10h1v7H8zM8 8h1v1H8z'/%3E%3C/svg%3E")
                0 0 / 17px 17px no-repeat;
        }
    }

    .custom-safety-cell {
        align-content: start;
        gap: 0.75rem;
        padding: clamp(1.5rem, 3.5vw, 3rem) clamp(1rem, 3vw, 2.75rem);
        display: grid;

        & .custom-figure {
            margin: 0;
        }
    }

    .custom-safety-caption {
        max-inline-size: 18ch;
        color: var(--color-text-soft);
        font-size: 1rem;
        line-height: 1.5;
    }

    .custom-heritage-top {
        gap: clamp(2.5rem, 5vw, 3.5rem);
    }

    @media (width >= 1024px) {
        .custom-heritage-top {
            grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
            align-items: end;
            column-gap: clamp(3rem, 6vw, 6rem);
        }
    }

    .custom-heritage-img {
        filter: grayscale() contrast(1.06) brightness(1.02);
    }

    .custom-heritage-frame .custom-cross {
        --cross-inset: 1rem;
        --custom-draw: #ffffffb3;
    }

    .custom-heritage-tagwrap {
        z-index: 2;
        inline-size: fit-content;
        margin: -1.5rem 0 0 1rem;
        position: relative;
    }

    .custom-heritage-tag-year {
        &:before {
            content: '';
            background: var(--color-primary);
            block-size: 8px;
            inline-size: 8px;
        }
    }

    .custom-timeline {
        & .timeline-item__year {
            font-family: var(--font-heading);
            font-variant-numeric: tabular-nums;
            letter-spacing: -0.035em;
            justify-content: flex-start;
            font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem);
        }

        & .timeline-item__axis {
            &:before {
                content: '';
                background: var(--custom-draw);
                block-size: 13px;
                inline-size: 1px;
                position: absolute;
                inset-block-start: -6px;
                inset-inline-start: 0;
            }
        }

        & .timeline-item__dot,
        & .timeline-item:hover .timeline-item__dot {
            border: 1px solid var(--custom-draw);
            background: var(--color-bg);
            block-size: 11px;
            inline-size: 11px;
            box-shadow: 0 0 0 4px var(--color-bg);
            border-radius: 0;
            left: 0;
            transform: translate(0, -50%);
        }

        & .custom-timeline-now .timeline-item__dot {
            border-color: var(--color-primary);
            background: var(--color-primary);
        }

        & .timeline-item__title {
            max-inline-size: 15ch;
            margin: 0;
            font-size: 1.0625rem;
            line-height: 1.4;
        }
    }

    @media (width <= 1023px) {
        .custom-timeline {
            & .carousel-btn {
                inset-block: auto 0;
                transform: none;
            }

            & .carousel-btn-prev {
                inset-inline: auto 3.75rem;
            }
        }
    }

    .custom-careers-media {
        background: #ffffff0f;

        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb3;
        }
    }

    .custom-careers-copy {
        & .custom-title {
            max-inline-size: 13ch;
        }
    }

    .custom-careers-figure {
        & .custom-figure {
            margin: 0;
            font-size: clamp(3.5rem, 2.4rem + 4vw, 6.5rem);
        }
    }

    .custom-insights-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem clamp(1.5rem, 2.5vw, 2.25rem);
        display: grid;
    }

    @media (width >= 768px) {
        .custom-insights-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    .custom-insight-media {
        & img {
            transition: scale 0.8s var(--ease-out);
        }
    }

    .custom-insight:hover .custom-insight-media img {
        scale: 1.04;
    }

    .custom-insight-title {
        & a {
            text-underline-offset: 4px;
            transition: text-decoration-color var(--duration-fast) var(--ease-out);
            -webkit-text-decoration: underline #0000;
            text-decoration: underline #0000;
            text-decoration-thickness: 1px;

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

    .custom-insight:hover .custom-insight-title a {
        text-decoration-color: currentColor;
    }

    .custom-ph--tint:before {
        content: '';
        z-index: -1;
        block-size: var(--header-h, 88px);
        background: var(--custom-ink);
        position: absolute;
        inset: 0 0 auto;
    }

    .custom-ph + .custom-section:not(.custom-tint, .custom-slab) {
        padding-block-start: var(--section-space);
    }

    .custom-ph-hatch {
        inset: 0 0 auto auto;
    }

    .custom-ph-cross {
        inset: calc(var(--header-h, 88px) + 1rem) clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
    }

    .custom-ph-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(2.75rem, 5vw, 3.5rem);
    }

    @media (width >= 1024px) {
        .custom-ph--media .custom-ph-grid {
            grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
            align-items: end;
            column-gap: clamp(3rem, 6vw, 6rem);
        }
    }

    .custom-ph-lead {
        color: var(--color-text-soft);
    }

    .custom-slab .custom-ph-lead {
        color: var(--custom-on-ink-soft);
    }

    .custom-ph-dim {
        &:not(.custom-dim--light) .custom-dim-label {
            color: var(--color-text);
        }
    }

    .custom-ph-media {
        background: #ffffff0f;

        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    .custom-projects-grid {
        & .custom-project {
            inline-size: auto;
        }

        & .custom-project-media {
            aspect-ratio: 4 / 3;
        }
    }

    .custom-projects-grid .custom-project-media img {
        inline-size: 100%;
        inset-inline-start: 0;
    }

    .custom-filters {
        & .gallery-filter sup {
            color: var(--color-text-soft);
        }

        & .gallery-filter.is-active sup {
            color: inherit;
            opacity: 0.8;
        }
    }

    @media (width <= 639px) {
        .custom-filters.gallery-filters {
            flex-wrap: wrap;
            margin-block-start: 0;
            margin-inline: 0;
            padding: 0;
            overflow: visible;
        }
    }

    .custom-ledger {
        border-block-start: 1px solid var(--custom-line);

        & > li {
            border-block-end: 1px solid var(--custom-line);
            gap: 0.375rem 2rem;
            padding-block: clamp(1.25rem, 2vw, 1.625rem);
            display: grid;
        }
    }

    .custom-ledger-term {
        font-family: var(--font-heading);
        letter-spacing: -0.015em;
        color: var(--color-text);
        font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
        font-weight: 700;
        line-height: 1.25;
    }

    .custom-ledger-text {
        color: var(--color-text-soft);
        font-size: 1rem;
        line-height: 1.55;
    }

    .custom-quote-text {
        max-inline-size: 26ch;
        font-family: var(--font-heading);
        letter-spacing: -0.025em;
        color: var(--color-text);
        text-wrap: balance;
        font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
        font-weight: 500;
        line-height: 1.15;

        &:before {
            content: '“';
        }

        &:after {
            content: '”';
        }
    }

    .custom-quote-cite {
        & img {
            clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
        }

        & strong {
            font-family: var(--font-heading);
            color: var(--color-text);
            font-size: 1.0625rem;
            font-weight: 700;
            display: block;
        }

        & span {
            color: var(--color-text-soft);
        }
    }

    .custom-slab .custom-quote-text,
    .custom-slab .custom-quote-cite strong {
        color: var(--custom-on-ink);
    }

    .custom-slab .custom-quote-cite span {
        color: var(--custom-on-ink-soft);
    }

    .custom-head .custom-lead {
        margin: 0;
    }

    @media (768px <= width < 1024px) {
        .custom-head--row:has(> .custom-lead) {
            grid-template-columns: minmax(0, 1fr);

            & > :last-child {
                grid-area: auto;
            }
        }
    }

    .custom-head--row > .custom-lead {
        max-inline-size: 26rem;
    }

    .custom-faq-head {
        & .custom-title {
            max-inline-size: 12ch;
        }
    }

    .custom-faq {
        & .accordion-item {
            border-color: var(--custom-line);
        }

        & .accordion-item:last-child {
            border-block-end: 1px solid var(--custom-line);
        }

        & .accordion-trigger {
            font-family: var(--font-heading);
            letter-spacing: -0.015em;
            padding-block: 1.375rem;
            font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
            font-weight: 700;
        }

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

        & .accordion-body > div {
            max-inline-size: 60ch;
            color: var(--color-text-soft);
            font-size: 1rem;
            line-height: 1.6;
        }
    }

    .custom-svc-row {
        gap: clamp(2rem, 4vw, 3rem);
        scroll-margin-block-start: calc(var(--header-h, 88px) + 2rem);
    }

    @media (width >= 1024px) {
        .custom-svc-row {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            align-items: center;
            column-gap: clamp(4rem, 7vw, 7rem);
        }
    }

    .custom-svc-media {
        & img {
            object-fit: cover;
            block-size: 100%;
            inline-size: 100%;
            position: absolute;
            inset: 0;
        }

        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    .custom-svc-tag {
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--color-text-soft);
        align-items: center;
        gap: 0.875rem;
        font-size: 0.9375rem;
        font-weight: 600;
        display: inline-flex;
    }

    .custom-svc-name {
        letter-spacing: -0.035em;
        font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem);
        font-weight: 700;
        line-height: 1.02;
    }

    .custom-svc-promise {
        max-inline-size: 30rem;
        font-family: var(--font-heading);
        letter-spacing: -0.01em;
        color: var(--color-text);
        font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
        font-weight: 500;
        line-height: 1.4;
    }

    .custom-svc-text {
        max-inline-size: 34rem;
        color: var(--color-text-soft);
        font-size: 1rem;
        line-height: 1.65;
    }

    .custom-chips {
        flex-wrap: wrap;
        gap: 0.625rem;
        margin: 0.25rem 0 0.5rem;
        display: flex;
    }

    .custom-stages {
        & > .custom-hatch {
            block-size: 90%;
            inline-size: min(44rem, 70%);
            inset: 0 0 auto auto;
        }
    }

    .custom-stages-dim {
        & .custom-dim-label {
            color: var(--color-text);
        }
    }

    .custom-stages-list {
        counter-reset: stage;
    }

    .custom-stage {
        gap: 0.5rem;
        padding: 0 0 2.5rem 2.25rem;
        display: grid;
        position: relative;

        &:before {
            content: '';
            background: var(--custom-draw);
            inline-size: 1px;
            position: absolute;
            inset-block: 0.75rem 0;
            inset-inline-start: 5px;
        }

        &:last-child {
            padding-block-end: 0;
        }

        &:last-child:before {
            content: none;
        }
    }

    .custom-stage-mark {
        border: 1px solid var(--custom-draw);
        background: var(--custom-tint);
        block-size: 11px;
        inline-size: 11px;
        position: absolute;
        inset-block-start: 0.375rem;
        inset-inline-start: 0;
    }

    .custom-stage-num {
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--color-text-soft);
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .custom-stage-name {
        letter-spacing: -0.02em;
        font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
        font-weight: 700;
        line-height: 1.15;
    }

    .custom-stage-line {
        max-inline-size: 22ch;
        color: var(--color-text-soft);
        font-size: 1rem;
        line-height: 1.5;
    }

    @media (width >= 1024px) {
        .custom-stage {
            padding: 2.25rem 1.5rem 0 0;

            &:before {
                block-size: 1px;
                inline-size: auto;
                inset-block: 5px auto;
                inset-inline: 0;
            }

            &:last-child:before {
                content: '';
                inline-size: 11px;
                inset-inline-end: auto;
            }
        }
    }

    .custom-ways .custom-services-tile {
        background: var(--custom-tint);
    }

    .custom-disc-grid {
        border-block-start: 1px solid var(--custom-line);
        grid-template-columns: minmax(0, 1fr);
        display: grid;
    }

    .custom-disc {
        border-block-end: 1px solid var(--custom-line);
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            'icon num'
            'icon name'
            'icon line';
        gap: 0.375rem 1.25rem;
        padding-block: 1.75rem;
        display: grid;
    }

    .custom-disc-num {
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--color-text-soft);
        grid-area: num;
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .custom-disc-icon {
        color: var(--color-primary-ink);
        grid-area: icon;
        font-size: 2rem;
    }

    .custom-disc-name {
        letter-spacing: -0.02em;
        grid-area: name;
        font-size: clamp(1.25rem, 1.12rem + 0.4vw, 1.5rem);
        font-weight: 700;
        line-height: 1.15;
    }

    .custom-disc-line {
        color: var(--color-text-soft);
        grid-area: line;
        font-size: 1rem;
        line-height: 1.55;
    }

    @media (width >= 1024px) {
        .custom-disc {
            border-inline-start: 1px solid var(--custom-line);
            grid-template-columns: minmax(0, 1fr);
            grid-template-areas:
                'num'
                'icon'
                'name'
                'line';
            align-content: start;
            row-gap: 0.75rem;
            padding: 2rem 2rem 2.5rem;
        }
    }

    .custom-cap {
        & > .custom-hatch {
            block-size: 80%;
            inline-size: min(46rem, 70%);
            inset: auto auto 0 0;
        }
    }

    .custom-cap-copy {
        & .custom-title {
            max-inline-size: 12ch;
        }
    }

    .custom-cap-figure {
        & .custom-figure {
            margin: 0;
        }
    }

    .custom-digital-copy {
        & .custom-title {
            max-inline-size: 14ch;
        }
    }

    .custom-points {
        & li {
            grid-template-columns: auto minmax(0, 1fr);
            align-items: baseline;
            gap: 0.875rem;
            font-size: 1.0625rem;
            line-height: 1.5;
            display: grid;
        }

        & i {
            color: var(--color-primary);
            font-size: 1.25rem;
            position: relative;
            inset-block-start: 0.15em;
        }
    }

    .custom-digital-quote {
        margin-block-start: 1rem;
    }

    .custom-mkt {
        --chamfer-edge: var(--custom-line);
        scroll-margin-block-start: calc(var(--header-h, 88px) + 2rem);
    }

    .custom-mkt-media {
        & img {
            object-fit: cover;
            block-size: 100%;
            inline-size: 100%;
            position: absolute;
            inset: 0;
        }

        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    .custom-mkt-main {
        align-content: start;
        justify-items: start;
        gap: 1.125rem;
        padding: clamp(1.75rem, 3vw, 2.75rem);
        display: grid;
    }

    .custom-mkt-top {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.5rem 1.5rem;
        inline-size: 100%;
        display: flex;
    }

    .custom-mkt-name {
        letter-spacing: -0.035em;
        align-items: baseline;
        gap: 1rem;
        font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem);
        font-weight: 700;
        line-height: 1;
        display: flex;

        & span {
            letter-spacing: 0;
            font-variant-numeric: tabular-nums;
            color: var(--color-text-soft);
            font-size: 0.9375rem;
            font-weight: 600;
        }
    }

    .custom-mkt-line {
        max-inline-size: 40ch;
        color: var(--color-text-soft);
        font-size: 1.0625rem;
        line-height: 1.55;
    }

    .custom-mkt-feature {
        border-block-start: 1px solid var(--custom-line);
        background: var(--custom-tint);
        color: inherit;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.25rem 1.5rem;
        padding: 1.25rem clamp(1.75rem, 3vw, 2.75rem);
        text-decoration: none;
        display: grid;
        position: relative;
    }

    .custom-mkt-feature-label {
        & strong {
            font-family: var(--font-heading);
            color: var(--color-text);
            font-size: 1.125rem;
            font-weight: 700;
            display: block;
        }
    }

    .custom-mkt-feature-stat {
        font-family: var(--font-heading);
        letter-spacing: -0.02em;
        color: var(--color-text);
        grid-row: span 2;
        align-items: center;
        gap: 1rem;
        font-size: 1.25rem;
        font-weight: 700;
        display: inline-flex;

        & i {
            transition: translate var(--duration-fast) var(--ease-out);
        }
    }

    .custom-mkt-feature:hover .custom-mkt-feature-stat i {
        translate: 0.25rem;
    }

    .custom-mkt-feature:hover strong {
        text-underline-offset: 4px;
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }

    :root:not([data-focus-source='pointer']) .custom-mkt-feature:focus-visible {
        outline: 2px solid var(--color-primary);
        outline-offset: -3px;
    }

    .custom-offices-list .custom-proof-item .custom-dim-label {
        color: var(--custom-on-ink);
    }

    .custom-offices-list .custom-figure-unit {
        margin-inline-start: 0.3em;
    }

    .custom-offices-cities {
        color: var(--custom-on-ink-soft);
        font-size: 1rem;
        line-height: 1.55;
    }

    .custom-feature-frame {
        background: #ffffff0f;

        &:before {
            content: '';
            z-index: 0;
            background: linear-gradient(
                0deg,
                rgb(from var(--custom-scrim) r g b / 0.6) 0%,
                rgb(from var(--custom-scrim) r g b / 0) 55%
            );
            position: absolute;
            inset: 0;
        }

        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    .custom-awards-year {
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--color-text-soft);
        font-size: 1.125rem;
        font-weight: 700;
    }

    .custom-awards-result {
        grid-column: 2;
        justify-self: start;
    }

    @media (width >= 768px) {
        .custom-awards-result {
            grid-column: auto;
            justify-self: end;
        }
    }

    .custom-elev {
        & > .custom-hatch {
            --hatch-at: 100% 100%;
            block-size: 70%;
            inline-size: min(40rem, 60%);
            inset: auto 0 0 auto;
        }
    }

    .custom-elev-meta {
        & .custom-chip {
            background: var(--color-bg);
            color: var(--color-text-soft);
            font-weight: 500;
        }
    }

    .custom-elev-svg {
        & .elev-draw {
            stroke: var(--custom-draw);
        }

        & .elev-stay {
            stroke: var(--color-text-soft);
        }

        & .elev-water {
            fill: var(--custom-hatch-ink);
        }

        & .elev-accent {
            fill: var(--color-primary);
        }
    }

    .custom-elev-dims {
        & .custom-dim {
            min-inline-size: 0;
        }

        & .custom-dim-label {
            color: var(--color-text);
        }
    }

    .custom-proof-list--3 .custom-figure-unit {
        margin-inline-start: 0.2em;
    }

    @media (width >= 1024px) {
        .custom-proof-list--3 .custom-proof-item:nth-child(2n):not(:last-child):after {
            content: none;
        }

        .custom-proof-list--3 .custom-proof-item:nth-child(3n):after {
            content: '';
            background: linear-gradient(var(--custom-draw), transparent 85%);
            opacity: 0.6;
            inline-size: 1px;
            position: absolute;
            inset-block: 6px 0;
            inset-inline-end: 0;
        }
    }

    .custom-cao {
        border-block-start: 1px solid var(--custom-line);
        align-content: start;
        gap: 1rem;
        padding-block-start: 1.5rem;
        display: grid;
    }

    .custom-cao-num {
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--color-text-soft);
        font-size: 0.9375rem;
        font-weight: 600;
    }

    .custom-cao-title {
        letter-spacing: -0.025em;
        font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
        font-weight: 700;
        line-height: 1.1;
    }

    .custom-cao-text {
        color: var(--color-text-soft);
        font-size: 1.0625rem;
        line-height: 1.65;
    }

    .custom-gallery-item {
        aspect-ratio: 4 / 3;
        background: #ffffff0f;
        block-size: 100%;
        display: block;
        position: relative;
        overflow: hidden;

        & img {
            object-fit: cover;
            block-size: 100%;
            inline-size: 100%;
            transition: scale 0.8s var(--ease-out);
            position: absolute;
            inset: 0;
        }

        &:hover img {
            scale: 1.04;
        }

        &:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: -3px;
        }
    }

    .custom-gallery-zoom {
        background: rgb(from var(--custom-scrim) r g b / 0.62);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        color: #fff;
        place-items: center;
        block-size: 2.5rem;
        inline-size: 2.5rem;
        font-size: 1.125rem;
        display: grid;
        position: absolute;
        inset-block-end: 0.875rem;
        inset-inline-end: 0.875rem;
    }

    .custom-voice-figures {
        & li {
            border-block-start: 1px solid var(--custom-line);
            gap: 0.5rem;
            padding-block-start: 1.25rem;
            display: grid;
        }

        & .custom-figure {
            margin: 0;
            font-size: clamp(2.5rem, 1.9rem + 2vw, 3.75rem);
        }
    }

    .custom-about-story-copy {
        & .custom-title {
            max-inline-size: 12ch;
        }
    }

    .custom-about-story-frame {
        & img {
            filter: grayscale() contrast(1.05);
        }

        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    .custom-about-line {
        &:before {
            content: '';
            background: var(--custom-draw);
            inline-size: 1px;
            position: absolute;
            inset-block: 0.5rem;
            inset-inline-start: 5px;
        }
    }

    .custom-about-stop {
        gap: 0.25rem 2rem;
        padding: 0 0 2rem 2.5rem;
        display: grid;
        position: relative;

        &:before {
            content: '';
            border: 1px solid var(--custom-draw);
            background: var(--color-bg);
            block-size: 11px;
            inline-size: 11px;
            position: absolute;
            inset-block-start: 0.55rem;
            inset-inline-start: 0;
        }
    }

    .custom-about-stop--now:before {
        border-color: var(--color-primary);
        background: var(--color-primary);
    }

    .custom-about-stop-year {
        font-family: var(--font-heading);
        letter-spacing: -0.03em;
        font-variant-numeric: tabular-nums;
        color: var(--color-text);
        font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
        font-weight: 700;
        line-height: 1.1;
    }

    .custom-about-stop-title {
        letter-spacing: -0.015em;
        font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
        font-weight: 700;
        line-height: 1.3;
    }

    .custom-about-stop-text {
        color: var(--color-text-soft);
        font-size: 1rem;
        line-height: 1.55;
    }

    @media (width >= 768px) {
        .custom-about-stop {
            border-block-end: 1px solid var(--custom-line);
            grid-template-columns: 7rem minmax(0, 4fr) minmax(0, 5fr);
            align-items: baseline;
            padding: 1.375rem 0 1.375rem 3rem;

            &:before {
                inset-block-start: 1.85rem;
            }
        }

        .custom-about-line:before {
            inset-block: 1.9rem;
        }
    }

    .custom-about-person-name {
        letter-spacing: -0.02em;
        font-size: clamp(1.25rem, 1.15rem + 0.35vw, 1.5rem);
        font-weight: 700;
        line-height: 1.2;
    }

    .custom-about-person-line {
        color: var(--color-text-soft);
        margin: 0.5rem 0 0;
        font-size: 1rem;
        line-height: 1.55;
    }

    .custom-about-region {
        & .custom-figure {
            margin: 0;
            font-size: clamp(2.5rem, 1.9rem + 2vw, 3.75rem);
        }
    }

    .custom-about-cities {
        color: var(--color-text-soft);
        gap: 0.625rem;
        font-size: 1rem;
        line-height: 1.4;
        display: grid;
    }

    .custom-about-region--wide .custom-about-cities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media (width >= 640px) and (width <= 1023px) {
        .custom-about-region--wide .custom-about-cities {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    .custom-stopjob {
        & > .custom-hatch {
            block-size: 80%;
            inline-size: min(46rem, 70%);
            inset: auto auto 0 0;
        }
    }

    .custom-stopjob-copy {
        & .custom-title {
            max-inline-size: 15ch;
        }

        & .custom-lead {
            margin: 0;
        }
    }

    .custom-stopjob-steps {
        & li {
            border-block-end: 1px solid var(--custom-line);
            grid-template-columns: 3.25rem minmax(0, 1fr);
            grid-template-areas:
                'num name'
                'num text';
            gap: 0.375rem 1.25rem;
            padding-block: 1.5rem;
            display: grid;
        }

        & p {
            grid-area: text;
            font-size: 1rem;
            line-height: 1.55;
        }
    }

    .custom-stopjob-num {
        border: 1px solid var(--custom-draw);
        block-size: 2.75rem;
        inline-size: 2.75rem;
        font-family: var(--font-heading);
        font-variant-numeric: tabular-nums;
        color: var(--custom-on-ink);
        grid-area: num;
        place-items: center;
        font-size: 0.9375rem;
        font-weight: 700;
        display: grid;
    }

    .custom-stopjob-name {
        letter-spacing: -0.02em;
        grid-area: name;
        font-size: clamp(1.25rem, 1.12rem + 0.4vw, 1.5rem);
        font-weight: 700;
        line-height: 1.2;
    }

    .custom-safety-iso .custom-ledger-term .custom-chip {
        font-size: 1rem;

        & i {
            color: var(--color-primary-ink);
            font-size: 1.125rem;
        }
    }

    .custom-cprog-media {
        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    .custom-cprog-facts {
        & > div {
            border-block-start: 1px solid var(--custom-line);
            gap: 0.25rem;
            padding-block: 0.875rem;
            display: grid;
        }

        & dt {
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--color-text-soft);
            font-size: 0.875rem;
            font-weight: 600;
        }

        & dd {
            color: var(--color-text);
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.4;
        }
    }

    .custom-role-link {
        color: inherit;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.5rem 1rem;
        padding-block: 1.375rem;
        text-decoration: none;
        display: grid;

        &:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 2px;
        }
    }

    .custom-role-title {
        letter-spacing: -0.015em;
        text-underline-offset: 5px;
        transition: text-decoration-color var(--duration-fast) var(--ease-out);
        grid-column: 1;
        font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.4375rem);
        font-weight: 700;
        line-height: 1.25;
        -webkit-text-decoration: underline #0000;
        text-decoration: underline #0000;
        text-decoration-thickness: 1px;
    }

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

    .custom-role-go {
        border: 1px solid var(--custom-line);
        block-size: 2.75rem;
        inline-size: 2.75rem;
        color: var(--color-text);
        transition:
            background-color var(--duration-fast) var(--ease-out),
            border-color var(--duration-fast) var(--ease-out),
            color var(--duration-fast) var(--ease-out);
        grid-area: 1 / 2;
        place-items: center;
        font-size: 1.125rem;
        display: grid;
    }

    .custom-role-link:hover {
        & .custom-role-title {
            text-decoration-color: currentColor;
        }

        & .custom-role-go {
            border-color: var(--color-primary);
            background: var(--color-primary);
            color: var(--color-on-primary);
        }
    }

    @media (width <= 767px) {
        .custom-role-link {
            flex-wrap: wrap;
            gap: 0.375rem 1.125rem;
            padding-inline-end: 4rem;
            display: flex;
            position: relative;
        }

        .custom-role-go {
            translate: 0 -50%;
        }
    }

    .custom-feat-media {
        & img {
            transition: scale 0.8s var(--ease-out);
        }

        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    .custom-feat:hover .custom-feat-media img {
        scale: 1.04;
    }

    .custom-feat-title {
        & a {
            text-underline-offset: 6px;
            transition: text-decoration-color var(--duration-fast) var(--ease-out);
            -webkit-text-decoration: underline #0000;
            text-decoration: underline #0000;
            text-decoration-thickness: 2px;

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

    .custom-feat:hover .custom-feat-title a {
        text-decoration-color: currentColor;
    }

    .custom-feat-meta {
        & img {
            clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
        }
    }

    @media (width >= 640px) and (width <= 1023px) {
        .custom-insights-grid--wall {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    .custom-news-form {
        & .input-group {
            background: #ffffff0a;
            border-color: #ffffff3d;
        }

        & .form-input {
            &::placeholder {
                color: #ffffff73;
            }
        }

        & .form-error-msg {
            color: oklch(78% 0.13 25);
        }
    }

    .custom-news-note {
        & i {
            vertical-align: -0.125em;
        }
    }

    .custom-art-hero-frame,
    .custom-art-figure-frame {
        & .custom-cross {
            --cross-inset: 1rem;
            --custom-draw: #ffffffb8;
        }
    }

    :is(.custom-art-hero-figure, .custom-art-body) .custom-art-caption {
        & .custom-dim-label {
            color: var(--color-text);
        }
    }

    .custom-art-body {
        --article-w: 44rem;
        --article-wide: 64rem;

        & .custom-art-caption {
            margin-block-start: 1.25rem;
        }
    }

    .custom-art-byline {
        & img {
            clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
        }
    }

    .custom-art-facts {
        & li {
            margin: 0;
        }
    }

    .article-body > .custom-art-figures {
        & .custom-figure {
            margin: 0;
            font-size: clamp(2.5rem, 2rem + 1.8vw, 3.5rem);
        }
    }

    .article-body > .custom-art-quote {
        border-block: 1px solid var(--custom-line);

        & blockquote p {
            &:before {
                content: '“';
                color: var(--color-primary);
            }

            &:after {
                content: '”';
            }
        }
    }

    .custom-enq-title {
        &:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 4px;
        }
    }

    .custom-enq-pills {
        & .option-pill > input:checked + span {
            border-color: var(--color-primary);
            background: var(--color-primary);
            color: var(--color-on-primary);
        }
    }

    .custom-enq-note {
        color: var(--color-text-soft);
    }

    .custom-enq-note--error {
        color: var(--color-danger-ink, var(--color-danger));
    }

    .custom-enq-thanks {
        display: grid;
    }

    .custom-enq-line {
        text-underline-offset: 4px;
        transition: text-decoration-color var(--duration-fast) var(--ease-out);
        -webkit-text-decoration: underline #0000;
        text-decoration: underline #0000;

        &:hover {
            text-decoration-color: currentColor;
        }
    }

    .custom-enq-steps {
        & li {
            border-block-end: 1px solid var(--custom-line);
            grid-template-columns: 2.5rem minmax(0, 1fr);
            gap: 1rem;
            padding-block: 1.125rem;
            display: grid;
        }

        & span {
            font-family: var(--font-heading);
            font-variant-numeric: tabular-nums;
            color: var(--color-primary-ink);
            font-size: 0.9375rem;
            font-weight: 700;
        }

        & p {
            color: var(--color-text-soft);
            gap: 0.25rem;
            margin: 0;
            font-size: 1rem;
            line-height: 1.5;
            display: grid;
        }
    }

    .custom-map {
        & .map-locator {
            box-shadow: none;
            border-radius: 0;
        }

        & .map {
            border-radius: 0;
        }
    }

    .custom-lines-link {
        color: var(--color-primary-ink);
        text-underline-offset: 4px;
        transition: text-decoration-color var(--duration-fast) var(--ease-out);
        grid-area: link;
        justify-self: start;
        margin-block-start: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        -webkit-text-decoration: underline #0000;
        text-decoration: underline #0000;

        &:hover {
            text-decoration-color: currentColor;
        }
    }

    .custom-lines .custom-disc {
        grid-template-areas:
            'icon num'
            'icon name'
            'icon line'
            'icon link';
    }

    @media (width >= 1024px) {
        .custom-lines .custom-disc {
            grid-template-areas:
                'num'
                'icon'
                'name'
                'line'
                'link';
        }
    }
}

@media (hover: hover) and (pointer: fine) {
    #c3-markets .cursor-image {
        aspect-ratio: 4 / 3;
        clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
        border-radius: 0;
        block-size: auto;
        inline-size: clamp(260px, 24vw, 360px);
    }
}

.custom-hero .custom-hero-slide {
    block-size: auto;
    display: grid;
}

.custom-hero .custom-hero-progress {
    --swiper-pagination-bullet-horizontal-gap: 0px;
    inline-size: auto;
    position: static;
    inset: auto;
    transform: none;
}

.custom-hero .custom-hero-progress .swiper-pagination-bullet {
    background: #ffffff47;
    border-radius: 0;
    flex: 1 1 0;
    block-size: 2px;
    inline-size: auto;
    max-inline-size: 3.5rem;

    &:before {
        inset: -12px -2px;
    }
}
