body {
    font-family: "Mint Grotesk", sans-serif;
}

.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    padding: 4rem 1rem;
}

.hero__background video {
    min-height: 100%;
    min-width: 100%;
    max-width: none;
    object-fit: cover;
    filter: brightness(0.75);
}

.logo {
    width: 66.666667%;
    margin-bottom: 2.5rem;
    opacity: 1;
    transform: unset;
    transition: all 0.5s ease;
}

body:has(.overlay--visible) .logo {
    z-index: 99999;
    opacity: 0;
    transform: translateY(40vh);
}

.watch-teaser__button {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.watch-teaser__button span {
    color: white;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
}

.watch-teaser__button img {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    width: 4rem;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
    transition-duration: 0.5s;
}

.overlay {
    visibility: hidden;
    opacity: 0;
    max-height: 80vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.overlay--visible {
    pointer-events: all;
    visibility: visible;
    opacity: 1;
    max-height: 100vh;
    z-index: 100;
}

.overlay__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay__close img {
    transform: scale(2);
}

#video-overlay__hide-controls {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    width: 300%;
    /* enlarge beyond browser width */
    left: -100%;
    /* center */
    height: 100%;
    overflow: hidden;
    background: black;
}

#video-overlay__hide-controls iframe {
    position: absolute;
    width: 100%;
    height: calc(100vw * 9 / 16);
    top: 50%;
    transform: translateY(-50%);
}

.footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.2em;
    color: rgba(48, 48, 58, 1);
}

.footer a {
    text-decoration: none;
}

.footer > div {
    padding: 1.5rem;
}

.waitlist {
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    width: 100%;
}

.waitlist-wrapper {
    padding: 2.5rem 2.5rem 10rem;
    width: 100%;
    background: #e9eceb;
}

.waitlist .albertine-emblem,
.waitlist .albertine-ingress {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waitlist .albertine-emblem {
    margin: 5rem 0 2.5rem;
}

.waitlist .albertine-ingress {
    margin: 0.5rem 0 5rem;
    font-size: 1.25rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 48rem;
}

.waitlist-form__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 1rem;
}

.waitlist-form__flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.waitlist-form__row > div {
    width: 100%;
}

.waitlist-form label {
    display: none;
}

.waitlist-form .switch {
    position: relative;
    display: inline-block;
    width: 48px;
    min-width: 48px;
    height: 26px;
    min-height: 26px;
}

.waitlist-form .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.waitlist-form .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d7dddb;
    transition: 0.4s;
    border-radius: 22px;
}

.waitlist-form .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

#phone-hint {
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    padding-top: 0.5rem;
    transition: opacity 0.3s ease;
    opacity: 0;
    height: 0;
}

#phone-hint.visible {
    opacity: 1;
    transition: opacity 0.3s ease;
    height: auto;
}

.waitlist-form input:checked + .slider {
    background-color: #30303a;
}

.waitlist-form input:checked + .slider:before {
    transform: translateX(22px);
}

.waitlist-form input:not(input[type="submit"]) {
    width: 100%;
    border-width: 0 0 1px;
    border-color: rgba(48, 48, 58, 1);
    background-color: initial;
    text-align: center;
    line-height: 2;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 0;
}

.waitlist-form input:not(input[type="submit"]):invalid:not(:placeholder-shown) {
    background: rgba(246, 138, 142, 0.25);
}

.waitlist-form--required input:required:placeholder-shown {
    background: rgba(246, 138, 142, 0.25) !important;
}

.waitlist-form input[type="submit"] {
    display: block;
    width: 100%;
    cursor: pointer;
    background: transparent;
    color: black;
    border: 1px solid rgba(48, 48, 58, 1);
    padding: 1rem;
    text-align: center;
    border-width: 1pt;
    max-width: 24rem;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
}

.waitlist-form input[type="submit"]:active:not(:disabled) {
    transform: translateY(1px);
}

.waitlist-form input[type="submit"]:disabled {
    cursor: default;
    opacity: 0.5;
}

.waitlist .recommendation-toggle,
.waitlist .terms {
    font-size: 0.875rem;
    color: rgb(48, 48, 58);
}

.waitlist .terms {
    opacity: 0.75;
}

.waitlist-form:not(:has(input:checked)) .recommendation {
    display: none;
}

.waitlist:not(.waitlist-completed) .waitlist-form-completed {
    display: none;
}

.waitlist.waitlist-completed .waitlist-form {
    display: none;
}

.waitlist-form-completed {
    display: flex;
    justify-content: center;
    padding: 10rem 0;
    font-size: 1.25rem;
    text-align: center;
}

noscript {
    color: rgba(202, 90, 109, 1);
}

@media (max-width: 768px) {
    .waitlist-wrapper {
        padding: 2.5rem 2rem 10rem;
    }
}

@media (max-width: 640px) {
    .waitlist-wrapper {
        padding: 2.5rem 1.25rem 10rem;
    }
    .waitlist-form__row {
        flex-direction: column;
        gap: 2rem;
    }
    .footer {
        flex-direction: column;
        font-size: 0.8rem;
    }
    .footer > div {
        padding: 1.5rem 0;
    }
}
