.ls-intro {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: center;
    overflow: hidden;
    background: radial-gradient(1000px 700px at 50% 40%, #2a1c14 0%, #140f12 55%, #0b0809 100%);
    color: var(--ls-bone, #faf8f2);
}

.ls-intro[hidden] { display: none; }

.ls-intro.is-leaving {
    animation: lsIntroOut 560ms var(--ease-spot) both;
}

body.spot-intro-locked { overflow: hidden; }

.ls-intro-dash {
    position: relative;
    display: grid;
    justify-items: center;
    width: min(92vw, 720px);
    transition: opacity 320ms ease, transform 320ms var(--ease-spot);
}

.ls-intro-dash.is-gone {
    position: absolute;
    opacity: 0;
    transform: translateY(-24px);
    pointer-events: none;
}

.ls-intro-track {
    position: absolute;
    inset: 0 0 auto 0;
    top: 42%;
    height: 4px;
    pointer-events: none;
}

.ls-intro-track i {
    position: absolute;
    left: -30%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--ls-primary-high, #fdb32b));
    opacity: 0;
    animation: lsWhoosh 620ms var(--ease-spot) infinite;
}

.ls-intro-track i:nth-child(1) { top: -34px; width: 26%; animation-delay: 0ms; }
.ls-intro-track i:nth-child(2) { top: -12px; width: 38%; animation-delay: 90ms; }
.ls-intro-track i:nth-child(3) { top: 10px;  width: 30%; animation-delay: 40ms; }
.ls-intro-track i:nth-child(4) { top: 32px;  width: 42%; animation-delay: 140ms; }
.ls-intro-track i:nth-child(5) { top: 54px;  width: 24%; animation-delay: 200ms; }

.ls-intro-runner {
    position: relative;
    z-index: 2;
    width: clamp(150px, 24vw, 230px);
    height: auto;
    filter: drop-shadow(0 24px 40px rgb(0 0 0 / 60%));
    animation: lsDashAcross 1500ms cubic-bezier(0.32, 0, 0.2, 1) both;
}

.ls-intro-bar {
    position: relative;
    z-index: 2;
    display: block;
    width: min(60vw, 220px);
    height: 4px;
    margin-top: 1.6rem;
    border-radius: 999px;
    background: rgb(250 248 242 / 16%);
    overflow: hidden;
}

.ls-intro-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ls-primary-deep, #b8530b), var(--ls-primary-high, #fdb32b));
    transform-origin: left;
    animation: lsBar 1500ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.ls-welcome {
    position: relative;
    display: grid;
    place-items: center;
    width: min(96vw, 980px);
    padding: 1rem;
}

.ls-welcome[hidden] { display: none; }

.ls-welcome-glow {
    position: absolute;
    width: min(120%, 900px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(242 131 6 / 24%), transparent 62%);
    animation: lsPulse 5s ease-in-out infinite;
    pointer-events: none;
}

.ls-welcome-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.4rem);
    width: 100%;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border-radius: clamp(20px, 3vw, 30px);
    background: linear-gradient(160deg, rgb(63 50 47 / 72%), rgb(20 15 18 / 88%));
    border: 1px solid rgb(250 248 242 / 12%);
    box-shadow: 0 40px 90px rgb(0 0 0 / 55%);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(26px) scale(0.97);
    transition: opacity 420ms ease, transform 520ms var(--ease-pounce);
}

.ls-intro.is-welcome-in .ls-welcome-card {
    opacity: 1;
    transform: none;
}

.ls-welcome-spot {
    width: 100%;
    max-width: 320px;
    height: auto;
    justify-self: center;
    filter: drop-shadow(0 26px 44px rgb(0 0 0 / 55%));
    animation: lsFloat 6s ease-in-out infinite;
}

.ls-welcome-body {
    display: grid;
    justify-items: start;
    gap: 0.75rem;
}

.ls-welcome-bubble {
    position: relative;
    margin: 0;
    padding: 1rem 1.25rem;
    border-radius: 20px 20px 20px 6px;
    background: var(--ls-bone, #faf8f2);
    color: var(--ls-ink, #140f12);
    box-shadow: 0 16px 34px rgb(0 0 0 / 34%);
}

.ls-welcome-bubble strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.35rem, 3.4vw, 1.9rem);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.ls-welcome-bubble span {
    display: block;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #4a4240;
}

.ls-welcome-logo {
    width: clamp(150px, 22vw, 200px);
    height: auto;
}

.ls-welcome-payoff {
    margin: -0.35rem 0 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ls-primary-high, #fdb32b);
}

.ls-welcome-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-welcome-points li {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgb(250 248 242 / 8%);
    border: 1px solid rgb(250 248 242 / 14%);
    font-size: 0.78rem;
    font-weight: 700;
    color: rgb(250 248 242 / 82%);
}

.ls-welcome-enter {
    margin-top: 0.35rem;
}

.ls-welcome-skip {
    padding: 0;
    border: 0;
    background: none;
    color: rgb(250 248 242 / 52%);
    font: inherit;
    font-size: 0.84rem;
    text-decoration: underline;
    cursor: pointer;
}

.ls-welcome-skip:hover { color: var(--ls-primary-high, #fdb32b); }

body.spot-intro-active .site-header { animation: lsRevealDown 560ms var(--ease-spot) 11000ms both; }
body.spot-intro-active .topbar      { animation: lsRevealDown 480ms var(--ease-spot) 11000ms both; }
body.spot-intro-active #site-main   { animation: lsRevealUp 700ms var(--ease-spot) 11080ms both; }
body.spot-intro-active .site-footer { animation: lsRevealUp 700ms var(--ease-spot) 11160ms both; }

body.spot-intro-done .site-header { animation: lsRevealDown 560ms var(--ease-spot) both; }
body.spot-intro-done .topbar      { animation: lsRevealDown 480ms var(--ease-spot) both; }
body.spot-intro-done #site-main   { animation: lsRevealUp 700ms var(--ease-spot) 80ms both; }
body.spot-intro-done .site-footer { animation: lsRevealUp 700ms var(--ease-spot) 160ms both; }

@keyframes lsDashAcross {
    0%   { opacity: 0; transform: translateX(-58vw) scale(0.7) rotate(-8deg); }
    35%  { opacity: 1; }
    62%  { transform: translateX(0) scale(1.04) rotate(2deg); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); }
}

@keyframes lsWhoosh {
    0%   { opacity: 0; transform: translateX(0); }
    30%  { opacity: 0.9; }
    100% { opacity: 0; transform: translateX(420%); }
}

@keyframes lsBar {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes lsIntroOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(1.06); visibility: hidden; }
}

@keyframes lsRevealDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: none; }
}

@keyframes lsRevealUp {
    from { opacity: 0; transform: translateY(22px) scale(0.995); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
    .ls-welcome-card {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        justify-items: center;
    }

    .ls-welcome-body { justify-items: center; }
    .ls-welcome-spot { max-width: 210px; }
    .ls-welcome-points { justify-content: center; }
    .ls-welcome-bubble { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ls-intro { display: none !important; }
}
