body.site-is-locked {
    overflow: hidden;
}

.site-is-locked > .site-header,
.site-is-locked > main,
.site-is-locked > .site-footer {
    pointer-events: none;
    user-select: none;
}

.site-is-locked #cookie-banner {
    display: none !important;
}

.site-gate {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    background: rgba(5, 35, 50, .62);
    backdrop-filter: grayscale(1) blur(5px);
    -webkit-backdrop-filter: grayscale(1) blur(5px);
    transition: opacity 380ms ease, backdrop-filter 380ms ease;
}

.site-gate.is-unlocking {
    opacity: 0;
    backdrop-filter: grayscale(0) blur(0);
    -webkit-backdrop-filter: grayscale(0) blur(0);
    pointer-events: none;
}

.site-gate__card {
    width: min(590px, calc(100vw - 48px));
    min-width: 0;
    max-width: 100%;
    justify-self: center;
    overflow: hidden;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 3px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .5), transparent 34%),
        #fbf8f1;
    box-shadow: 0 30px 90px rgba(0, 18, 29, .3);
    color: #063d59;
}

.site-gate__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(6, 61, 89, .16);
}

.site-gate__brand img {
    width: 174px;
    height: auto;
}

.site-gate__brand span {
    color: rgba(6, 61, 89, .58);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.site-gate__copy {
    padding: clamp(28px, 5vw, 42px) 0 28px;
}

.site-gate__eyebrow {
    margin: 0 0 10px;
    color: #f45124;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.site-gate__copy h1 {
    margin: 0;
    color: #063d59;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.35rem, 8vw, 4rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .98;
}

.site-gate__copy > p:last-child {
    max-width: 48ch;
    margin: 20px 0 0;
    color: #40565f;
    font-size: .98rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.site-gate__form label {
    display: block;
    margin-bottom: 9px;
    color: #063d59;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-gate__field {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 10px;
}

.site-gate__field input,
.site-gate__field button {
    min-height: 54px;
    border-radius: 3px;
    font: inherit;
}

.site-gate__field input {
    width: 100%;
    border: 1px solid rgba(6, 61, 89, .3);
    outline: none;
    background: #fff;
    color: #063d59;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: .35em;
    text-align: center;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-gate__field input:focus {
    border-color: #f45124;
    box-shadow: 0 0 0 3px rgba(244, 81, 36, .15);
}

.site-gate__field button {
    border: 1px solid #f45124;
    background: #f45124;
    color: #fffaf3;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 800;
    transition: background-color 160ms ease, transform 160ms ease;
}

.site-gate__field button:hover {
    background: #dc401a;
    transform: translateY(-1px);
}

.site-gate__field button:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.site-gate__message {
    min-height: 22px;
    margin: 8px 0 0;
    color: #b4361a;
    font-size: .82rem;
}

.site-gate__message.is-success {
    color: #176b54;
}

.site-gate__form.has-error .site-gate__field {
    animation: site-gate-shake 260ms ease-in-out;
}

.site-gate__legal {
    display: flex;
    gap: 18px;
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid rgba(6, 61, 89, .12);
}

.site-gate__legal a {
    color: rgba(6, 61, 89, .66);
    font-size: .74rem;
    text-underline-offset: 3px;
}

@keyframes site-gate-shake {
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 520px) {
    .site-gate {
        place-items: start center;
        padding: 12px;
    }

    .site-gate__card {
        width: calc(100vw - 24px);
        margin: auto 0;
        padding: 25px 21px;
    }

    .site-gate__brand span {
        display: none;
    }

    .site-gate__field {
        grid-template-columns: 1fr;
    }

    .site-gate__field input {
        min-height: 58px;
    }
}
