:root {
    --motion-gold: #d2af6b;
    --motion-curve: cubic-bezier(.22, 1, .36, 1);
    --motion-step: 65ms;
}

.motion-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 70;
    height: 3px;
    pointer-events: none;
    overflow: hidden;
}

.motion-progress > span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #8b6528, var(--motion-gold), #f0d69d);
    box-shadow: 0 0 14px rgba(210, 175, 107, .34);
}

.motion-guide {
    display: none;
    position: fixed;
    z-index: 9;
    top: 148px;
    bottom: 42px;
    left: max(8px, calc((100vw - var(--wrap)) / 2 - 72px));
    width: 64px;
    pointer-events: none;
}

.motion-guide svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.motion-guide__track,
.motion-guide__path {
    fill: none;
    vector-effect: non-scaling-stroke;
}

.motion-guide__track {
    stroke: rgba(210, 175, 107, .14);
    stroke-width: 1;
}

.motion-guide__path {
    stroke: var(--motion-gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    filter: drop-shadow(0 0 4px rgba(210, 175, 107, .28));
}

.motion-guide__node {
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border: 1px solid rgba(210, 175, 107, .54);
    border-radius: 50%;
    background: var(--bg);
    box-shadow: 0 0 0 5px rgba(210, 175, 107, .035);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.motion-guide__node--1 { top: 10%; left: 61%; }
.motion-guide__node--2 { top: 30%; left: 37%; }
.motion-guide__node--3 { top: 50%; left: 63%; }
.motion-guide__node--4 { top: 70%; left: 37%; }
.motion-guide__node--5 { top: 90%; left: 59%; }

.motion-guide__node.is-active {
    border-color: var(--motion-gold);
    background: var(--motion-gold);
    box-shadow: 0 0 0 6px rgba(210, 175, 107, .1), 0 0 16px rgba(210, 175, 107, .3);
}

.motion-section {
    position: relative;
}

.motion-section-line {
    position: absolute;
    z-index: 2;
    top: 30px;
    left: 8px;
    width: 20px;
    height: 42px;
    pointer-events: none;
    opacity: .58;
}

.motion-section-line::before,
.motion-section-line::after {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(210, 175, 107, .76));
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform .72s var(--motion-curve);
}

.motion-section-line::before {
    left: 0;
    bottom: 7px;
    width: 100%;
    height: 1px;
}

.motion-section-line::after {
    right: 0;
    bottom: 7px;
    width: 1px;
    height: 30px;
    transform: scaleY(0);
    transform-origin: center bottom;
    background: linear-gradient(0deg, rgba(210, 175, 107, .76), transparent);
}

.motion-section-line > span {
    position: absolute;
    right: -3px;
    bottom: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--motion-gold);
    opacity: 0;
    transform: scale(.3);
    box-shadow: 0 0 0 5px rgba(210, 175, 107, .09);
    transition: opacity .25s ease .48s, transform .35s var(--motion-curve) .48s;
}

.motion-section--reached .motion-section-line::before {
    transform: scaleX(1);
}

.motion-section--reached .motion-section-line::after {
    transform: scaleY(1);
}

.motion-section--reached .motion-section-line > span {
    opacity: 1;
    transform: scale(1);
}

.motion-enabled .motion-reveal {
    transition:
        opacity .62s var(--motion-curve),
        transform .72s var(--motion-curve),
        filter .72s var(--motion-curve);
}

.motion-enabled .motion-reveal.motion-pending {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(2px);
}

.motion-enabled .motion-reveal.motion-pending[data-motion-from="left"] {
    transform: translate3d(-18px, 12px, 0);
}

.motion-enabled .motion-reveal.motion-pending[data-motion-from="right"] {
    transform: translate3d(18px, 12px, 0);
}

.motion-enabled .motion-reveal.motion-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.motion-enabled [data-motion-step="1"] { transition-delay: calc(var(--motion-step) * 1); }
.motion-enabled [data-motion-step="2"] { transition-delay: calc(var(--motion-step) * 2); }
.motion-enabled [data-motion-step="3"] { transition-delay: calc(var(--motion-step) * 3); }
.motion-enabled [data-motion-step="4"] { transition-delay: calc(var(--motion-step) * 4); }

.motion-top {
    position: fixed;
    z-index: 29;
    right: 24px;
    bottom: 24px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(210, 175, 107, .55);
    border-radius: 50%;
    background: rgba(16, 17, 15, .92);
    color: var(--motion-gold);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
    opacity: 0;
    transform: translateY(12px) scale(.92);
    pointer-events: none;
    transition: opacity .25s ease, transform .35s var(--motion-curve), border-color .2s ease, background .2s ease;
    backdrop-filter: blur(8px);
}

.motion-top > span[aria-hidden="true"] {
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

.motion-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.motion-top:hover {
    border-color: var(--motion-gold);
    background: #24231d;
}

.motion-parallax-image {
    --motion-parallax-y: 0px;
    --motion-image-scale: 1.055;
    transform: translate3d(0, var(--motion-parallax-y), 0) scale(var(--motion-image-scale));
    transform-origin: center;
}

.motion-enabled .header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, transparent 0, var(--motion-gold) 48%, transparent 100%);
    animation: motion-load-line .9s var(--motion-curve) .08s forwards;
    pointer-events: none;
}

.motion-enabled .brand-mark {
    animation: motion-mark-arrive .7s var(--motion-curve) both;
}

html.motion-enabled body:not(.page-home) .page-hero .breadcrumbs {
    animation: motion-page-rise .52s var(--motion-curve) .03s both;
}

html.motion-enabled body:not(.page-home) .page-hero .section-label {
    animation: motion-page-rise .56s var(--motion-curve) .07s both;
}

html.motion-enabled body:not(.page-home) .page-hero h1 {
    animation: motion-page-rise .68s var(--motion-curve) .1s both;
}

html.motion-enabled body:not(.page-home) .page-hero h1 + p {
    animation: motion-page-rise .68s var(--motion-curve) .16s both;
}

html.motion-enabled body:not(.page-home) .page-hero .actions {
    animation: motion-page-rise .7s var(--motion-curve) .22s both;
}

html.motion-enabled body:not(.page-home) .page-hero .page-hero-art {
    animation: motion-page-art .82s var(--motion-curve) .09s both;
}

@keyframes motion-load-line {
    0% { transform: scaleX(0); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: scaleX(1); opacity: .42; }
}

@keyframes motion-mark-arrive {
    from { transform: rotate(-7deg) scale(.94); }
    to { transform: none; }
}

@keyframes motion-page-rise {
    from { transform: translate3d(0, 13px, 0); }
    to { transform: none; }
}

@keyframes motion-page-art {
    from { transform: translate3d(0, 9px, 0) scale(1.014); }
    to { transform: none; }
}

@media (hover: hover) and (pointer: fine) {
    .motion-enabled .button {
        position: relative;
        isolation: isolate;
        overflow: hidden;
    }

    .motion-enabled .button::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -60% auto -60% -45%;
        width: 34%;
        transform: skewX(-18deg) translateX(-240%);
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
        transition: transform .62s var(--motion-curve);
        pointer-events: none;
    }

    .motion-enabled .button:hover::after {
        transform: skewX(-18deg) translateX(620%);
    }

    .motion-enabled .project-image::before {
        content: "";
        position: absolute;
        z-index: 1;
        inset: 9px;
        border: 1px solid rgba(238, 215, 169, .62);
        opacity: 0;
        transform: scale(.985);
        transition: opacity .3s ease, transform .5s var(--motion-curve), box-shadow .4s ease;
        pointer-events: none;
    }

    .motion-enabled .project-image:hover::before,
    .motion-enabled .project-image:focus-visible::before {
        opacity: 1;
        transform: scale(1);
        box-shadow: inset 0 0 36px rgba(210, 175, 107, .08);
    }

    .motion-enabled .service-links > a,
    .motion-enabled .related-links > a,
    .motion-enabled .footer-main > div > a:not(.brand) {
        background-image: linear-gradient(90deg, var(--motion-gold), rgba(210, 175, 107, .08));
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: 0 1px;
        transition: color .22s ease, background-size .42s var(--motion-curve);
    }

    .motion-enabled .service-links > a:hover,
    .motion-enabled .related-links > a:hover,
    .motion-enabled .footer-main > div > a:not(.brand):hover {
        background-size: 100% 1px;
    }

    .motion-enabled .contact-guide {
        transition: box-shadow .45s ease;
    }

    .motion-enabled .contact-guide:hover {
        box-shadow: 0 22px 56px rgba(70, 50, 18, .13);
    }

    .motion-enabled .hero-media:hover > .motion-parallax-image,
    .motion-enabled .project-image:hover > .motion-parallax-image {
        --motion-image-scale: 1.075;
    }
}

@media (min-width: 1500px) {
    .motion-guide { display: block; }
    .motion-section-line { display: none; }
}

@media (min-width: 1101px) and (max-width: 1499px) {
    .motion-section-line {
        left: 12px;
        width: 30px;
    }
}

@media (max-width: 767px) {
    .motion-top {
        right: 16px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
    }

    .motion-section-line {
        top: 21px;
        left: 7px;
        width: 18px;
        height: 28px;
        opacity: .46;
    }

    .motion-section-line::after { height: 18px; }
}

.page-privacy .motion-guide,
.page-privacy .motion-section-line {
    display: none;
}

html.motion-enabled body.page-privacy .page-hero .breadcrumbs,
html.motion-enabled body.page-privacy .page-hero h1,
html.motion-enabled body.page-privacy .page-hero h1 + p {
    animation-duration: .38s;
}

html.motion-enabled body.page-privacy .motion-reveal {
    transition-duration: .32s;
}

html.motion-enabled body.page-privacy .motion-reveal.motion-pending {
    transform: translate3d(0, 8px, 0);
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .motion-progress,
    .motion-guide,
    .motion-section-line {
        display: none !important;
    }

    .motion-enabled .motion-reveal,
    .motion-enabled .motion-reveal.motion-pending,
    .motion-enabled .motion-reveal.motion-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .motion-parallax-image,
    .motion-enabled .brand-mark {
        transform: none !important;
        animation: none !important;
    }

    .motion-enabled .header::after { animation: none !important; }
    .motion-enabled .page-hero .breadcrumbs,
    .motion-enabled .page-hero .section-label,
    .motion-enabled .page-hero h1,
    .motion-enabled .page-hero h1 + p,
    .motion-enabled .page-hero .actions,
    .motion-enabled .page-hero .page-hero-art { animation: none !important; }
    .motion-top { transition: none !important; }
}

html.motion-failed .motion-progress,
html.motion-failed .motion-guide,
html.motion-failed .motion-section-line,
html.motion-failed .motion-top {
    display: none !important;
}

html.motion-failed .motion-parallax-image {
    transform: none !important;
}

@media print {
    .motion-progress,
    .motion-guide,
    .motion-section-line,
    .motion-top { display: none !important; }

    .motion-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
