.access-page {
    --page-background: var(--color-red-orange);
    --brand-art-color: var(--color-pink);

    color: var(--color-white);
}

.access-container {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.access-container__login {
    position: relative;
    z-index: 1;
    width: min(100% - 3rem, 29rem);
    margin: clamp(3rem, 9vh, 8rem) 0 0 clamp(1.5rem, 10vw, 9rem);
    color: var(--color-white);
}

.access-container__login h1 {
    margin: 0 0 clamp(4rem, 10vh, 8rem);
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.25vw, 3.75rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 0.95;
}

.access-container__login h2,
.access-container__login > p,
#access_code {
    font-family: var(--font-serif);
}

.access-container__login h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 500;
    line-height: 1;
}

.access-container__login > p {
    margin: 0;
    font-size: clamp(1.15rem, 1.5vw, 1.55rem);
    line-height: 1.2;
}

#access-form {
    display: flex;
    width: min(100%, 25rem);
    margin-top: 1.5rem;
    gap: 1rem;
    background: transparent;
}

.access-form__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#access_code {
    min-width: 0;
    flex: 1;
    height: 3.25rem;
    padding: 0.55rem 1rem;
    border: 0;
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-red-orange);
    font-size: 1.2rem;
    font-weight: 700;
}

#access_code::placeholder {
    color: var(--color-red-orange);
    opacity: 1;
}

#access-form:focus-within {
    outline: 2px solid var(--color-white);
    outline-offset: 0.25rem;
}

#access_code:focus,
#access-form button:focus {
    outline: 0;
}

#access-form button {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    min-height: 0;
    padding: 0;
    place-items: center;
    border-radius: 0;
    box-sizing: border-box;
    background: var(--color-red-orange);
    color: var(--color-white);
}

#access-form button:hover {
    background: var(--color-red-orange);
    color: var(--color-white);
}

.access-form__arrow {
    display: grid;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.access-form__arrow--default {
    display: none;
}

#access-form button:hover .access-form__arrow--inverted {
    display: none;
}

#access-form button:hover .access-form__arrow--default {
    display: grid;
}

#error-message {
    margin: 1rem 0 0;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-weight: 700;
}

#loading-message {
    margin: 1rem 0 0;
    color: var(--color-white);
    font-family: var(--font-serif);
}

.access-container__brand {
    position: absolute;
    z-index: 1;
    right: clamp(1.5rem, 6vw, 7rem);
    bottom: clamp(4rem, 14vh, 10rem);
    width: clamp(10rem, 17vw, 18rem);
    height: auto;
    margin: 0;
}

.access-page .site-footer {
    width: min(90%, 72rem);
    padding-top: 0.75rem;
    border-top-color: rgba(255, 255, 255, 0.45);
    color: var(--color-white);
}

.access-page .site-footer a:hover,
.access-page .site-footer a:focus-visible {
    color: var(--color-white);
}

@media (max-width: 42rem) {
    .access-page {
        --brand-art-width: 115vw;
        --brand-art-top: 32vh;
        --brand-art-left: 20vw;
    }

    .access-container__login {
        margin-top: 3rem;
    }

    .access-container__login h1 {
        margin-bottom: 4rem;
    }

    .access-container__brand {
        right: 1.5rem;
        bottom: 4rem;
        width: 10rem;
    }
}
