/* Native hero image remains visible independently of WebGL. */
.hero-art {
    inset: 0;
    opacity: 1;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    transform: none;
    z-index: 0;
}

.hero-art > img, .hero-art > canvas {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
}

.hero-art > img {
    display: block;
    opacity: 1;
    visibility: visible;
    z-index: 0;
}

.hero-art > canvas {
    display: block;
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 1;
}

.hero-art:after {
    background: linear-gradient(90deg, #110E1870 0%, transparent 60%), linear-gradient(0deg, #110E18 0%, transparent 36%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
    .hero.is-art-hover .hero-art.dither-ready > canvas {
        opacity: 1
    }
}

@media (max-width: 900px) {
    .hero-art:after {
        background: linear-gradient(180deg, rgba(17, 14, 24, .84) 0%, rgba(17, 14, 24, .72) 32%, rgba(17, 14, 24, .9) 62%, #110E18 100%)
    }
}

@media (max-width: 800px) {
    .hero-art > img {
        object-position: 58% center
    }
}

@media (max-width: 600px) {
    .hero-art > img {
        object-position: 62% center
    }

}

.hero h1, .hero-top, .hero-bottom, .scroll-note {
    z-index: 3
}

.hero-top, .scroll-note {
    position: absolute
}

.hero h1 {
    mix-blend-mode: normal;
    text-shadow: 0 2px 35px #110E1890
}

@media (hover: hover) and (pointer: fine) {
}

@media (max-width: 800px) {
}

@media (max-width: 600px) {
}

.inspiration-art #about-canvas {
    height: 100%;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .4s;
    width: 100%;
    z-index: 2;
}

.inspiration-art.ready #about-canvas {
    opacity: 1
}

.inspiration-art.ready > img {
    opacity: 0
}

.inspiration-art > img {
    transition: opacity .4s
}

@media (max-width: 767px) {
    .about .inspiration-art {
        display: none
    }

    .about .inspiration-card {
        gap: 0;
        grid-template-columns:1fr;
        margin-left: 0;
        padding: 28px;
    }

    .about .inspiration-copy {
        padding: 0
    }

    .about .about-heading {
        margin-bottom: 36px
    }
}

.kinetic-mask {
    display: inline-block;
    line-height: 1.15;
    margin: -.1em -.02em;
    overflow: hidden;
    padding: .1em .02em;
    vertical-align: bottom;
}

.kinetic-word {
    display: inline-block;
    font: inherit;
    transform-origin: 0 100%;
    white-space: nowrap
}

.kinetic-band {
    border-bottom: 1px solid #B4A6C550;
    border-top: 1px solid #B4A6C550;
    isolation: isolate;
    margin: 90px calc(-1 * var(--gutter)) 0;
    overflow: hidden;
    padding: 22px 0
}

.kinetic-track {
    align-items: center;
    display: flex;
    font-size: clamp(65px, 10vw, 165px);
    font-weight: 500;
    gap: 4vw;
    letter-spacing: -.065em;
    line-height: 1.1;
    transform: none;
    white-space: nowrap;
    width: max-content;
}

.kinetic-track > span {
    display: inline-block;
    flex-shrink: 0
}

.kinetic-track > span:nth-child(2) {
    color: var(--violet)
}

.kinetic-track > span:nth-child(3) {
    color: transparent;
    -webkit-text-stroke: 1px var(--ink)
}

.scroll-progress {
    background: #A879FF;
    height: 3px;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: scaleX(0);
    transform-origin: left;
    width: 100%;
    z-index: 100
}

.custom-cursor {
    height: 0;
    left: 0;
    mix-blend-mode: difference;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity .15s;
    width: 0;
    z-index: 9999;
}

.custom-cursor.is-visible {
    opacity: 1
}

.custom-cursor > span {
    border: 1px solid white;
    border-radius: 50%;
    height: 30px;
    left: -15px;
    position: absolute;
    top: -15px;
    transition: width .2s, height .2s, left .2s, top .2s, border-radius .2s, background .2s;
    width: 30px;
}

.custom-cursor > i {
    background: white;
    border-radius: 50%;
    height: 5px;
    left: -2.5px;
    position: absolute;
    top: -2.5px;
    width: 5px;
}

.custom-cursor.is-action > span {
    background: #FFFFFF28;
    height: 52px;
    left: -26px;
    top: -26px;
    width: 52px;
}

.custom-cursor.is-sculpture > span {
    border-radius: 3px;
    transform: rotate(45deg)
}

@media (hover: hover) and (pointer: fine) {
    body.custom-cursor-active, body.custom-cursor-active a, body.custom-cursor-active button, body.custom-cursor-active canvas {
        cursor: none
    }

    body.custom-cursor-active input, body.custom-cursor-active textarea, body.custom-cursor-active [contenteditable=true] {
        cursor: text
    }
}

.project-cta {
    align-items: center;
    background: #6827F5;
    border: 1px solid #A278FF;
    box-shadow: 0 0 0 6px #6827F514;
    color: #FFF;
    display: inline-flex;
    font-size: 18px;
    font-weight: 600;
    gap: 30px;
    justify-content: space-between;
    letter-spacing: -.015em;
    line-height: 1.4;
    min-height: 66px;
    padding: 15px 19px 15px 24px;
    transition: transform .2s, background .2s, box-shadow .2s
}

.project-cta .cta-icon {
    align-items: center;
    background: #F4F2F7;
    color: #4F1BBF;
    display: inline-flex;
    font-size: 27px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    transition: transform .2s;
    width: 36px;
}

.project-cta:hover {
    background: #7737F5;
    box-shadow: 0 0 0 8px #6827F51F;
    transform: translateY(-3px);
}

.project-cta:hover .cta-icon {
    transform: translate(2px, -2px)
}

.project-cta:focus-visible {
    outline: 3px solid #F4F2F7;
    outline-offset: 6px
}

.hero-actions {
    align-items: center;
    gap: 28px
}

.hero-description {
    max-width: 520px
}

.contact-invitation {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 25px
}

.contact-invitation p {
    color: #C9BCD3;
    font-size: var(--text-body);
    line-height: 1.75;
}

.contact .project-cta {
    font-size: 20px;
    gap: 44px;
    min-height: 76px;
    padding: 18px 22px 18px 28px;
}

.contact .email-group {
    max-width: 540px;
    padding-top: 10px
}

.motion-paused .project-cta:hover {
    transform: none
}

@media (max-width: 900px) {
    .contact-bottom {
        align-items: start;
        flex-direction: column;
        gap: 35px
    }

    .kinetic-band {
        margin-top: 65px
    }

    .kinetic-track {
        font-size: 12vw
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 880px
    }

    .hero h1 {
        font-size: clamp(50px, 13vw, 78px)
    }

    .hero-bottom {
        bottom: 90px;
        gap: 16px
    }

    .hero-actions {
        align-items: start;
        flex-direction: column;
        gap: 10px
    }

    .hero-actions .project-cta {
        min-width: 270px
    }

    .hero-actions .text-link {
        min-height: 44px
    }

    .kinetic-mask {
        margin: -.12em -.02em;
        padding: .12em .02em;
    }

    .kinetic-track {
        font-size: 16vw
    }

    .kinetic-band {
        margin-top: 55px;
        padding: 20px 0;
    }

    .contact .project-cta {
        font-size: 18px;
        gap: 25px;
        min-height: 68px;
        padding: 15px 18px 15px 22px
    }

    .inspiration-art #about-canvas {
        height: 100%
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-cursor, .scroll-progress {
        display: none
    }

    .kinetic-word, .kinetic-track {
        transform: none !important
    }

    .project-cta, .project-cta .cta-icon {
        transition: none
    }

    .project-cta:hover, .project-cta:hover .cta-icon {
        transform: none
    }
}

@media (prefers-reduced-motion: reduce) {
    .kinetic-track {
        flex-wrap: wrap;
        font-size: clamp(44px, 8vw, 120px);
        gap: 12px 25px;
        padding: 0 var(--gutter);
        white-space: normal;
        width: auto;
    }
}

/* The primary contact action stays visible in desktop and mobile navigation. */
.site-header nav .nav-contact {
    align-items: center;
    background: #6827F5;
    border: 1px solid #A278FF;
    box-shadow: 0 0 0 4px #6827F514;
    color: #FFF;
    display: inline-flex;
    font-size: 18px;
    font-weight: 600;
    gap: 22px;
    justify-content: space-between;
    line-height: 1.4;
    margin-left: 12px;
    min-height: 52px;
    padding: 11px 15px 11px 19px;
    text-decoration: none;
    transition: background .2s, transform .2s
}

.site-header nav .nav-contact > span {
    margin: 0
}

.site-header nav .nav-contact .nav-cta-arrow {
    align-items: center;
    background: #F4F2F7;
    color: #4F1BBF;
    display: inline-flex;
    font-size: 22px;
    height: 28px;
    justify-content: center;
    line-height: 1;
    transition: transform .2s;
    width: 28px;
}

.site-header nav .nav-contact:hover {
    background: #8044F7;
    color: #FFF;
    text-decoration: none;
    transform: translateY(-2px);
}

.site-header nav .nav-contact:hover .nav-cta-arrow {
    transform: translate(2px, -2px)
}

.site-header nav .nav-contact:focus-visible {
    outline: 3px solid #CDB6FF;
    outline-offset: 5px
}

@media (max-width: 1100px) and (min-width: 901px) {
    .site-header nav {
        gap: 18px
    }

    .site-header nav .nav-contact {
        gap: 15px;
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .site-header nav .nav-contact {
        font-size: 18px;
        margin: 4px 0;
        min-width: 170px;
        padding: 11px 15px 11px 19px;
    }

    .site-header.is-past-hero nav .nav-contact:hover {
        color: #FFF
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header nav .nav-contact, .site-header nav .nav-contact .nav-cta-arrow {
        transition: none
    }

    .site-header nav .nav-contact:hover, .site-header nav .nav-contact:hover .nav-cta-arrow {
        transform: none
    }
}

#local-time {
    font-family: monospace;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    line-height: 1.5;
    min-width: 8ch;
    text-align: center;
    white-space: nowrap
}

.clock-digits {
    display: inline-flex;
    overflow: hidden;
    vertical-align: bottom
}

.clock-digits > span {
    display: inline-block;
    min-width: 1ch
}

.clock-digits > span:nth-child(3n) {
    min-width: .65ch
}

.shuffle-caption {
    font-family: monospace;
    font-size: var(--text-small);
    letter-spacing: .025em;
    line-height: 1.7;
    min-height: 3.4em
}

@media (max-width: 600px) {
    .location-header > span {
        align-items: baseline;
        column-gap: 8px;
        display: flex;
        flex-wrap: wrap;
        row-gap: 4px
    }

    .location-header #local-time {
        margin: 0
    }

    .shuffle-caption {
        max-width: 310px
    }
}

.shuffle-title {
    font-family: monospace;
    font-size: var(--text-small);
    letter-spacing: .035em;
    line-height: 1.65;
    min-height: 1.65em
}

.shuffle-title > [aria-hidden=true] {
    overflow-wrap: normal
}
