/* Launch intro ------------------------------------------------------------- */

.launch {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    background: radial-gradient(120% 140% at 50% 42%, #4a1a1f 0%, #3a1418 70%);
    overflow: hidden;
}

html.has-launch .launch {
    display: flex;
}

html.has-launch,
html.has-launch body {
    overflow: hidden;
}

.launch__vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 120% at 50% 50%, transparent 40%, rgba(0, 0, 0, .35) 100%);
}

.launch__logo {
    position: relative;
    z-index: 1;
    width: min(78vw, 640px);
    opacity: 0;
}

.launch.is-armed .launch__logo {
    opacity: 1;
}

@media (min-width: 900px) {
    .launch__logo {
        width: min(36vw, 460px);
    }
}

.launch__logo svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.launch #outlinePath {
    fill: none;
    stroke: #e8d7bd;
    stroke-width: 26;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.launch #fillPath {
    fill: #e8d7bd;
    stroke: none;
    opacity: 0;
}

.launch #penTip {
    fill: #e8d7bd;
    filter: blur(4px);
    opacity: 0;
}

.launch__tag {
    position: absolute;
    bottom: 18%;
    left: 50%;
    z-index: 1;
    margin: 0;
    transform: translateX(-50%);
    font-family: var(--sans);
    font-size: clamp(10px, .9vw, 13px);
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #e8d7bd;
    opacity: 0;
}

.launch__skip {
    position: absolute;
    bottom: max(6%, calc(env(safe-area-inset-bottom) + 16px));
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    background: transparent;
    border: 1px solid #e8d7bd66;
    color: #e8d7bd66;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    opacity: 0;
    animation: launchSkipIn .5s ease 1s forwards;
    transition: color .25s ease, border-color .25s ease;
}

@keyframes launchSkipIn {
    to { opacity: 1; }
}

.launch__skip:hover {
    color: #e8d7bd;
    border-color: #e8d7bd;
}

@media (prefers-reduced-motion: reduce) {
    .launch #outlinePath { stroke-dashoffset: 0 !important; }
}
