:root {
    --keyone-cyan: #5de0dc;
    --keyone-ink: #07131d;
    --keyone-muted: #77766a;
}

.keyone-credit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(111, 121, 119, 0.18);
    padding-block: 16px 2px;
    font-size: 12px;
}

.keyone-credit__identity p {
    margin: 0;
}

.keyone-credit__brand {
    color: var(--keyone-ink);
    font-weight: 700;
    letter-spacing: 0.035em;
}

.keyone-credit__services {
    margin-top: 3px !important;
    color: var(--keyone-muted);
}

.keyone-credit__contacts,
.keyone-splash__contacts {
    display: flex;
    align-items: center;
    gap: 8px 18px;
    flex-wrap: wrap;
}

.keyone-credit__contacts a {
    color: var(--keyone-muted);
    text-decoration: none;
    text-underline-offset: 3px;
}

.keyone-credit__contacts a:hover,
.keyone-credit__contacts a:focus-visible {
    color: #168d91;
    text-decoration: underline;
}

.site-footer .keyone-credit__brand {
    color: var(--ivory);
}

.site-footer .keyone-credit__services,
.site-footer .keyone-credit__contacts a {
    color: var(--muted);
}

.site-footer .keyone-credit__contacts a:hover,
.site-footer .keyone-credit__contacts a:focus-visible {
    color: var(--brass-2);
}

.site-footer .keyone-credit {
    border-color: var(--line);
}

.landing__footer {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding-bottom: 20px;
}

.keyone-splash {
    width: min(460px, calc(100% - 28px));
    max-width: none;
    max-height: min(760px, calc(100dvh - 28px));
    overflow: auto;
    padding: 0;
    border: 1px solid rgba(93, 224, 220, 0.28);
    border-radius: 28px;
    color: #f3fbfb;
    background:
        linear-gradient(180deg, rgba(93, 224, 220, 0.10), transparent 32%),
        radial-gradient(ellipse at 50% -10%, rgba(93, 224, 220, 0.22), transparent 55%),
        #07131d;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
    text-align: center;
}

.keyone-splash[open] {
    animation: keyone-splash-in 360ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.keyone-splash.is-closing {
    animation: keyone-splash-out 320ms cubic-bezier(0.4, 0, 0.8, 0.2) both;
}

.keyone-splash::backdrop {
    background: rgba(2, 8, 12, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.keyone-splash__content {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0;
    padding: 34px 26px 24px;
    isolation: isolate;
}

.keyone-splash__glow {
    position: absolute;
    top: -40px;
    inset-inline: 20%;
    height: 160px;
    background: radial-gradient(circle, rgba(93, 224, 220, 0.22), transparent 70%);
    filter: blur(18px);
    z-index: -1;
    pointer-events: none;
}

.keyone-splash__logo {
    display: block;
    width: 108px;
    height: 108px;
    object-fit: cover;
    margin-bottom: 14px;
    border-radius: 24px;
    background: #040b11;
    border: 1px solid rgba(93, 224, 220, 0.22);
    box-shadow: 0 16px 40px -18px rgba(93, 224, 220, 0.45);
}

.keyone-splash__eyebrow {
    margin: 0 0 6px;
    color: #9fdedb;
    font: 600 13px/1.4 "Cairo", "Segoe UI", sans-serif;
}

.keyone-splash__title {
    margin: 0;
    color: #f7fbff;
    font: 700 clamp(28px, 6vw, 34px)/1.1 "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.01em;
}

.keyone-splash__services {
    margin: 10px 0 18px;
    color: #d6e6ea;
    font: 500 15px/1.9 "Cairo", "Segoe UI", sans-serif;
    max-width: 30ch;
}

.keyone-splash__contacts {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.keyone-splash__contacts a {
    color: #e9f8f7;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(93, 224, 220, 0.18);
    border-radius: 999px;
    padding: 8px 12px;
    font: 600 13px/1.2 "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.keyone-splash__contacts a:hover,
.keyone-splash__contacts a:focus-visible {
    color: #fff;
    background: rgba(93, 224, 220, 0.12);
    border-color: rgba(93, 224, 220, 0.4);
    text-decoration: none;
    transform: translateY(-1px);
}

.keyone-splash__continue {
    width: 100%;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 14px;
    color: #041318;
    background: linear-gradient(135deg, #8cf3ec, #5de0dc 45%, #35b8c0);
    box-shadow: 0 14px 30px -16px rgba(93, 224, 220, 0.85);
    font: 700 16px/1.4 "Cairo", "Segoe UI", sans-serif;
    cursor: pointer;
    transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.keyone-splash__continue:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px -16px rgba(93, 224, 220, 0.95);
}

.keyone-splash__continue:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.keyone-splash__auto {
    width: 100%;
    margin-top: 14px;
}

.keyone-splash__progress {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    overflow: hidden;
}

.keyone-splash__progress span {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, #5de0dc, #b6fff8);
    border-radius: inherit;
}

.keyone-splash__hint {
    margin: 8px 0 0;
    color: #9cb4ba;
    font: 500 12px/1.4 "Cairo", "Segoe UI", sans-serif;
}

.keyone-splash__copy {
    margin: 14px 0 0;
    color: #7f98a0;
    font: 500 12px/1.4 "Segoe UI", Arial, sans-serif;
    letter-spacing: .02em;
}

@keyframes keyone-splash-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes keyone-splash-out {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(1.02);
    }
}

body.splash-pending .landing__header,
body.splash-pending .landing__main,
body.splash-pending .landing__footer,
body.splash-pending .site-header,
body.splash-pending .page-shell,
body.splash-pending .site-footer {
    opacity: 0;
}

body.splash-reveal .landing__header,
body.splash-reveal .site-header {
    animation: keyone-page-in 520ms 40ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

body.splash-reveal .landing__main,
body.splash-reveal .page-shell {
    animation: keyone-page-in 620ms 100ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

body.splash-reveal .landing__footer,
body.splash-reveal .site-footer {
    animation: keyone-page-in 520ms 240ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

body.splash-reveal .event__poster {
    animation: poster-in 780ms 120ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

body.splash-reveal .event__eyebrow,
body.splash-reveal .event__details h1,
body.splash-reveal .event__performer-lockup,
body.splash-reveal .event__description,
body.splash-reveal .event__venue,
body.splash-reveal .event__social,
body.splash-reveal .event__facts,
body.splash-reveal .cta {
    animation: keyone-copy-in 500ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

body.splash-reveal .event__eyebrow { animation-delay: 120ms; }
body.splash-reveal .event__details h1 { animation-delay: 170ms; }
body.splash-reveal .event__performer-lockup { animation-delay: 220ms; }
body.splash-reveal .event__description { animation-delay: 280ms; }
body.splash-reveal .event__venue { animation-delay: 340ms; }
body.splash-reveal .event__social { animation-delay: 400ms; }
body.splash-reveal .event__facts { animation-delay: 460ms; }
body.splash-reveal .cta { animation-delay: 540ms; }

@keyframes keyone-page-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes keyone-copy-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 760px) {
    .landing__footer {
        width: min(100% - 40px, 520px);
    }

    .landing__footer .keyone-credit {
        justify-content: center;
        text-align: center;
    }

    .landing__footer .keyone-credit__contacts {
        justify-content: center;
    }

    .keyone-credit__identity {
        flex-basis: 100%;
    }

    .site-footer .keyone-credit__contacts {
        gap: 8px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .keyone-splash[open],
    .keyone-splash.is-closing {
        animation: none;
    }

    body.splash-reveal .landing__header,
    body.splash-reveal .landing__main,
    body.splash-reveal .landing__footer,
    body.splash-reveal .site-header,
    body.splash-reveal .page-shell,
    body.splash-reveal .site-footer,
    body.splash-reveal .event__poster,
    body.splash-reveal .event__eyebrow,
    body.splash-reveal .event__details h1,
    body.splash-reveal .event__performer-lockup,
    body.splash-reveal .event__description,
    body.splash-reveal .event__venue,
    body.splash-reveal .event__social,
    body.splash-reveal .event__facts,
    body.splash-reveal .cta {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .keyone-splash__continue {
        transition: none;
    }
}
