.introhero > img.introhero-bg {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    object-fit: cover;
    will-change: transform;
}

.darkroom {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(12, 13, 16, 0.42);
    -webkit-backdrop-filter: grayscale(0.9) brightness(0.72);
    backdrop-filter: grayscale(0.9) brightness(0.72);
    -webkit-mask-image: radial-gradient(circle var(--dr, 180px) at var(--dx, 50%) var(--dy, 55%),
            transparent 0 52%, black 88%);
    mask-image: radial-gradient(circle var(--dr, 180px) at var(--dx, 50%) var(--dy, 55%),
            transparent 0 52%, black 88%);
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.darkroom.on {
    opacity: 1;
}

.introhero_grad {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(22, 22, 23, .3), rgba(22, 22, 23, 1));
}

.introhero .introhero_word {
    background: none;
    z-index: 3;
    position: relative;
}

.reveal-line {
    overflow: hidden;
}

.reveal-line > .line-inner {
    display: inline-block;
}

.hero-enter .reveal-line > .line-inner {
    animation: heroLineUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-enter .reveal-line:nth-child(2) > .line-inner {
    animation-delay: .18s;
}

@keyframes heroLineUp {
    0% {
        transform: translateY(110%);
        opacity: 0;
        filter: blur(6px);
    }

    99% {
        filter: blur(0);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
        filter: none;
    }
}

#metalLine {
    position: relative;
}

#metal-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, .5));
}

#metalLine.metal-live {
    mix-blend-mode: normal;
}

#metalLine.metal-live > .line-inner {
    color: transparent;
    text-shadow: none;
}

.inspect-box {
    position: absolute;
    border: 1px dashed rgba(190, 195, 202, 0.75);
    background: rgba(200, 205, 212, 0.07);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity .3s cubic-bezier(0.4, 0, 0.2, 1), top .18s cubic-bezier(0.22, 1, 0.36, 1),
        left .18s cubic-bezier(0.22, 1, 0.36, 1), width .18s cubic-bezier(0.22, 1, 0.36, 1),
        height .18s cubic-bezier(0.22, 1, 0.36, 1);
}

.inspect-box.show {
    opacity: 1;
}

.inspect-tag {
    position: absolute;
    top: -1.9em;
    left: -1px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    white-space: nowrap;
    background: #1a1c1e;
    border: 1px solid rgba(190, 195, 202, 0.35);
    color: #CCC;
    padding: 2px 8px;
    border-radius: 4px;
}

.inspect-tag b {
    color: var(--watson_light_blue);
    font-weight: normal;
}

.case_1 {
    position: relative;
}

.case_1 .spot-ring {
    position: absolute;
    inset: 0;
    border-radius: 1em;
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.case_1 .spot-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1em;
    padding: 1px;
    background: radial-gradient(220px circle at var(--sx, 50%) var(--sy, 50%),
            rgba(103, 171, 255, 0.9), rgba(103, 171, 255, 0.08) 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.case_1:hover .spot-ring,
.case_1.near .spot-ring {
    opacity: 1;
}
